[BNW] Help Adding a "Bone" to an Existing Unit?

sman1975

Emperor
Joined
Aug 27, 2016
Messages
1,373
Location
Dallas, TX
Hello Fanatics!

I'm returning to modding Civ5 again, and having been gone a while, I'm slowly relearning how it's done. But, one of the things I'm trying to do is really stumping me right now.

I'm trying to add the Attack Helicopter's "prop wash" (that swirling cloud of dust beneath the aircraft) to a new unit. That unit is called a "Skybase" and is basically a futuristic aircraft carrier that floats in the atmosphere.

The problem is the model I'm using for the Skybase is originally an ocean-going ship. So, I'm using a ZOffset of 40 in the ArtDefine_UnitMemberInfos file to simulating it floating in the air.

It's all fine, but the problem is there are no "bones" beneath the ship for me to attach the "ART_DEF_VEFFECT_GUNSHIP_AIRWAKE_$(BASETERRAIN)" animation to. The lowest bone is the World_Center, which is in the middle of the ship.

Question: Does anyone know how to add a new bone to the GR2 file that is much lower than the basic ship that I can attach this animation to?

Appreciate any suggestions and help - thanks!!!



Mod with Unit: https://steamcommunity.com/sharedfiles/filedetails/?id=1562440077
 

Attachments

  • Skybase1.jpg
    Skybase1.jpg
    2 MB · Views: 5
  • naval_carrier03s.zip
    naval_carrier03s.zip
    160.1 KB · Views: 1
im just guessing here, but in some cases, some entities in the game are comprised of more than one gr2 (feitoria improvement for example has 2 models that load together afaik to create what we see in game)

idk if you can do this with units but maybe worth trying. some of the natural wonders have a blank model that includes only a bone for trigger their effect off of -- if you could load such model as part of your unit, then you could just trigger the effect off the bone in that other gr2. again, im just guessing here, pls post if you figure out how to do this.
 
Back
Top Bottom