Add Weapon on model in THN animations…
-
Hi,
In my thn intro…i call object and FX like this:
{ entity_name="myShip", type=COMPOUND, template_name="li_dreadnought", lt_grp=0, srt_grp=0, usr_flg=0, flags=LIT_DYNAMIC, spatialprops={ pos={ -2235.39209, -1000.318268, 8620.611328000001 }, orient={ { 0.7064470000000001, 0, 0.707766 }, { 0, 1, 0 }, { -0.707766, 0, 0.7064470000000001 } } }, userprops={ category="Spaceship" } }
the type and the category define the object can be…
Typelist:
- SCENE
- CAMERA
- LIGHT
- MARKER
- MONITOR
- PSYS // Fx
- COMPOUND // Obj
for COMPOUND…category can be:
- Spaceship
- Solar
- Prop
My question is wot is the Type and wot is the category for adding weapons ? i hav try, gun, weapon(s), etc but nothing happen…
Thanks.
Peace!
-
Damn!..i hav try everything…except “Equipment”…thanks!
btw i hav found another way to load all weapons of a model…there is a “loadout” property for COMPOUND…and can be used like this…
Liberty cruiser + loadout profil
{ entity_name="Dreadnought", type=COMPOUND, template_name="li_dreadnought", lt_grp=0, srt_grp=0, usr_flg=0, flags=LIT_DYNAMIC, spatialprops={ pos={0,0,0}, orient={ { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1\. } } }, userprops={ category="Spaceship", loadout="li_n_li_dreadnought" } }
But i dont kno if i there is a way to change orientation with this method…coz…there is no attached entity…so i cant make canons animation…
There is a ligth parameter too…but animated ligth on the model hav some display bug…dont kno how to fix it…the fx engine probably dont start for the model (PSYS)…
With Equipement method…i can change orientation but requierd lot of entry for 1 ship…and i hav a fleet in my intro…ahaha…
Thanks.
Peace!
-
com wrote:
But i dont kno if i there is a way to change orientation with this method…coz…there is no attached entity…so i cant make canons animation…
There is a ligth parameter too…but animated ligth on the model hav some display bug…dont kno how to fix it…the fx engine probably dont start for the model (PSYS)…
With Equipement method…i can change orientation but requierd lot of entry for 1 ship…and i hav a fleet in my intro…ahaha…
You can make an custom loadout for the ship you wish to animate guns. You can make the loadout entry without the animated light hardpoints and that way eliminate the lights problem. You can also put some non animated guns into the entry, but leave place for the “big gun” you wish to animate in .thn.
Do this on your whole flotilla and you’ll get an nice touch to your animation.