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 General Discussion »flashlights on marines

Author Topic: flashlights on marines (12 messages, Page 1 of 1)
Moderators: Dennis

KasperZERO
Joined: Feb 16, 2017


Posted: Feb 24, 2017 10:28 PM    Msg. 1 of 12       
In Truth and Reconciliation, the marines have their flashlights on. I notice also that they turn their lights on after exiting the pelican in-game.

Is this a script or a part of the actor or weapon tag? I'm trying to have the marines turn their falshlights on in other levels. Anyone?


SOI_7
Joined: Mar 23, 2012

Tatsumaki best waifu


Posted: Feb 25, 2017 06:56 AM    Msg. 2 of 12       
It's actually both. The flashlight of the weapon is controlled via a function in the biped tag, and a script activates the flashlight state of that unit


FtDSpartn
Joined: May 1, 2009

Thank you.


Posted: Mar 1, 2017 05:48 AM    Msg. 3 of 12       
To get an encounter of marines to activate their flashlights, you'd script something like this.

(units_set_desired_flashlight_state (ai_actors enc_marines) 1)


'enc_marines' is the encounter name, while 1 is the boolean (0 = false, 1 = true).
Edited by FtDSpartn on Mar 1, 2017 at 05:48 AM


KasperZERO
Joined: Feb 16, 2017


Posted: Mar 1, 2017 10:06 PM    Msg. 4 of 12       
Is there a way to activate flashlights as part of the meta or tag, or does it have to be scripted?


Tucker933
Joined: May 27, 2010

Tucker933.com


Posted: Mar 1, 2017 10:15 PM    Msg. 5 of 12       
Quote: --- Original message by: KasperZERO
Is there a way to activate flashlights as part of the meta or tag, or does it have to be scripted?

Changing the lower bound in the biped's light function to 1 should do it:


It makes it so the flashlight is on regardless of state.
Edited by Tucker933 on Mar 2, 2017 at 01:04 AM


KasperZERO
Joined: Feb 16, 2017


Posted: Mar 1, 2017 11:18 PM    Msg. 6 of 12       
Could you please go into some more detail about this? I don't know where that is you got that screenshot from


Tucker933
Joined: May 27, 2010

Tucker933.com


Posted: Mar 1, 2017 11:24 PM    Msg. 7 of 12       
Quote: --- Original message by: KasperZERO
Could you please go into some more detail about this? I don't know where that is you got that screenshot from

I don't have any experience with CE tools; that picture is from Eschaton, but the only significant difference is the UI.

Though you can use Eschaton for meta edits to CE maps if you really want to. Just use the "Classic" controls scheme (File -> Preferences), open the map (not Open and Expand), go to the relevant biped tag, select Sparky's plugins, and follow the path shown there in the picture. Make sure to hit Enter after changing the value, or it will not save.
Edited by Tucker933 on Mar 2, 2017 at 01:04 AM


FtDSpartn
Joined: May 1, 2009

Thank you.


Posted: Mar 1, 2017 11:59 PM    Msg. 8 of 12       
Quote: --- Original message by: KasperZERO
Could you please go into some more detail about this? I don't know where that is you got that screenshot from


You should be able to check this box here in the .biped tag under the 'integrated light power' function, though it doesn't want to work for me.

http://i.imgur.com/Zk2fTXu.png


Tucker933
Joined: May 27, 2010

Tucker933.com


Posted: Mar 2, 2017 12:08 AM    Msg. 9 of 12       
The method I showed works for me.


FtDSpartn
Joined: May 1, 2009

Thank you.


Posted: Mar 2, 2017 12:12 AM    Msg. 10 of 12       
Quote: --- Original message by: Tucker933
The method I showed works for me.

Even when I change lower bound in guerilla it doesn't work for me, which is odd.

Scripting them on works fine for me as well, so I'm not sure why the bounds method isn't working.
Edited by FtDSpartn on Mar 2, 2017 at 12:16 AM


Tucker933
Joined: May 27, 2010

Tucker933.com


Posted: Mar 2, 2017 12:52 AM    Msg. 11 of 12       
Your method doesn't work for me either =\ but checking the flag next to it called "Invert" does as you'd expect, making it so the flashlight is on by default. So that's two methods that work (for me).
Edited by Tucker933 on Mar 2, 2017 at 01:05 AM


DeadHamster
Joined: Jun 8, 2014


Posted: Mar 2, 2017 01:25 AM    Msg. 12 of 12       
Change 'scale function by' to none.

C in is a function in the tag effected by flashlight state on the biped, at least in this case it is. All that is customizable of course, but by removing the scale by and leaving the 'function' field directly above it at 'one', itll always be on.

At least it will be for the player biped. Marines use A-in for their flashlight, but still scale it by C-in which may just be an iversight as marines didnt have to use flashlights that way.
Edited by DeadHamster on Mar 2, 2017 at 01:32 AM

 

 
Previous Older Thread    Next newer Thread





Time: Sun September 24, 2017 7:00 PM 234 ms.
A Halo Maps Website