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 and devmode?

Author Topic: script and devmode? (10 messages, Page 1 of 1)
Moderators: Dennis

aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 28, 2010 06:14 PM    Msg. 1 of 10       
can you script the flashlight button to activate a devmode cheat like active camo?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 28, 2010 06:21 PM    Msg. 2 of 10       
Yes.


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 28, 2010 06:24 PM    Msg. 3 of 10       
where would you put the dev command? in the script


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 28, 2010 06:34 PM    Msg. 4 of 10       
Underneath the condition.


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 28, 2010 09:22 PM    Msg. 5 of 10       
sorry i am a noob at this could u give me an example


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 28, 2010 09:50 PM    Msg. 6 of 10       

(script startup doSomething
(if
([condition])
(begin
([commands])
)
)
)

or

(script startup doSomething
(sleep_until ([condition has been met]) 15)
([commands])
)


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 28, 2010 10:51 PM    Msg. 7 of 10       
sorry to bother u again but this is the best i could do but is still seem to mess up when compiling.

(script startup camo
(sleep_until ([unit_get_current_flashlight_state (unit (list_get (players) 0))]) 15)
([cheat_active_camouflage])
)


Hydrogen
Joined: Dec 6, 2009

Wort Wort Wort...


Posted: Apr 28, 2010 11:36 PM    Msg. 8 of 10       
but i think it should turn off after you shoot :P


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 28, 2010 11:40 PM    Msg. 9 of 10       
Problems:
-You didn't remove the brackets. If I didn't include the brackets, people would just copy that whole thing. If I include the brackets, people fill in the stuff without bothering to remove the brackets ><

Just remove the brackets.

-You never turn off the cheat. There is no way to turn off that cheat. You'll stay invisible for the entire game, even when you shoot.

-Only works for SP and the first player in MP (won't work for any other players), as you only referenced player 0.


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 29, 2010 12:39 AM    Msg. 10 of 10       
ok screw the whole cheat_active_camouflage thing how about using a script spawning the active camo pickup right next to the player. for single player maps

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 1:39 AM 94 ms.
A Halo Maps Website