Post
by Sparky » Thu Jun 24, 2010 5:34 pm
This might also work well as a tag release.
Also, I'm working on that infinite flashlight time for you now, researching.
EDIT: Sorry, but with our current biped plugins (I'm releasing one for bipd tonight or tomorrow that will be much more thorough), the only thing you can do is toggle the bitmask32 that says "Integrated Light Lasts Forever". Again, that's under bipd -> Flags -> Integrated Light Lasts Forever. Check that, it's found at the bottom of the list of flags.
After my tag release, you'll be able to do other tinkering, like change the scale type. But I didn't find anything that lets you directly modify the duration of the integrated light.
What you can do is:
1. Figure out how long the flashlight lasts in its entirety in seconds.
2. Convert the number to a floating point number as it would appear in Hex (you may need to do more than use your Mac's calculator application to convert it.)
3. Reverse the order of the bytes, since there is a big endian/little endian issue. So for example, 4A 40 F3 20 would convert to 20 F3 40 4A. The floating point number will be a four-byte length, as in this example (11 22 33 44).
4. Search the Hex code for that value.
Alternatively, time it and tell me how long it is and I'll try to figure it out some more. But check that flag first to see if it solves the issue.
Either you are groping for answers, or you are asking God and listening to Jesus.