Jump to content

Home

Matching experience script.


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...