Infinite Hitbox Part Tutorial
-
Hey Peeps,
I thought I’d share this video I made for the FW:ToW development crew. In a nutshell, this method removes the 18 .sur part limit We have made hitboxes with 156 parts that sucessfully capture all collisions and laser hits. It’s a bit tedious but it’s definitely worth it in the end.
The only amendment to the video is that the cmpd –-> root—>file name must be linked to a file with a working .mat. You’ll see in the video I attach the root to a vmesh with no working .mat. What happens is that you cannot alter the LOD as a result.
Here is the video: http://www.filefront.com/14217369/Infinite_hitbox_parts_tutorial.wmv
The UT Editor I used can be found here: http://the-starport.net/index.php?option=com_docman&task=doc_download&gid=90&Itemid=43 (UTF Editor 1.0.4)
The XVI32.exe editor I used can be found here: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
All credits go to Devast8or (Dev) for figuring this out, I just simplified the method of instruction.
If you have any questions/problems feel free to post’em here.
-
Good stuff there Sushi, nice step-by-step and thorough. Hadn’t thought o this for some reason and it might just solve my dilemma with my own base model. TY sir.
Just one thing I noticed; The SUR parts reference Object names, si? Have you tried just duplicating the Cmpnd entries, and then changing only those node names, indexes, and the “Object name” string values? It should effectively just create multiple instances of the one initial 3db, yet remain a unique part because of the differing object names.
Think I actually did this for some hangar doors and they showed up as if they had complete separate .3db nodes (normal). Just had to tweak their offsets, rotation, and orientations in Fix / Rev / Pris leaf data. But if none of these will need to move or such, that step is unneeded for this.
-
The way I understand how the cmpd entries work is the following:
File Name links to the .3db entries which then have vrefs to the vmeshlibrary
Index - no idea
Object Name links the .cmpd entries to the cons_fix_data. This is how the .sur connects to the .cmp (so, ya, you’re right)A mistake in either the file name or object name will cause that portion of the hitbox not to work. It also comes up as an error in FL Console.
Now, I haven’t tried what you mentioned, but I’d be curious to see if you have any success with it. What I tend to do is use the cmpd entries from other files and move them into the new .cmp I’m working on. All I need to edit, usually, is just the file name as I just keep the same object name.
-
just to remind that there is also another method, which i think ive explained in the new animation thread.
in short its using the utf2xml tool, lets you edit the cmp file as xml file which can be converted to cmp again, and it gives a picture of how the vmesh parts are built.
the fix/rev/pris you need to know the length of a single entry, copy and paste, then change the nicknames and other details in utf later.
but that might be covered by utf 1.0.4 which i didnt have. -
Sushi, this vid mentioned a cmp vid tut? how did you guys manage a cmp that exceeded the 18 grouping cap in the cmp/sur exporters?
Fus
-
Isn’t that covered by this topic:…
http://the-starport.net/index.php?option=com_smf&Itemid=26&topic=2018.msg18262;topicseen#newMaking two or more .cmp files and then splicing them together, I guess each .cmp can have up to 18 groups?
-
I thought I’d share this video I made for the FW:ToW development crew. In a nutshell, this method removes the 18 .sur part limit We have made hitboxes with 156 parts that sucessfully capture all collisions and laser hits. It’s a bit tedious but it’s definitely worth it in the end.
The only amendment to the video is that the cmpd –-> root—>file name must be linked to a file with a working .mat. You’ll see in the video I attach the root to a vmesh with no working .mat. What happens is that you cannot alter the LOD as a result.
Here is the video: http://www.filefront.com/14217369/Infinite_hitbox_parts_tutorial.wmv
Guys I have a request again. Can anyone upload again this video to something hosting and past there link. Please
Because on the original link, file has been deleted and i can’t download it. Please help me.
-