Damage Configuration

Topics regarding Scripting with Reality Factory
Post Reply
Shanik
Posts: 11
Joined: Fri Jun 15, 2007 1:04 pm

Damage Configuration

Post by Shanik »

I'm still making my Sonic platform game and now I was wandering if there was a code that could be changed, in order to make the pawns receive damage just by jumping on them.

Thanks in advance.
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Didn't you ask the same thing in the other thread...? :roll:
http://www.realityfactory.info/forum/vi ... php?t=2454
Pain is only psychological.
Shanik
Posts: 11
Joined: Fri Jun 15, 2007 1:04 pm

Post by Shanik »

Oh yeah, I forgot. Sorry. :oops:

So to do damage to pawns, do I just need to change jumpondamageattribute in my PlayerSetup.ini? :?
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

Shanik wrote:So to do damage to pawns, do I just need to change jumpondamageattribute in my PlayerSetup.ini?
Well, yeah. You might also want to change jumpondamage, minimumjumpondistance and maximumjumpondistance. They define the maximum damage that can be done by jumping on something and the distances after which damage starts to occur and after which the full damage is done.
Pain is only psychological.
Post Reply