Confusion about weapons / damage etc

gekido

Member
TLDR: I can't figure out how shootable weapons damage things?

Couple of questions:

1) how do I define how much damage a specific shootable weapon causes? I thought it would be in the hitscan shooter module, but I don't see anything that seems like it would be damage amount?

2) if I want to apply damage to something, I'm kind of at a loss how to do this?

In this case it's an AI not controlled by Opsive, not sure if this is the correct way to listen for damage. Basically what's the recommended way to listen for damage / hit events on an external script? Should I be using the Surface system for this? doesn't seem right to me...

Thanks in advance,
Mike W
 
1) how do I define how much damage a specific shootable weapon causes? I thought it would be in the hitscan shooter module, but I don't see anything that seems like it would be damage amount?
That's under the impact module group. The demo scene weapons use the simple damage module.

2) if I want to apply damage to something, I'm kind of at a loss how to do this?
You can add the health component to any object.
 
Top