• 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.

Item Modifiers to custom guns

giKoN

Refugee
Hi guys,

does anyone know if

<triggered_effect trigger="onSelfHoldingItemCreated" action="AttachPrefabToHeldItem" prefab="Items/Mods/Scopes/scope_laser_reflexPrefab" parent_transform="Attachments/Scope" />
tries to access the gun prefab through item name or through Meshfile?

I'm currently working on custom guns and unfortunately it's not attaching modifications correctly.

https://cdn.discordapp.com/attachments/513680151415095296/533317401232801821/unknown.png

Any help is very welcome :)

 
Back
Top