
Schmidtty
Joined: Jul 28, 2010
pika pika
|
Posted: Jul 29, 2010 02:08 PM
Msg. 1 of 7
Alright, I made a script for my map. I made sure there were no open parenthesis, errors, whatever. Then I saved it in the scripts folder for my map. But when I go into sapien to compile the scripts, it says "scripts successfully compiled", so I save and compile the map. When I go into Halo to play it, none of the functions from the script were working. I went into guerrilla and checked the .scenario file, the scripts section was completely empty. So I re-opened the script, checked it, everything was fine. Then I recompiled it in sapien, same thing happened.
What do I do?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 29, 2010 02:24 PM
Msg. 2 of 7
Give the exact location of your .scenario file, and your .hsc file.
|
|
|

Schmidtty
Joined: Jul 28, 2010
pika pika
|
Posted: Jul 29, 2010 03:24 PM
Msg. 3 of 7
The scenario file is in C:\Program Files\Microsoft Games\Halo Custom Edition\tags\levels\test\battlefield\battlefield.scenario
The hsc file is in C:\Program Files\Microsoft Games\Halo Custom Edition\data\levels\test\battlefield\scripts\battlefield.hsc
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 29, 2010 03:57 PM
Msg. 4 of 7
Seems to check out. In the .hsc file, add something syntactically incorrect, like spaz out on the keyboard. So if your script was like:
(script startup hello_world (sv_say "Hello World!") )
Edit it so its like
(script startup hello_world (sv_say "Hello World!") )
asd;kglhdsa;khglsda;ghaslspazattackonkeyboardasdf;lkh
And save. Try to compile. If it compiles correctly, something went wrong. Otherwise, if it fails, paste your script here and allow us to examine it to ensure that it's correct.
|
|
|

Schmidtty
Joined: Jul 28, 2010
pika pika
|
Posted: Jul 29, 2010 04:04 PM
Msg. 5 of 7
I've tried all that. It happens with every script I write, no matter where its placed, what the script says, or even the map. I went into sapien and clicked export script names, it said "Whoops, Couldn't export scenario script syntax data" But they still compile 'correctly.'
I've already backed up my tags and everything then reinstalled the HEK, still nothing.
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jul 29, 2010 06:36 PM
Msg. 6 of 7
You need to open the scenario with kornman (modded guerilla) and add a new Source File. Name the source file the name of your script. Then go into your map with sapien and compile scripts.
|
|
|

Schmidtty
Joined: Jul 28, 2010
pika pika
|
Posted: Jul 29, 2010 08:25 PM
Msg. 7 of 7
Alright. So, deadlyfighter1000's idea helped me figure it out. When I make the source file in kornman, I copied and pasted the contents of the .hsc file into the box in the source file section. I didnt bother to compile in sapien, so I just compiled the map in tool. That did the trick. :D Edited by Schmidtty on Jul 29, 2010 at 08:26 PM Edited by Schmidtty on Jul 29, 2010 at 08:46 PM
|
|
|