TheDarkWraith |
05-13-11 02:56 PM |
Where to start.......I wanted to make new characters for the game. I needed new characters for the PT Boat because I didn't like using the ones already included with the game (I wanted my own customized characters that I could make look how I need them to look). I made a copy of a GR2 file and then opened it up with hex editor and changed the names of the bones. Then opened it up with Goblin editor so I could get the new IDs from the new bone names to update the .chr file parent IDs. I defined a new animation routine for the character and then updated the waypoint_info file to call this new animation routine and to reference the new bone name in the GR2 file. Then the waypoint for the character was offcenter (another reason why I wanted to make new characters) so I wrote an app to allow me to edit the bones in the GR2 files. It's functional but not complete as I don't totally understand the whole GR2 file format yet. You'll notice in the filename that I'm editing my new character I made :rock:
http://www.subsim.com/radioroom/pict...pictureid=4246
Now using that app I was able to set the waypoint back to world origin. In case your wondering why it's says Bone X it's because I can't figure out how to map the bones to the names in the GR2 file. But no worries, opening up Granny Viewer tells me the names of the bones so I know which one to edit. The waypoint is Bone 1 in this screenshot. You'll notice that there are model and DAT versions for position and rotation. I did this so if you wanted to connect something to a bone you have the X,Y,Z and Pitch,Yaw,Roll to input into a DAT file. Easy as pie.....I needed these DAT values for the new version of FX Update (smoke in interior of the sub when damaged anyone???)
After successful making of one new character I made 2 more. The PT Boat needed an officer and 2 crew members and that's what these new crew members are for. Here you can see them in-game. They are animated and will look around, look through the binoculars, scratch themselves, etc. :D
http://www.subsim.com/radioroom/pict...pictureid=4247
What a day it's been......:|\\
|