Notifications
Clear all

Support - Crosshair focus should multiply damage

2 Posts
2 Users
1 Reactions
192 Views
858b7a9677b2d28b61016f231a9445e3b07429654da173c5aff215889dc40620?s=80&d=mm&r=g
(@contracultist)
Active Member
Joined: 1 month ago
Posts: 7
Topic starter  

Hey there, I am really starting to get used to the framework, it's so nicely designed!

After adjusting a lot of UI stuff, I wanted to expand on the FP aim system, since it has great potential for patience awards, as I call it.

I noticed in multiple survival horror game entries, there's a damage multiplier when the crosshair gets perfectly focussed.

I wanted to know how I could integrate this into the framework, since it would reward precision shots even better.

Please let me know if you have an idea, many thanks!



   
Farshad reacted
Quote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 2 months ago
Posts: 98
 

Posted by: @contracultist

Hey there, I am really starting to get used to the framework, it's so nicely designed!

After adjusting a lot of UI stuff, I wanted to expand on the FP aim system, since it has great potential for patience awards, as I call it.

I noticed in multiple survival horror game entries, there's a damage multiplier when the crosshair gets perfectly focussed.

I wanted to know how I could integrate this into the framework, since it would reward precision shots even better.

Please let me know if you have an idea, many thanks!

Hey, glad to hear you’re getting used to the framework! 🙂

You can check the Apply Damage part inside WeaponLineTrace in AC_Combat. The float value used for the damage variable can be passed to your own function to calculate a damage multiplier (for precision shots, for example). Then, the final output from your function should be fed back into Apply Damage.

You can also use DamageClass to implement this feature differently for each weapon, giving you more flexibility to customize multipliers per weapon type.

 



   
ReplyQuote
Share: