Page 1 of 1
little script not quite right
Posted: Mon Nov 24, 2003 5:14 am
by small_sumo
Here it is,
main:
level waittill spawn
thread spawnguy
end
spawnguy:
local.dude = spawn "human/dday_29th_private.tik" origin$whatever.origin targetname "mysoldier"
while (IsAlive local.dude)
waitframe
//$mysoldier runto spot
wait 2
goto spawnguy
end
Thanks
Posted: Mon Nov 24, 2003 5:36 am
by bdbodger
Try this
local.dude = spawn human/dday_29th_private.tik "origin" $whatever.origin "targetname" "mysoldier"
or
local.dude = spawn human/dday_29th_private.tik "targetname" "mysoldier"
local.dude.origin = $whatever.origin
Posted: Mon Nov 24, 2003 7:41 am
by small_sumo
Ok I got it to this point working quite well. Its kind of bots but they might have higher performance because they should have less calculations to do, anyway I will do some tests. I wish I could upload the file like you can at tmt, its hell funny to watch. To make it yourself you just need two script origins named whatever and whatever2 and a pathnode named spot. Very funny indeed.
main:
level waittill spawn
thread spawnbaddie
thread spawngoodie
end
spawngoodie:
wait 1
local.dude = spawn human/dday_29th_private.tik "origin" $whatever.origin "targetname" "mysoldier"
$mysoldier runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawngoodie
end
spawnbaddie:
wait 1
local.dude = spawn human/german_wehrmact_soldier.tik "origin" $whatever2.origin "targetname" "mysoldier2"
$mysoldier2 runto spot
//$mysoldier takedamage
while (IsAlive local.dude)
waitframe
wait 2
goto spawnbaddie
end
Posted: Mon Nov 24, 2003 3:07 pm
by small_sumo
I might be speeking too soon but it seams to me I have just made dm bots.

Posted: Mon Nov 24, 2003 3:49 pm
by bdbodger
As long as you have pathnodes ai work in dm but they lack purpose JV's bot script gives them purpose they go for the objectives and set bombs and I think he has given them other behavours as well he is able to control them somewhat I think I read he has made them more aggressive etc .
Posted: Tue Nov 25, 2003 4:54 am
by small_sumo
These are shame compared to JV's bots but they could work in conjunction with his. Could be good for dm dudes. I hate dm and team dm play.