AI

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Jimi

AI

Post by Jimi »

hey all :roll: ,
my ai wont work! iv made a script which says exec global/ai.scr
but the german guy just stands there when he sees me :x . what am i doin rong :( ?
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

Have u looked at the ai tut in our tutorial section ??
Admin
Image

.map Forums

Truth and Honor.
Guest

Post by Guest »

yeh he still just stands there. when u get near him u lose 10 health but u cant actually see him hitting u...if that makes sense. how do i get him runnin around??
tstrait72
Second Lieutenant
Posts: 154
Joined: Tue Jun 04, 2002 1:25 am
Location: York, PA U.S.A.
Contact:

Post by tstrait72 »

maybe some of your key/values are wrong/mistyped?
Toby, or not Toby, that is the question...

Staff Member
MoH Design
Jimi
Private
Posts: 5
Joined: Sun Jun 30, 2002 12:31 pm
Location: Uk

thanks

Post by Jimi »

cheers man...but i wouldnt know if the key values were wrong :oops:
Jimi Hendrix kicks arse!!!!
Jesusiscoming203
Private
Posts: 6
Joined: Sat Aug 10, 2002 2:04 am
Contact:

Post by Jesusiscoming203 »

I had the same thing on my map. the german didn't move........... but the ai was in the script.
I got entdefs in the main dir. what else do i need to do. Maybe i haven't done something.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Test

Post by tltrude »

Someone once said that your map has to be named "test" something for AI to work. Search for "card game" in this forum and you'll see what was written.
Tom Trude,

Image
Jesusiscoming203
Private
Posts: 6
Joined: Sat Aug 10, 2002 2:04 am
Contact:

Post by Jesusiscoming203 »

I started naming my files 'test_' when I realised my sound didn't work-I couldn't hear a thing!!! (I was checking my headphones!!!)
I got that fixed, but this one has me stumped! At least until I go through an utter thorough problem solving procedure, which might take a while! I placed a file Wombat made called new_generic_human.tik in the mohaa/mainmodels/human/ directory. So far I think I have everything right. The AI now shoots at me (with a globalai script) and moves to shoot (animated?-I guess). They didn't do this before I knew the 'globalai' script mechanism. Now, maybe it is the 'patrol' issue that I have to work on.
I'll try renaming Wombat's file to test_patrol and see if that works. If anyone has any ideas or anything they knew that worked for them please post everything you know/did!! Thankyou!
Post Reply