Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Directly manipulate col-settings in w3d?
Re: Directly manipulate col-settings in w3d? [message #326794 is a reply to message #326755] Sat, 19 April 2008 06:59 Go to previous messageGo to previous message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma:
Colonel
Saberhawk wrote on Fri, 18 April 2008 23:01

Import it and edit the settings and then export it again is one option.

The other option, if you are good with a hex editor, is to look for w3d_file.h and parse out the file, editing the "Flags" field of the CHUNK_MESH header.


Saberhawk, you are a hero! Smile

I wasted hours and hours trying to redo the beta orca, but without the best result.

changing the collision settings in the hexeditor is real easy, if one got the trick.

so you have to lock in the header of each mesh for this string: "02 00 04 00 XX"
-> the XX is the Col Settings flag!

E.g. change it to 02 00 04 00 20 to make projetiles hit!

Edit: The 02 00 04 00 was just for this model. The best way is to make an other w3d-file with the settings you like and compare the two files in hexeditor to find the correct place for editing.

Its always the fourth byte before meshname.

[Updated on: Sat, 19 April 2008 11:46]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Target Aim Lasers [help]
Next Topic: Powerups
Goto Forum:
  


Current Time: Tue Nov 19 03:19:47 MST 2024

Total time taken to generate the page: 0.00688 seconds