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 »how to change the look of a character when it dies

Author Topic: how to change the look of a character when it dies (6 messages, Page 1 of 1)
Moderators: Dennis

The_Arbiter
Joined: Aug 23, 2011

I feel like having scotch


Posted: Nov 5, 2011 01:52 AM    Msg. 1 of 6       
I am on a phone
Tell m please





OrangeJuice
Joined: Jan 29, 2009

Documentation and debug.txt


Posted: Nov 5, 2011 01:55 AM    Msg. 2 of 6       
I think it would need to be a scripted biped, and when it dies, change it's permutation through scripts..


The_Arbiter
Joined: Aug 23, 2011

I feel like having scotch


Posted: Nov 5, 2011 02:00 AM    Msg. 3 of 6       
Sorry really ment when ots is damaged


OrangeJuice
Joined: Jan 29, 2009

Documentation and debug.txt


Posted: Nov 5, 2011 02:16 AM    Msg. 4 of 6       
I think it would still need to be a scripted biped(if wrong, someone better say so at least... :| )
something like this should work in singlePlayer:

(
if (unit_get_health "unitNameHere" "x.xxxxxx")
(unit_set_permutation "objectNameHere" "regionNameHere" "permutationHere")
)

x.xxxxxx should be from 1.000000 to 0.000000 (yup... float6 numbers)
If the permutation code(never tried it) works similarly to the objects_attach code, then you can probably leave "regionNameHere" blank (as "") to get the ENTIRE character to change appearance, unless you only need \a certain body part/s to change...


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Nov 5, 2011 02:51 AM    Msg. 5 of 6       
It can be done via model collision geometry. Look at the stock banshee.


Slayer117
Joined: Oct 3, 2008

Host of CE3 2010-forever!


Posted: Nov 5, 2011 01:30 PM    Msg. 6 of 6       
Wouldn't it be just like the Flood then. Is that what your trying to do maybe? So wounds on the spartan as its health decreases?

If so that would be awesome, I've always had an idea to do that.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 7:03 PM 157 ms.
A Halo Maps Website