• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Modding a New Bow

Dorbson

Refugee
Has anyone figured out how to animate a new bow and add it to the game? I got close after working on it for 3 days but ultimately I have given up.

I couldn't get the animations to trigger in the game. I am not sure what triggered_effect trigger= settings to use for drawing the bow back and then firing.

I'm a total newb and was just trying to figure things out on my own, hopefully someone knows an easy way to do it.

 
There is a WeaponFire trigger that would go to the next animation state in unity that you would put the draw animation in.

 
There is a WeaponFire trigger that would go to the next animation state in unity that you would put the draw animation in.
Is there a list somewhere of all the effect triggers available?

 
For the record, this is what's in TFP's controller.

Reload

ItemUse

WeaponHoldType

WeaponPreFire

WeaponPreFireCancel

IsFPV

ReloadSpeed

UseItem

ItemThrownTrigger

 
For the record, this is what's in TFP's controller. Reload

ItemUse

WeaponHoldType

WeaponPreFire

WeaponPreFireCancel

IsFPV

ReloadSpeed

UseItem

ItemThrownTrigger
So would something like this work to start the draw animation?

<triggered_effect trigger="onWeaponPreFireStart" action="AnimatorSetBool" target="self" property="CompoundBowDraw" value="true"/>

<triggered_effect trigger="onWeaponPreFireEnd" action="AnimatorSetBool" target="self" property="CompoundBowDraw" value="false"/>

 
Back
Top