lfnetwork.com mark read register faq members calendar

Thread: Matching experience script.
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 06-19-2013, 07:36 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?
Matching experience script.

This will be my last post for today I swear .

I couldent find anything like this so it might be impossible but I thought I should ask anyways. I'm looking for a script that will automatically make a enemy the same level as the PC.

Don't worry about it if its impossible I will just do an experience script every 5 levels using global variables. Although I would like to avoid this as compatabilty is a MUST. So if you have another idea on how to do this please share.

Thanks-Supreme Kotor


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-19-2013, 07:47 PM   #2
Apoc Nizmith
Rookie
 
Apoc Nizmith's Avatar
 
Join Date: Jun 2013
Location: Defense platform 0-932
Posts: 57
Current Game: Knights of the Old Republic
I don't know about KoToR but in most games what it does is a global variable that applies xp to all npcs/creatures/monsters etc in game via a script. What it does is detect the increase in the float value in the system variable (hex, xml etc), so it translates to when you level up so does everything else in game. Maybe try a script similar to that? Adding a protocol that does that may work?


"My apprentice pushed me down a 362 meter shaft directly into the heart of the death star..." Darth Sidious's response as to why he left politics...
Apoc Nizmith is offline   you may: quote & reply,
Old 06-19-2013, 07:54 PM   #3
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?
^ Thanks globalcat.2da is always an option but kind of a last resort type thing, you know what I mean? The goal is to complete this mod with only scripts and utc's to make maximum compatability.

Thanks-Supreme Kotor


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-19-2013, 10:28 PM   #4
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by supreme kotor View Post
This will be my last post for today I swear .

I couldent find anything like this so it might be impossible but I thought I should ask anyways. I'm looking for a script that will automatically make a enemy the same level as the PC.

Don't worry about it if its impossible I will just do an experience script every 5 levels using global variables. Although I would like to avoid this as compatabilty is a MUST. So if you have another idea on how to do this please share.

Thanks-Supreme Kotor
While I haven't looked into it (yet?), I feel like a script to change the level like you want wouldn't be too hard, assuming there are functions for setting that; I don't know whether that would actually automatically affect the attributes of the enemy though (and thus their "strength"), so you might have to come up with a fancier script to fix that.

EDIT: Hmm, I don't seem to see any attribute-changing functions, which I was kind of expecting =/ I did see one that apparently let you set the xp, but I'm not sure if they would level up on their own (and I can't think of any real reason they would, other than, well, to achieve what you want)


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.

Last edited by Malxados; 06-19-2013 at 10:47 PM.
Malxados is offline   you may: quote & reply,
Old 06-20-2013, 12:06 PM   #5
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?
Thanks you very much Malxados but unfortunately I am still in the same spot. I do wonder about that XP script you mentioned though. Maybe it could be modified to do something close to what I'm looking for?

Thanks-Supreme Kotor


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-20-2013, 12:33 PM   #6
Apoc Nizmith
Rookie
 
Apoc Nizmith's Avatar
 
Join Date: Jun 2013
Location: Defense platform 0-932
Posts: 57
Current Game: Knights of the Old Republic
Speculation: Doesn't the game have a auto leveling feature built in? Maybe you could exploit that to level you enemies meatb... hm, master... LOL


"My apprentice pushed me down a 362 meter shaft directly into the heart of the death star..." Darth Sidious's response as to why he left politics...
Apoc Nizmith is offline   you may: quote & reply,
Old 06-20-2013, 12:58 PM   #7
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Oh, also is this for K1 or TSL (or both)?


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 06-20-2013, 01:04 PM   #8
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 Malxados View Post
Oh, also is this for K1 or TSL (or both)?
Both but if its only possible for TSL it's all good.


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-20-2013, 01:13 PM   #9
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by supreme kotor View Post
Both but if its only possible for TSL it's all good.
Apparently, TSL already has some manner of this function in it, governed by autobalance.2da; check out vanir's post on this thread.


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 06-20-2013, 01:24 PM   #10
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 Malxados View Post
Apparently, TSL already has some manner of this function in it, governed by autobalance.2da; check out vanir's post on this thread.
That is always an option but it would still require some scripting magic as this is for ally's I see I accidentally said enemy's in my first page but this is for ally's.

But that does give me an idea I could make them enemies first and then switch them to ally's and they should be somewhere around the same level as the player correct?


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-20-2013, 01:41 PM   #11
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by supreme kotor View Post
That is always an option but it would still require some scripting magic as this is for ally's I see I accidentally said enemy's in my first page but this is for ally's.

But that does give me an idea I could make them enemies first and then switch them to ally's and they should be somewhere around the same level as the player correct?
I'm honestly not sure how that works, exactly; when you say allies, do you mean your characters or someone outside your party who helps you (and if so, could you give an example?)


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 06-20-2013, 02:04 PM   #12
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 Malxados View Post
I'm honestly not sure how that works, exactly; when you say allies, do you mean your characters or someone outside your party who helps you (and if so, could you give an example?)
Sent you a PM.


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-23-2013, 03:12 PM   #13
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Any progress?


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 06-23-2013, 11:53 PM   #14
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 Malxados View Post
Any progress?
Unfortunately I haven't had time to test out any of our ideas yet I was more worried about the parameter thing, but I will attempt to check it out tommorow. I think one of our ideas will get it to work but it will be hacked together and hard to teach anyone. (At least that's the biggest downside I see)

-Supreme Kotor


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 06-24-2013, 01:35 AM   #15
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 222
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by supreme kotor View Post
Unfortunately I haven't had time to test out any of our ideas yet I was more worried about the parameter thing, but I will attempt to check it out tommorow. I think one of our ideas will get it to work but it will be hacked together and hard to teach anyone. (At least that's the biggest downside I see)

-Supreme Kotor
Aight, well I should be gone for several days starting tomorrow, so the best of luck to you =) lemme know how it goes

EDIT: And I don't think the parameter thing should give you too much trouble.


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados 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 > Matching experience script.

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 05:01 PM.

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