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 »Flashcamo

Author Topic: Flashcamo (9 messages, Page 1 of 1)
Moderators: Dennis

Kustrin 117
Joined: Aug 6, 2009

\


Posted: Feb 12, 2010 07:01 AM    Msg. 1 of 9       
How can I make a flashlight to get camo when I turn it on???


Gravemind
Joined: Jul 28, 2009

The Age of Reclamation has begun.


Posted: Feb 12, 2010 07:21 AM    Msg. 2 of 9       
i tried to do that by making the flashlight spawn a camo equipment on the player, it worked but it was a crap way of doing it... I think you could make the player go invisible by doing something like the way the warthog horn works except itd be changing the colour to clear. It wouldnt fool AI but itd work on people.


PX173
Joined: Aug 22, 2009

It was worth it.


Posted: Feb 12, 2010 07:40 AM    Msg. 3 of 9       

(script continuous flashlight
(unit_set_desired_flashlight_state (unit (list_get (players) 0)) false)
)

To keep the flashlight off and to resolve some issues regarding to on/off effects. Although it would probably flash for a split second.

(script continuous cloak
(object_create "camo")
(sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true))
(objects_attach (unit (list_get (players) 0)) "" camo "")
(objects_detach (unit (list_get (players) 0)) camo)
(sleep 600)
)

For SP, that is. Make sure you have an active camo powerup somewhere in your map, preferably somewhere out of reach, and name it "camo" in either Sapien or Guerilla(I think).


Co1t3r
Joined: Dec 13, 2008


Posted: Feb 12, 2010 03:57 PM    Msg. 4 of 9       


PX173
Joined: Aug 22, 2009

It was worth it.


Posted: Feb 12, 2010 06:35 PM    Msg. 5 of 9       
Umm... you don't really need to attach it to the right hand.


Co1t3r
Joined: Dec 13, 2008


Posted: Feb 12, 2010 08:06 PM    Msg. 6 of 9       
It looks better for the bubble shield. Also instead of making a separate to disable flashlight, it would be better done in "cloak."
Edited by colter13 on Feb 12, 2010 at 08:08 PM


PX173
Joined: Aug 22, 2009

It was worth it.


Posted: Feb 12, 2010 11:36 PM    Msg. 7 of 9       
There's a sleep command.


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Feb 13, 2010 04:49 PM    Msg. 8 of 9       
Also script in the AI to be blind, maybe? This won't work well if you have allies, too, though, or a vehicle. Just a suggestion.
Also, I've tried attaching the camo powerup to the player before. Didn't give my camouflage. It just stuck the powerup on MC's ass.
Edited by SlappyThePirate on Feb 13, 2010 at 04:51 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Feb 13, 2010 04:52 PM    Msg. 9 of 9       
You're supposed to DETACH it after attaching it ._.

 

 
Previous Older Thread    Next newer Thread







Time: Sat January 21, 2023 6:24 AM 172 ms.
A Halo Maps Website