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 »Scripting devices to sync

Author Topic: Scripting devices to sync (8 messages, Page 1 of 1)
Moderators: Dennis

hell master
Joined: Mar 24, 2009


Posted: Jun 8, 2010 03:21 PM    Msg. 1 of 8       
Hey forum people.

I try making a script from scratch, then tried using the EasyHaloScripter, but everything still doesn't work!


I was thinking of making a few maps with multiple devices in it for multi player stuff, but when i put in my 3 scripts i get a weird error

06.03.10 14:34:43 a hobo pc 01.01.00.0609 ----------------------------------------------
06.03.10 14:34:43 reference function: _write_to_error_file
06.03.10 14:34:43 reference address: 401b13
06.03.10 14:34:43 Couldn't read map file './a_hobobeta.map'
06.03.10 14:34:44 CreateDevice succeeded with refresh rate = 0
06.03.10 14:34:47 Increasing sound decompression buffer size to 1048576 bytes
06.03.10 14:39:39 recompiling scripts after scenarios were merged.
06.03.10 14:39:39 i expected a script or variable definition.: )---<
06.03.10 14:39:39 i expected a script or variable definition.: )
06.03.10 14:39:55 local player 0, weapon (0x0), deleted unexpectedly
06.03.10 14:47:43 a statement block must contain at least one argument.: (begin_random)
06.03.10 14:47:49 a statement block must contain at least one argument.: (begin)
06.03.10 14:47:55 this is not a global variable reference, function call, or script call.: (begin 1)
06.03.10 14:48:08 this is not a global variable reference, function call, or script call.: (begin door1)
06.03.10 14:48:21 i expected a script or variable definition.: )---<
06.03.10 14:48:21 [firstdoor line 33] i expected a script or variable definition.: )
06.03.10 14:48:21 recompiling scripts after scenarios were merged.
06.03.10 14:48:21 i expected a script or variable definition.: )---<
06.03.10 14:48:21 i expected a script or variable definition.: )


I have no clue what that means or how to fix it
heres my scripts.

--------------------------------------------------------------------------------------------------------------
(script continuous firstdoor
(if (= (unit_get_health fd1) 0.0)
(begin
(device_set_position bd1 1.0))))

(script continuous first1
(if (= (unit_get_health fd1) 0.0)
(begin
(object_create_anew fd1)
(sleep 50))))

(script continuous first2
(if (= (unit_get_health fd1) 0.0)
(begin
(object_teleport fw1 ff2))))

(script continuous first3
(if (= (unit_get_health fd1) 0.0)
(begin
(object_create_anew fd2)
(sleep 50))))

(script continuous first4
(if (= (unit_get_health fd2) 0.0)
(begin
(object_teleport fw2 ff2))))

(script continuous doorfirst
(if (and (= (unit_get_health fd2) 0) (volume_test_objects do (players)) (= (device_get_position fd) 1.0) true)
(begin
(object_teleport fw1 ff1)
(sleep 50))))
)
--------------------------------------------------------------------------------------------------------------
(script continuous bigdoor
(if (= (unit_get_health bbb1) 0.0)
(begin
(device_set_position bbd 1.0))))

(script continuous big1
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_create_anew bbb1)
(sleep 50))))

(script continuous big2
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_teleport bw1 bf2))))

(script continuous big3
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_create_anew bbb2)
(sleep 50))))

(script continuous big4
(if (= (unit_get_health bbb2) 0.0)
(begin
(object_teleport bw2 bf2))))

(script continuous door3
(if (and (= (unit_get_health bbb2) 0) (volume_test_objects dth (players)) (= (device_get_position bb) 1.0) true)
(begin
(object_teleport bw1 bf1)
(sleep 50))))
)
--------------------------------------------------------------------------------------------------------------
(script continuous bigdoor
(if (= (unit_get_health bbb1) 0.0)
(begin
(device_set_position bbd 1.0))))

(script continuous big1
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_create_anew bbb1)
(sleep 50))))

(script continuous big2
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_teleport bw1 bf2))))

(script continuous big3
(if (= (unit_get_health bbb1) 0.0)
(begin
(object_create_anew bbb2)
(sleep 50))))

(script continuous big4
(if (= (unit_get_health bbb2) 0.0)
(begin
(object_teleport bw2 bf2))))

(script continuous door3
(if (and (= (unit_get_health bbb2) 0) (volume_test_objects dth (players)) (= (device_get_position bb) 1.0) true)
(begin
(object_teleport bw1 bf1)
(sleep 50))))
)
--------------------------------------------------------------------------------------------------------------

thats it exactly


Ilikdonuts101
Joined: May 25, 2010

lol wut you say?


Posted: Jun 9, 2010 06:22 AM    Msg. 2 of 8       
wow what does it do?


hell master
Joined: Mar 24, 2009


Posted: Jun 9, 2010 04:25 PM    Msg. 3 of 8       
lol read the topic

but to quickly answer ur question i think the term is a "biped squish"?

it kills a biped to make certain things sync like devices and BSP changes
Edited by hell master on Jun 9, 2010 at 04:28 PM


GameCreat0r
Joined: Apr 9, 2010

"Perhaps the ending has not yet been written..."


Posted: Jun 10, 2010 03:17 AM    Msg. 4 of 8       
I've got to learn this. Can anyone give me a list of things that the server does syncronizize thing that need a biped squish to syncronizize and things that won't ever syncronizize?

It would be really helpfull to anyone in this community to have a list like that.


hell master
Joined: Mar 24, 2009


Posted: Jun 11, 2010 04:27 PM    Msg. 5 of 8       
i know that AI can nvr sync

I know BSP switching needs a biped squish like how night and day are done in certain maps

Animated scenery: i think are the same with devices except with the use of object_create_anew

Scripted explosion: im not sure but i think they could sync

and yes i still do have that problem this post was created for


FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Jun 11, 2010 11:11 PM    Msg. 6 of 8       
Quote: --- Original message by: hell master
i know that AI can nvr sync

Think Again.
http://www.youtube.com/watch?v=5Sabz0VckCA
It isn't perfect though.
Edited by FtDSpartn on Jun 11, 2010 at 11:12 PM


Dennis

Joined: Jan 27, 2005

"We are made of starstuff. ― Carl Sagan


Posted: Jun 12, 2010 12:53 AM    Msg. 7 of 8       
Quote: --- Original message by: FtDSpartn

Quote: --- Original message by: hell master
i know that AI can nvr sync

Think Again.
http://www.youtube.com/watch?v=5Sabz0VckCA
It isn't perfect though.
Edited by FtDSpartn on Jun 11, 2010 at 11:12 PM
I tire of this misconception. AI can NEVER EVER sync becasue the information about them is not transmitted between client and server. There is no almost when it comes to Syncing. Either it does or it doesn't and AI in Halo CE does not sync. Period. It is sort of like being almost pregnant.


hell master
Joined: Mar 24, 2009


Posted: Jun 14, 2010 06:36 PM    Msg. 8 of 8       
can we plz stay on topic?

I've tried to work around it but nothings been working!!
I would love to know wat causes that error
Edited by hell master on Jun 14, 2010 at 06:37 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri April 3, 2020 12:48 AM 219 ms.
A Halo Maps Website