FltAdm Posted February 17, 2015 Share Posted February 17, 2015 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 Link to comment Share on other sites More sharing options...
rezecib Posted February 17, 2015 Share Posted February 17, 2015 (edited) @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 February 17, 2015 by rezecib Link to comment Share on other sites More sharing options...
FltAdm Posted February 18, 2015 Author Share Posted February 18, 2015 @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 @rezecibi'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. Link to comment 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