STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
381
IN-GAME
2,167
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
fever 4 Dec, 2021 @ 11:02pm
Want To Attach A Prop To A Model | for L4D2
I wanted to make an addon that includes a model (Tank) to ride a bicycle, with custom animations. But first I only went to adding the bicycle prop to the model of the Tank. The bike is a single mesh as I already joined the parts. I also reduced the polygon count on the bike.

my goals being:

  • The bike is attached and follows the tank
  • Able to transform and animate the bike individually so I can adjust it with the Tank's animations
  • Also able to custom animate the tank

Preview [imgur.com]

One of the things I did while experimenting was giving the bike mesh an armature inside the seat then parenting that to the Tank, I placed the bike near the pelvis (Preview). It works and follows the tank when I played the animations.

The problems arise during compiling it in Crowbar. Most errors I get are actually after compiling it but the model viewer can't load it due to an error. It's probably because I didn't edit the QC files.

I have questions for the process.

1. Where do I parent the bike armament to what Tank model
In the Scene Collection display of Blender, the Tank has:

tank_reference
tank_reference_lod 1
tank_reference_lod2
hulk_physics
hulk.qc_skeleton


2. What do I edit inside the QC files of the tank (hulk.qc , anim_hulk.qc) after I exported it using Blender Source Tools.

3. Do I also have to export every animation one by one of the tank? Do I have to do this for the bike as well (It doesn't have animation yet, It's just attached to the model)

Any help is appreciated.

Would also like to ask for the proper workflow for what I'm doing and corrections on things I probably did wrong.
< >
Showing 1-2 of 2 comments
xdshot 4 Dec, 2021 @ 11:32pm 
Bike bones are embedded into armature along with tank skeleton.

Ideally both bike and hulk are one model, with parts are either one mesh or separate bodygroups.
fever 5 Dec, 2021 @ 2:21am 
So I have to just parent the bone of the bike to the hulk.qc skeleton and then by what you said as one model, the tabk and bike would only be 1 smd file, is that correct?

And should the Bike not be inside a Collection? Thanks in advance
< >
Showing 1-2 of 2 comments
Per page: 1530 50

All Discussions > Help > Topic Details