Langerd Posted June 19, 2016 Posted June 19, 2016 Ok i am making the model using the AT ST skeleton because i want to make vehicle model. But when i imported the At St model to see how he is made his leg is called for example - r_leg_upper2_0We all (most of us i am a little drunk) know that in the player model we have r_leg , r_hand etc. BUT i thought: Wait a minute .. Stormtrooper can lose hand but none other models that are not using _humanoid skeleton .. later i thought - THAT is not true! Wampa, Rocketrooper and Hazardtrooper use this! I looked at the wampa in the modview - head , r_leg etc. And he is using a Wampa.gla skeleton BUT from his folder. Does it means that we can do At ST dismemberment able? by changing the names of the model parts in the hierarchy? Or this is hard coded thing (or only easy coded whaterver .. it would suck for me :S) and cant be changed with using the models tricks. Because AT ST use the atst.gla for animations like Wampa D: It would be cool to cut to the pieces these piece of junk - AND RANCOR is also not dismemberment able...This was always strange for me :/
Langerd Posted June 19, 2016 Author Posted June 19, 2016 What would happend if I would for example changed the name of the r_leg_foot_0 to the - r_leg_0 ? It would be dismemberment able ?
Bart Posted June 20, 2016 Posted June 20, 2016 Judging from the cg_ents.c, it's actually all dependent on the name of the bone/tag/skin part. I don't see any direct reference to _humanoid.gla only up there, but I'm able to only understand the code, add obvious "numerical" modifications and mix a bunch of mods together. An example of one of the references... else if (cent->currentState.modelGhoul2 == G2_MODELPART_RLEG) { limbBone = "rfemurYZ"; rotateBone = "rtibia"; BG_GetRootSurfNameWithVariant( clEnt->ghoul2, "r_leg", limbName, sizeof(limbName) ); BG_GetRootSurfNameWithVariant( clEnt->ghoul2, "hips", stubName, sizeof(stubName) ); Com_sprintf( limbCapName, sizeof( limbCapName ), "%s_cap_hips", limbName ); Com_sprintf( stubCapName, sizeof( stubCapName), "%s_cap_r_leg", stubName ); limbTagName = "*r_leg_cap_hips"; stubTagName = "*hips_cap_r_leg"; limb_anim = BOTH_DISMEMBER_RLEG; }
minilogoguy18 Posted June 20, 2016 Posted June 20, 2016 First of all, you can name things whatever you want, it really doesn't matter. The ONLY RULE is that an underscore followed by a number as a suffix defines LOD's so playing around with that will fuck things up. This takes into consideration that the model has a stupidtriangle_off_1 or more tag with an extra hierarchy to tell the game that there are multiple LOD's. r_leg = LOD0r_leg_1 = LOD1r_leg_2 = LOD2 You should get the picture. Tags have certain naming conventions to define parts of the model, such as where dismemberment takes place as well as telling the game that this part is the head and this part is a hand which alters how much damage a person takes as a head shot will deal the most over any other part. This now leads me to this, if you are making a vehicle model, why not just make your own skeleton and animations so that you aren't so restricted??? Langerd likes this
Langerd Posted June 20, 2016 Author Posted June 20, 2016 First of all, you can name things whatever you want, it really doesn't matter. The ONLY RULE is that an underscore followed by a number as a suffix defines LOD's so playing around with that will fuck things up. This takes into consideration that the model has a stupidtriangle_off_1 or more tag with an extra hierarchy to tell the game that there are multiple LOD's. r_leg = LOD0r_leg_1 = LOD1r_leg_2 = LOD2 You should get the picture. Tags have certain naming conventions to define parts of the model, such as where dismemberment takes place as well as telling the game that this part is the head and this part is a hand which alters how much damage a person takes as a head shot will deal the most over any other part. This now leads me to this, if you are making a vehicle model, why not just make your own skeleton and animations so that you aren't so restricted???SO this is why stupidtriangle_off_1 exist ... I didn't know that and it was always weird for me. Also now tags are screwed up ... He is shooting WP_ATST_MAIN weapon but he is not using WP_ATST_SIDE .. maybe it is still caused because of the hierarchy (i will not give the screenshot because it would be spoiler for my modification ) I am making vehcile model for my first time and i didnt have much time to learn skeleton making... I tried it once and may times it didn't work well in blender. Maybe there are tutorials and programs how to make it and i will check them in the future
minilogoguy18 Posted June 20, 2016 Posted June 20, 2016 The tags are quite simple, it will shoot from whatever tag you have, hierarchy in this case isn't that important but it could be causing the problem. The naming and definitions in the VEH file are more important. You don't need additional software to make your own skeleton and animations, blender should be able to do all that although there is no info on this since blender is mostly used to make frankenstein models. I don't think anyone has really attempted custom animations and skeletons with it yet but as long as it can write out the files which it can you should be able to do it.
Asgarath83 Posted June 25, 2016 Posted June 25, 2016 For my experience all models are potentially detachable.but for a good detaching, they need perfect hierarchy and tagging.for what i understood, into the the humanoid skeleton the bolt_l_leg_cap_hips_off, for example, it's used for the engine to calculate the point when the left leg is detached by the hips.it's maybe some kind of weird idea, but you can try to add the dismember bolt tags to the at st model.technically it should work.but it require an NPC file with the dismemberprob parameters setted to 100
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now