lfnetwork.com mark read register faq members calendar

Thread: Healing Aurora
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-03-2013, 04:14 PM   #1
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 326
Current Game: Modding.. Wait is that a game?
Healing Aurora

So basically I have a Kolto tank that you can walk into and I was wondering is there anyway (not through dialog more like a trigger?) to make it so when you walk into the tank you will heal. Now I do have an idea but I have no clue how to go about this. My idea was to "reverse" the effects of poison (heals you instead of hurts) and make that now "poison" get cast into the PC when he enters the tank. So my question(s):

1. Is the even possible?

2. How would I go about doing this?

Thanks-Supreme Kotor


Current WIP: Learning to mod Kotor

Last edited by supreme kotor; 05-03-2013 at 04:28 PM.
supreme kotor is offline   you may: quote & reply,
Old 05-03-2013, 04:24 PM   #2
Zhaboka
Applesauce Tractor
 
Zhaboka's Avatar
 
Join Date: Apr 2006
Location: California
Posts: 622
Veteran Modder 
Just in case this does get made and released, I believe the word you're looking for is "aura." Sorry for my nitpickiness.



Thank you Gorgod.
Zhaboka is offline   you may: quote & reply,
Old 05-03-2013, 04:34 PM   #3
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 584
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by supreme kotor View Post
So basically I have a Kolto tank that you can walk into and I was wondering is there anyway (not through dialog more like a trigger?) to make it so when you walk into the tank you will heal. Now I do have an idea but I have no clue how to go about this. My idea was to "reverse" the effects of poison (heals you instead of hurts) and make that now "poison" get cast into the PC when he enters the tank. So my question(s):

1. Is the even possible?

2. How would I go about doing this?

Thanks-Supreme Kotor
Well, the trigger is a nice idea for this approach. It is entirely possible, but I have a few questions?

1. Do you want a gradual healing?

2. Do you want negative effects randomly removed or completely removed?

Either way, you can make a trigger, place it in a .git(or through scripting) to cover the proximity of the kolto tank, with a script the trigger activates.


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 05-03-2013, 04:39 PM   #4
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 326
Current Game: Modding.. Wait is that a game?
Quote:
Originally Posted by Fair Strides 2 View Post
Well, the trigger is a nice idea for this approach. It is entirely possible, but I have a few questions?

1. Do you want a gradual healing?

2. Do you want negative effects randomly removed or completely removed?

Either way, you can make a trigger, place it in a .git(or through scripting) to cover the proximity of the kolto tank, with a script the trigger activates.
Thanks I can take care of the trigger... It's more of the script I need help with. And I would prefer negative effects removed and gradual healing but I'm not too picky.

Ps. Thanks Z.


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 05-03-2013, 07:20 PM   #5
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 584
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by supreme kotor View Post
Thanks I can take care of the trigger... It's more of the script I need help with. And I would prefer negative effects removed and gradual healing but I'm not too picky.

Ps. Thanks Z.
If you want, I can get back to you with a script later. All you'll have to specify is how much you want healed and how often. An example being 5 points/second or 15 points/3 seconds, okay?


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 05-03-2013, 07:35 PM   #6
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 326
Current Game: Modding.. Wait is that a game?
Quote:
Originally Posted by Fair Strides 2 View Post
If you want, I can get back to you with a script later. All you'll have to specify is how much you want healed and how often. An example being 5 points/second or 15 points/3 seconds, okay?
Thanks so much Fair Strides we can do 5 points/second that would be perfect. Just out og my own curiosity I tried to make a script myslef looking at some of the scource scripts does any scripter know if this would work for an instant heal?

My script: (Im sorry if the makes you scripters cry it's prob a bunch of garbage)
Code:
#include "k_inc_debug"

#include "k_inc_force"


void main()

{
    
int nItem = GetSpellId();
   
 int nSkill = GetSkillRank(SKILL_TREAT_INJURY);
    
effect eHeal;
   
 int bHeal = TRUE;
   

if(bHeal == TRUE)
    
{
        
eHeal = EffectHeal(nSkill);
        
ApplyEffectToObject(DURATION_TYPE_INSTANT, eHeal, GetSpellTarget());
       
 if(GetTag(OBJECT_SELF) == "GET_FIRSTPC")
        
{
           
 ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(1000), OBJECT_SELF);
        
}


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 05-03-2013, 08:32 PM   #7
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 584
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by supreme kotor View Post
Thanks so much Fair Strides we can do 5 points/second that would be perfect. Just out og my own curiosity I tried to make a script myslef looking at some of the scource scripts does any scripter know if this would work for an instant heal?

My script: (Im sorry if the makes you scripters cry it's prob a bunch of garbage)
Show spoiler
Yep, I'm crying. But a good first attempt. A tip in the future: things like bHeal, which are boolean values, usually have default values(that "=" factor from my tutorial) and those can be found in nwscript.nss.

Also, "GET_FIRSTPC" wouldn't work. You'd need the following:

Code:
if(GetTag(OBJECT_SELF) == GetFirstPC())
I'll get back to you with mine later and you can compare them, 'kay?


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Healing Aurora

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:01 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.