A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »script problem

Author Topic: script problem (4 messages, Page 1 of 1)
Moderators: Dennis

nathaninthailand
Joined: Nov 14, 2015

I like carbines. Too much probably.


Posted: Aug 11, 2016 01:10 PM    Msg. 1 of 4       
Okay I used this script generated for me by EHS v2.

(script startup trig_vehi
(begin
(sleep_until (volume_test_objects test (players)) 15)
(object_create v1)
(sv_say "I live!")
)
)

I have the trigger area properly labeled and the vehicle also labeled properly.
When I try to compile the map, it returns the following.

Couldn't read map file './toolbeta.map'
WARNING: 1 clusters in structure_bsp levels\spider_canyon\spider_canyon have no background sound or sound environment.
recompiling scripts after scenarios were merged.
i expected (script <type> <name> <expression(s)>): (script startup)
### FAILED TO COMPILE SCRIPTS FOR SCENARIO.

Cache pack file bitmaps hits: 0 for 0.00M
Cache pack file bitmaps adds/misses: 0 for 0.00M
Cache pack file sounds hits: 0 for 0.00M
Cache pack file sounds adds/misses: 0 for 0.00M
Cache pack file loc hits: 0 for 0.00M
Cache pack file loc adds/misses: 0 for 0.00M

Help?


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Aug 11, 2016 03:54 PM    Msg. 2 of 4       
Quote: --- Original message by: nathaninthailand
i expected (script <type> <name> <expression(s)>): (script startup)

Is the script you posted above the ONLY script? Because this here says that its encountered something thats definitely not part of the script you showed us; it says it encountered a script without a name, and without contents (what its upset about is the lack of a name).

Check your scripts folder for any other HSC files you might have there, and make sure you don't have any other random garbage in your hsc file.


nathaninthailand
Joined: Nov 14, 2015

I like carbines. Too much probably.


Posted: Aug 11, 2016 04:03 PM    Msg. 3 of 4       
Its the only script.
This is my first time working with scripts.

Edit: Just thought of something.
Does the file name have to match a name referenced in the script?
Edited by nathaninthailand on Aug 11, 2016 at 06:20 PM


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Aug 11, 2016 11:08 PM    Msg. 4 of 4       
The name does not have to match; a single hsc file can hold a multitude of actual scripts. What does it say when you try to compile it in sapien (like you're meant too; the only time tool tries to compile, is if it has corrupt scripts, from someone doing it incorrectly in sapien, and I do not even know if it reads the actual scripts when doing that, or just the invalid data it already loaded in sapien)

 

 
Previous Older Thread    Next newer Thread







Time: Wed April 24, 2019 1:07 AM 93 ms.
A Halo Maps Website