PDA

View Full Version : problem with AI marching script


The Old Man
2002-08-31, 23:31
Author Message
SWEFighter



Joined: 06 Aug 2002
Posts: 3

Posted: 06 Aug 2002 04:13 am Post subject: problem with AI marching script

--------------------------------------------------------------------------------

Hi!
I`m new to mapping and working with GTKRadiant 1.2.9. I have begun to build a SPmap and it´s time to put in some Bots.
I has followed the tutorials "AI Marching script" and "How to make aas-files" but got a Error when I try to load the map.

First I put in AI markers and a AI soldier, compiled map thru GTKRadiant (BSP, -vis- light), then I produced a AI-file as in the tutorial (with no other content). After that I produced the aas-files as the other tutorial.
No problem so far.
Later I loaded Wolfenstein SP, opened the console and wrote:
/sv_pure 0
\spdevmap nicketest (which is my name of the map)

after that the screens turns to show the OSA Briefing symbol and the loading bar. Then - this error message shows up:

Error:
AIcast_ScriptParse(), error
(line 32): ´]´expected, end of
script found.

I have redone the whole process from inserting the AI-markers and so on, but the same error are showned again.
I would be very thankfull if someone can help me, my strong side is design, not scripting.

Thanks!


Back to top


Muffinman



Joined: 04 Aug 2002
Posts: 42
Location: Germany
Posted: 06 Aug 2002 04:21 am Post subject:

--------------------------------------------------------------------------------

well i never did sp-mapping but from the error message i'd say you left some "[" out.
AIcast_ScriptParse(), error
(line 32): ´]´expected, end of
script found.

in line 32 the script ends because of some wrong spelling, without seeing the script i can't tell more now

Back to top


eyeronik



Joined: 01 Aug 2002
Posts: 75
Location: uk
Posted: 06 Aug 2002 05:54 am Post subject:

--------------------------------------------------------------------------------

you dont need to type sv_pure for single player maps, single player wolf isnt a server.

Also compare your script to the one provided and see where your differs, make sure oyou have renamed the aas files and make sure there in the right folders. Im gussing like a few other people you have renamed the points or the soldier so if so check that too if you did.

http://www.fileplanet.com/dl/dl.asp?/planetwolfenstein/surface/aitest_all.zip

Back to top


SWEFighter



Joined: 06 Aug 2002
Posts: 3

Posted: 07 Aug 2002 04:21 am Post subject: Success!!

--------------------------------------------------------------------------------

Yeehaw! I got the script to work now boys!
I downloaded Eyeroniks ai-file included in the script-package, opened it up, renamed it for my purpose, and then It all just worked. I don´t know what troubled before, but..well it´s working now anyway.

Thanks for your comments.
/SWEFighter