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 »Flashlight Function Help

Author Topic: Flashlight Function Help (8 messages, Page 1 of 1)
Moderators: Dennis

SeanTheLawn
Joined: Sep 4, 2007


Posted: Dec 28, 2011 09:48 AM    Msg. 1 of 8       
Sup, just looking for someone who has pretty basic knowledge of tag functions (A in, B out, etc). I haven't modded in a while and I'm looking through my tags for random stuff to release, so if you know enough about functions to get a flashlight working (like the campaign marines, toggle-able with scripts and such) add me on Xfire: SeanTheLawn

It's a ridiculously small biped release that'll probably go unnoticed but you'll get credit for helping and all that. Thanks in advance.


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Dec 28, 2011 01:00 PM    Msg. 2 of 8       
I'm give this a try.... Learned this on my own so it COULD be wrong...
Go to the biped tag and add an attachment. Put in the light that you will use (example: characters\marine_armored\flashlight_marine), and type in "flashlight" as the marker.

As you can see, there are several A ins, B ins, etc. THEY ALL CONNECT TO EACH OTHER.
Go down to $$$ UNIT $$$ and pick A, B, C, or D in and select "integrated light power" (Use A in for reference here).
Now go up to Functions and create one (Will be using A out for reference). Set the period as one, and set the "scale function as" A in. Set the bounds as 0 to 1. Type in the usage "integrated light power". Go back up to the attachments and set A out as the primary scale. Leave the rest as is.

Because they are all connected, DO NOT ADD ANY OTHER A in. If you were to accidentally select "alive" in A in (export to functions), then the flashlight would be on as long as the biped is alive.


hoboscience
Joined: Apr 22, 2011


Posted: Dec 29, 2011 02:20 AM    Msg. 3 of 8       
I tried following this tutorial but in a different manner. I am trying to apply a sound to a weapon so when you hit the flashlight key you'll hear a specific sound. Sadly this didn't work.


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Dec 29, 2011 02:47 AM    Msg. 4 of 8       
If you mean "specific sound", you want to hear the flashlight click on?
If that's the case, go to the biped tag and scroll down to $$$ UNIT $$$
Put the effect in "integrated light toggle". I recommend you use "weapons\assault rifle\effects\flashlight".

EDIT: You will hear the sound every time you use the flashlight, with ANY weapon.
Edited by game user10 on Dec 29, 2011 at 02:50 AM


hoboscience
Joined: Apr 22, 2011


Posted: Dec 29, 2011 12:15 PM    Msg. 5 of 8       
Thanks for the info but that is not exactly what I'm looking for. I wanted each weapon to have a different sound. A sound that would be triggered instead of the flashlight. Maybe a voice command like "follow me" or something.


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Dec 30, 2011 01:28 AM    Msg. 6 of 8       
You could script it in. However, let's move on to a new topic instead of using this one...


Diaboy
Joined: Jan 24, 2011

A self-fulfilling prophecy of endless possibility


Posted: Jan 7, 2012 11:01 AM    Msg. 7 of 8       
So, if the flashlight was attached to the third person weapon rather than the biped, would that still work...?


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Jan 8, 2012 12:40 AM    Msg. 8 of 8       
Maybe..... I don't know but I think some weapons have their own flashlight (eg. Assault Rifle, as shown by marines).

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 2:01 AM 297 ms.
A Halo Maps Website