View Full Version : Making a marching army Stormtroopers !!Is this possible

06-14-2002, 09:54 PM
What i want to do is make a squad of 16 stormtroopers that walk in scripted formation in a strait line. I now that i'm just beginning to understand scripting on the quake 3 engine but if its possible , i woud want to find that out.
if some of you guys coud give me some tips like how spawning enemy's work and how you coud make npc's walk in scripted lines before they see info_player ( kyle ) and what the best tool is to make these scripts.


06-14-2002, 09:59 PM
number 1) I wouldn't doubt it to be possible just takes time to complete.

number 2) you need BeHavED for JK2. It's part of the second SDK release.

number 3) I'm just getting into scripting too so maybe someone more experienced here can help you better than I can.... (Yells for XCom to get his ass in here)


06-14-2002, 10:03 PM
well, i think that all you have to do is find a tutorial or thread on how to make waypoints for the npc's to follow....
I read this thread a few weeks ago on here and thought of using it to make two stortroopers walk a path infront of the outer door to the swamp. i'm sure it would work with 16.......

just weed through past posts and you'll find a few

06-14-2002, 10:10 PM
I did that already a while ago, becease i diddent whant you guys to be botherd by these beginner quastions.

this is for xcom : hey xcom ben jij nederlands of zo, want jouw personal server is op planet.nl. best geinig dat ook nederlanders vet goed zijn in radiant en quake stuff.

06-14-2002, 11:49 PM
Well, my first reply would have been: "Yeah, sure, you can make them march. No problem." But to be sure, I went to experiment with some scripts and I must say that the results are rather disappointing. Basically, I tried to make 10 npcs to walk in a neat formation over 4 navgoals (kinda square patrol route). The problem is keeping the critters in formation. If you put 10 NPCs like this in one column:

and assign the same patrolling script, NPC #5 won't budge until NPC #4 starts and the whole point is to make the move/start moving simultaniously. This is obviously caused by the fact that they are too close to each other. Putting them at greater distance destroys the look of solid marching column. Basicly, doing it this way will result in unorganized crowd of walking NPCs who will sometimes get stuck. Nothing like marching. :( (This may however work for 2/3 NPCs but not 10+)

Also tried slightly different approach. I made NPC #1 the leader of NPC #2, NPC #2 the leader of NPC #3 and so on. I only made NPC #1 run patrolling script hoping that the rest will follow. Well, that worked but only for the first 3 NPC's. Other 7 NPCs were just standing still. I am not sure yet why this doesn't work. I hope I did something wrong otherwise it seems like there is no way to do it.

Originally posted by ape2man

this is for xcom : hey xcom ben jij nederlands of zo

ja :)