Jump to content

AE:Weapons: Difference between revisions

1,013 bytes added ,  15 October 2006
Line 109: Line 109:
==Other stuff==
==Other stuff==
===Breaking Glass===
===Breaking Glass===
http://edt.oni2.net/shots/ss8.jpg
The glass can be broken by kicks after modifying the h2h_dust_p01.bina file.
Here's how:
* Look at the chunk between 0x550 and 0x6F8
* The 0x00 at 0x550 change it to 0x1E ("Glass Charge")
* The 0x00 at 0x0x634 change it to 0x03 ("radius" type : float)
* The 0x00000000 at 0x0x638 change it to 0x00000040 or 0x00000041 ("radius" value : 2.0 or 8.0)
Note that we've left the first argument of set 2 ("blast-vel" for "Glass Charge") as is. "Linear Change"s "rate" was of the right type (float), and the value (6.0) is nothing extreme.
Look at the second variable of h2h_dust_p01 : it's the 0x34=52 byte chunk between 0x340 and 0x374.
There's the name ("alpha") right at the start. The initialisation value you can see at 0x35C (it's a float, since the type at 0x358 is 0x03).
*If we just make this float 0.125 (make the 0x00000000 at 0x35C a 0x0000003E) we'll have 12.5%-transparent dust right away.
The changes will look like this:
http://edt.oni2.net/images/breakglass.jpg
===Deadly Glass===
===Deadly Glass===
===Holstering===
===Holstering===
830

edits