Jump to content

Need help with scripts


Recommended Posts

Hello there, i'm currently working on a weapon/armor pack and i need to figure out how to make few things work and i would really appreciate some help with scripts

 

1. I'd like to know how to add stats to weapon that will slow player's attack speed/movement speed etc.

 

I know how it looks in character prefabs - 

inst.components.combat.min_attack_period = 1.0 

stuff like that, but i don't know how to apply that to weapon

 

Same goes for helmets and armor, how do i apply speed, temperature resistance, fire damage reduction etc?

 

 

Edited by Spycer42
Link to comment
Share on other sites

Oh nevermind, didn't know that amulet texture is already visible on character. Also ive accidentally made 2 topics instead of 1, site is lagging a bit


Oh nevermind, didn't know that amulet texture is already visible on character. Also ive accidentally made 2 topics instead of 1, site is lagging a bit

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...