Skajaquada
Crazy Engineer
- Joined
- Mar 4, 2007
- Messages
- 134
I'm trying to make a decent looking ranged unit by putting together attributes from other units in civ5artdefines_unitmembers.xml (fHitEffectScale is really a life-saver). I've also found civ5artdefines_viseffects.xml that've got all the effects-names, like the muzzle-effect for the infantry here:
I just can't find a place to put the ART_DEF_VEFFECT_INFANTRY_MUZBLAST_01 for it to be used as a muzzle-effect.
I suppose it's related to the ftsxml-file that we can't produce hence why the NexusBuddy-exporter uses "FX_Triggers_Rifleman.ftsxml"? I tried putting the entries from the Gunship's unit.xml file in mine and I got the effects from the Gunship locked in one place on the map (though still animated). I guess some marker in those animation-files tells the effects where to play?
Should it have worked putting a marker with the same name in my model? I checked the Gunship in the Nexus Viewer, turned on lables and saw fx_PROTECTILE01 etc. and fx_MachineGun. I tried adding helpers as well as bones with those names, then repeated what I did above, but it was the same.
I'm guessing some file has to say what marker should be referenced to what animation-key, but we're unable to do that now? Really a bummer, though I'd like to share the great-person effects work nicely as magic hit-effects
Code:
<VisEffectArtInfo>
<Name>ART_DEF_VEFFECT_INFANTRY_MUZBLAST_01</Name>
<Transform>
<Translation x="9.0" y="0.5" z="0.0"/>
<Rotation x="0.0" y="-90.0" z="0.0"/>
<Scale>1.2</Scale>
</Transform>
<fBaseDuration>0.1</fBaseDuration>
<fBaseDurationScale>1.0</fBaseDurationScale>
<ParticleEffects>
<ParticleEffect>
<Name>ART_DEF_PEFFECT_FX_MECHINFANTRY_MUZBLAST_01</Name>
</ParticleEffect>
</ParticleEffects>
</VisEffectArtInfo>
I just can't find a place to put the ART_DEF_VEFFECT_INFANTRY_MUZBLAST_01 for it to be used as a muzzle-effect.
I suppose it's related to the ftsxml-file that we can't produce hence why the NexusBuddy-exporter uses "FX_Triggers_Rifleman.ftsxml"? I tried putting the entries from the Gunship's unit.xml file in mine and I got the effects from the Gunship locked in one place on the map (though still animated). I guess some marker in those animation-files tells the effects where to play?
Should it have worked putting a marker with the same name in my model? I checked the Gunship in the Nexus Viewer, turned on lables and saw fx_PROTECTILE01 etc. and fx_MachineGun. I tried adding helpers as well as bones with those names, then repeated what I did above, but it was the same.
I'm guessing some file has to say what marker should be referenced to what animation-key, but we're unable to do that now? Really a bummer, though I'd like to share the great-person effects work nicely as magic hit-effects
