Search found 105 matches

by crazyfrag
Thu Jul 30, 2009 7:05 am
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

try this: tname = "set1_allies_8" -- targetname of spawn et_respawn() -- pseudo code { setspwn (3, tname) } function setspwn (point, name) for entnum = 64, 1021 do if et.gentity_get(entnum, "targetname"&am...
by crazyfrag
Sun Jul 26, 2009 4:47 am
Forum: ET Modding
Topic: Mapping: g_gametype error
Replies: 3
Views: 27982

Look at your server.cfg, you should find there // MAP ROTATION exec objectivecycle.cfg //exec lmscycle.cfg ... These files are map rotations configs. In objectivecycle.cfg you have g_gametype set to 2. You have 2 sollutions: A : edit objectivecycle.cfg, replace "set g_gametype 2" to "...
by crazyfrag
Wed Jul 22, 2009 9:50 am
Forum: ET Modding
Topic: Mapping: g_gametype error
Replies: 3
Views: 27982

Mapping: g_gametype error

Well i try to use karsiah and warbell in lms mode but everytime map starts im getting this error.. etpro: g_gametype server CVAR violation - [2] should be [5] Invalid gametype was specified, Restarting well i tried to change .arena file but nothing happens.. i...
by crazyfrag
Thu Jul 16, 2009 1:55 pm
Forum: ET Pro
Topic: Request for special licensing terms
Replies: 43
Views: 516449

foxdie wrote:
crazyfrag wrote: would be nice to get more acces with lua to the system
Like?
http://wolfwiki.anime.net/index.php/Talk:Lua_Mod_API
and maybe the reviveentity function
by crazyfrag
Thu Jul 16, 2009 3:15 am
Forum: ET Pro
Topic: Request for special licensing terms
Replies: 43
Views: 516449

oh man just give out the source code..or continue it (or give it to someone u trust and he continuese it e.g reyalp and luke4ward) there ist no reason for not doining it.. all modes source codes are availiable only etpro jumpes out of the row... and etpro is a good mod etpub and the others suck quit...
by crazyfrag
Thu Jul 16, 2009 3:10 am
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

Luk4ward wrote:You can spawn at default spawns and move a player after respawn to whatver u want location. This is tricky but works.
u`re using et.gspawn ?
u have a code for this?

i checked etsource and tryied to rebuild reviveentity(ent, ent) but its not working imo...
by crazyfrag
Thu Jun 25, 2009 10:26 am
Forum: ET Modding
Topic: renam action
Replies: 3
Views: 15309

Code: Select all

"\"^3\"@+"\^1\"%w+"
is this correct (sry im not that lua guru) :S
by crazyfrag
Thu Jun 25, 2009 8:47 am
Forum: ET Modding
Topic: renam action
Replies: 3
Views: 15309

renam action

function RenameUser(clientNum, newname) local userinfo = et.trap_GetUserinfo(clientNum) userinfo = et.Info_SetValueForKey(userinfo, "name", newname) local name = string.gsub(userinfo, "^3@+^1%w+", "") et.t...
by crazyfrag
Sun Jun 21, 2009 2:52 am
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

i'm actually curious on that one too... haven't looked yet, but just so I have a place to look, how did you do it. maybe its not that what u want... i do this but its a bit a mess but for what i want it works function et_RunFrame( levelTime ) for j = 0, (mclients - 1&#41...
by crazyfrag
Wed Jun 17, 2009 10:15 am
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

Re: spawning players

crazyfrag wrote:

2nd..

is it possible to detect who did dmg with what wapon on a person ( exactly iw ant to detect falling dmg)
ok did it
by crazyfrag
Mon Jun 15, 2009 10:41 pm
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

Re: spawning players

is it possible to spawn players outside of theire spawntime via lua? cause setting hp will bug the players... and reviving is not possible by server... et.GSpawn ? hmn... any clues? someone has a code how to revive dead persons? 2nd.. is it possible to detect who did dmg with what wapon on a person...
by crazyfrag
Wed Jun 10, 2009 7:45 am
Forum: ET Modding
Topic: Players Health
Replies: 6
Views: 23452

increase max hp:

Code: Select all

function et_ClientSpawn(cno,revived)
	et.gentity_set(cno, "ps.stats", 4,130)	-- 130 =maxhp
end
by crazyfrag
Tue Jun 09, 2009 8:15 am
Forum: ET Modding
Topic: spawning players
Replies: 10
Views: 93518

spawning players

is it possible to spawn players outside of theire spawntime via lua? cause setting hp will bug the players... and reviving is not possible by server... et.GSpawn ? 2nd.. is it possible to detect who did dmg with what wapon on a person ( exactly iw ant to detect falling dmg) and 3rd: can i godmode so...
by crazyfrag
Wed Jun 03, 2009 12:30 pm
Forum: ET Modding
Topic: random script
Replies: 6
Views: 28872

?? u mean for 16 slot server


function randomslot(slotinuse)
slots= tonumber(et.trap_Cvar_Get( sv_maxclients) - 1)

slotinuse = math.random(0,slots)
if not et.gentity_get(slotinuse,"inuse") then
slotinuse = slotinuse + 1

return slotinuse
end
end
by crazyfrag
Wed Jun 03, 2009 12:13 pm
Forum: ET Modding
Topic: random script
Replies: 6
Views: 28872

??