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 »i expected a script or variable definition.: ÿþ(

Author Topic: i expected a script or variable definition.: ÿþ( (7 messages, Page 1 of 1)
Moderators: Dennis

MatthewDratt
Joined: Sep 11, 2010

TAKEDOWN IS OUT MattDratt.com


Posted: Oct 31, 2010 09:52 PM    Msg. 1 of 7       
10.31.10 21:51:18 sapien pc 01.00.00.0609 ----------------------------------------------
10.31.10 21:51:18 reference function: _write_to_error_file
10.31.10 21:51:18 reference address: 401b13
10.31.10 21:51:18 Couldn't read map file './sapienbeta.map'
10.31.10 21:51:19 CreateDevice succeeded with refresh rate = 0
10.31.10 21:51:19 DirectInput: 'Acquire (keyboard)' returned (DIERR_OTHERAPPHASPRIO#-2147024891)
10.31.10 21:51:19 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
10.31.10 21:51:20 Increasing sound decompression buffer size to 1048576 bytes
10.31.10 21:51:24 WARNING: 1 clusters in structure_bsp levels\d40\d40_space have no background sound or sound environment.
10.31.10 21:51:24 cinematics\effects\teleportation\teleportation: this is not a reference to a effect tag.
10.31.10 21:51:25 local player 0, weapon (0x0), deleted unexpectedly
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(
10.31.10 21:51:31 recompiling scripts after scenarios were merged.
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Oct 31, 2010 09:56 PM    Msg. 2 of 7       
When i get that (something like that) it means there is one or more too many parentheses. As for the yb, script error?


DA_Ender
Joined: Oct 22, 2010

(ÐÄ)€ÑÐËR †h€ GËÑØÇÏÐDÊ


Posted: Oct 31, 2010 11:51 PM    Msg. 3 of 7       
Quote: --- Original message by: MatthewDratt
10.31.10 21:51:18 sapien pc 01.00.00.0609 ----------------------------------------------
10.31.10 21:51:18 reference function: _write_to_error_file
10.31.10 21:51:18 reference address: 401b13
10.31.10 21:51:18 Couldn't read map file './sapienbeta.map'
10.31.10 21:51:19 CreateDevice succeeded with refresh rate = 0
10.31.10 21:51:19 DirectInput: 'Acquire (keyboard)' returned (DIERR_OTHERAPPHASPRIO#-2147024891)
10.31.10 21:51:19 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
10.31.10 21:51:20 Increasing sound decompression buffer size to 1048576 bytes
10.31.10 21:51:24 WARNING: 1 clusters in structure_bsp levels\d40\d40_space have no background sound or sound environment.
10.31.10 21:51:24 cinematics\effects\teleportation\teleportation: this is not a reference to a effect tag.
10.31.10 21:51:25 local player 0, weapon (0x0), deleted unexpectedly
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(
10.31.10 21:51:31 recompiling scripts after scenarios were merged.
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(



You have two scripts with the same name "vb("
was referenced twice therefore it could not compile (cannot do two functions that have the identical name) they can have the same script, function and refrence to objects but the name must be different.

"What the hell are you talking about Ender...?"

Example:

(script continuous vehicle_tele15
(if (= (volume_test_object tele5 frg) true)
(object_teleport frg tele5_exit)
(if (= (volume_test_object tele5 frg2) true)
(object_teleport frg2 tele5_exit)
(if (= (volume_test_object tele5 frg4) true)
(object_teleport frg4 tele5_exit)
(if (= (volume_test_object tele5 frg5) true)
(object_teleport frg5 tele5_exit)
(if (= (volume_test_object tele5 frg6) true)
(object_teleport frg6 tele5_exit)
(if (= (volume_test_object tele5 frg7) true)
(object_teleport frg7 tele5_exit)
(if (= (volume_test_object tele5 frg8) true)
(object_teleport frg8 tele5_exit)
(if (= (volume_test_object tele5 frg9) true)
(object_teleport frg9 tele5_exit)
(if (= (volume_test_object tele5 frg10) true)
(object_teleport frg10 tele5_exit)
(if (= (volume_test_object tele5 frg11) true)
(object_teleport frg11 tele5_exit)
(if (= (volume_test_object tele5 frg12) true)
(object_teleport frg12 tele5_exit)
)
)
)
)
)
)
)
)
)
)
)
)

(script continuous vehicle_tele15
(if (= (volume_test_object tele5 frg) true)
(object_teleport frg tele5_exit)
(if (= (volume_test_object tele5 frg2) true)
(object_teleport frg2 tele5_exit)
(if (= (volume_test_object tele5 frg4) true)
(object_teleport frg4 tele5_exit)
(if (= (volume_test_object tele5 frg5) true)
(object_teleport frg5 tele5_exit)
(if (= (volume_test_object tele5 frg6) true)
(object_teleport frg6 tele5_exit)
(if (= (volume_test_object tele5 frg7) true)
(object_teleport frg7 tele5_exit)
(if (= (volume_test_object tele5 frg8) true)
(object_teleport frg8 tele5_exit)
(if (= (volume_test_object tele5 frg9) true)
(object_teleport frg9 tele5_exit)
(if (= (volume_test_object tele5 frg10) true)
(object_teleport frg10 tele5_exit)
(if (= (volume_test_object tele5 frg11) true)
(object_teleport frg11 tele5_exit)
(if (= (volume_test_object tele5 frg12) true)
(object_teleport frg12 tele5_exit)
)
)
)
)
)
)
)
)
)
)
)
)

the above script would not compile if you tried it. The bolded parts must be different (script name)
Edited by DA_Ender on Oct 31, 2010 at 11:51 PM


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Nov 1, 2010 12:20 AM    Msg. 4 of 7       
Oh, my error was different and usually occurs in the middle of a script when the script has ended due to one or more parentheses missing but there's still stuff after it


MatthewDratt
Joined: Sep 11, 2010

TAKEDOWN IS OUT MattDratt.com


Posted: Nov 1, 2010 04:54 PM    Msg. 5 of 7       
Odd. I get this error even when I dont have any scripts in the file


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Nov 1, 2010 06:32 PM    Msg. 6 of 7       
check guerilla, there might still be some source files referenced, i've had this problem once and i had to clear the scripts area in guerilla.


Sinow
Joined: Apr 22, 2009

Everybody Lies


Posted: Nov 2, 2010 08:43 PM    Msg. 7 of 7       
Save the .hsc as ANSI encoding, anything else will give you the error regardless if theres script in it or not.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 2:29 AM 141 ms.
A Halo Maps Website