enemy walking

Post your scripting questions / solutions here

Moderator: Moderators

Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

enemy walking

Post by Lone_Rebel »

Hey I have tried the AI Patroll tutorial a few times and for some reason it doesnt want to work for me, I have followed it exactly. Is there maybe something wrong with the tutorial that anyone saw? I seem to have trouble in the ones that have Triggers involved, triggers dont like me. :cry:
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

You've done everything right if you've followed the tuts

Go into Radiant > View > Animate Models (Make sure thats checked off)

I'm pretty sure that'll do the trick.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

hmm still doesn't work
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

Hmmmm... The only thing I could tell you is too check the spelling make sure your targetnames are the same in radiant and in the script.

Also try double checking with the tuts.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

do you have any animations at all? do you have a test_ prefix to your map name?
hope this helps, prob not cos it's all foreign 2 me :-/
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

nuggets wrote:do you have any animations at all? do you have a test_ prefix to your map name?
Oh yeah you should start it with test_. Or you'll need to precache all that good stuff. See I think jv_map's got a good tut on that...here it is
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

whew about time, site won't load right for me for some reason. Anyway I have the test_ prefix on my map. When the map loads up I run through the trigger (I can't miss it because it is a big huge brush right infront of the player start). The names and everything are correct, and targets are right and everything, but when I run through the guy just stands there and looks around like a baboon.
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

Well the link works OK...
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

hmm well before I was trying to put it into my own map, but I started out fresh with a brand new map, did everything exact, and everything in the map works like in the tutorials IE there is music and when u kill german you win, but he still will not follow the path. this is really getting on my nerves. can I send the Map and Src to someone and see if I am doing something wrong? (oh yeah the map is for MOHAA, not Spearhead).
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

When you add your ai do you press i and ask for him to be on patrol or a runner?
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

yeah
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
Lone_Rebel
Sergeant
Posts: 72
Joined: Sat Jul 05, 2003 11:39 pm
Location: USA
Contact:

Post by Lone_Rebel »

umm so will anybody let me send you the map and src to see if anything is wrong? anybody?
It's not whether you win or lose... It is how many enemies you take down with you that counts.
Image

Lone's MOH Maps
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

e-mails below :D thought i work long hours, but no1 else has said yes (yet)
hope this helps, prob not cos it's all foreign 2 me :-/
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

You can email me saying how big is your file and I'll give you an email address that supports the map file.

mrkrane@hotmail.com
Image
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

oh what move command do you use? walkto or moveto?

Code: Select all

$ai walkto $point
should od it or is it

Code: Select all

$ai moveto $point
Though thats for moving objects I bielieve.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Post Reply