Sign in to follow this  
FltAdm

HELP OUT. CODING

Recommended Posts

FltAdm    0

im planning of some special ability or whatsoever, but i don't know how to start it.

 

btw here are the details:

 

i only know how to add the self_absorb. and other basic code in editing a mod.

what i want to happen  is that when the character takes damage it will somehow absorb some damage then the rest will damage the sanity. 

 

the idea was like the sanity armor.

but the damage absoprtion is not to high...somewhat like the damage absorb of the wood or grass armor.

 

 

 

...will appreciate help from you guys .thanks

Share this post


Link to post
Share on other sites
rezecib    3170

@FltAdm, HI, LOOK AT DATA/SCRIPTS/PREFABS/ARMOR_SANITY.LUA. I BELIEVE YOU CAN ATTACH A SIMILAR FUNCTION TO ONTAKEDAMAGE TO AN ONHITFN IN THE COMBAT COMPONENT.

Edited by rezecib

Share this post


Link to post
Share on other sites
FltAdm    0

@FltAdm, HI, LOOK AT DATA/SCRIPTS/PREFABS/ARMOR_SANITY.LUA. I BELIEVE YOU CAN ATTACH A SIMILAR FUNCTION TO ONTAKEDAMAGE TO AN ONHITFN IN THE COMBAT COMPONENT.

 

well thank you @rezecib

i'll try this later.

actually i'm still quite confused about the coding of files lol...i only know about the basic, but i'll try my best.

Share this post


Link to post
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
Sign in to follow this