poppychips Posted April 1, 2019 Share Posted April 1, 2019 As the title says: I want to make a character who deals more damage when attacking without weapons than with weapons. How do I go about doing this? Could someone point me in the right direction? Link to comment https://forums.kleientertainment.com/forums/topic/104431-how-do-i-make-a-characters-unarmed-attacks-stronger-than-with-a-weapon/ Share on other sites More sharing options...
Ultroman Posted April 1, 2019 Share Posted April 1, 2019 Look at the combat component. It has a separate damage setting for unarmed combat. Link to comment https://forums.kleientertainment.com/forums/topic/104431-how-do-i-make-a-characters-unarmed-attacks-stronger-than-with-a-weapon/#findComment-1172594 Share on other sites More sharing options...
poppychips Posted April 1, 2019 Author Share Posted April 1, 2019 Just now, Ultroman said: Look at the combat component. It has a separate damage setting for unarmed combat. Oh, cool! I'll give it a look. Link to comment https://forums.kleientertainment.com/forums/topic/104431-how-do-i-make-a-characters-unarmed-attacks-stronger-than-with-a-weapon/#findComment-1172596 Share on other sites More sharing options...
Ultroman Posted April 1, 2019 Share Posted April 1, 2019 Specifically the "defaultdamage" variable. There's a setter-function for it. Link to comment https://forums.kleientertainment.com/forums/topic/104431-how-do-i-make-a-characters-unarmed-attacks-stronger-than-with-a-weapon/#findComment-1172598 Share on other sites More sharing options...
Well-met Posted April 1, 2019 Share Posted April 1, 2019 inst.components.combat:SetDefaultDamage(34) 34 is default spear for reference Link to comment https://forums.kleientertainment.com/forums/topic/104431-how-do-i-make-a-characters-unarmed-attacks-stronger-than-with-a-weapon/#findComment-1172622 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now