Jump to content
Sign in to follow this  
NorXTream

Respawning and scaling enemys.

Recommended Posts

Good day everyone.


I recently started working on a little solo title in which i wanted to have only a single town split in 9 maps basically like a 3x3 field.

Random encounters would be weird and i didnt like the idea of it.

 

I was starting to think

"How can i create respawning and scaling enemies,similar to what, for example, south park: The stick of truth does."

So i came up with 2 ideas.

First of all.
Enemies: I wanted to do a global variable which is increasing by 1-3 every time i neter a different screen and resets to 0 after 10 is reached. Every number spawns certain NPCs which engage with you on the map on certain spots. And every map is half of the numbers. so basically you have a 50% chance of seeing enemies (you dont have to encounter them)
Then:
I can use a trigger at certain stages in the game whichw ill progress the game. I then copy all maps the amounts of times i want to progress the game, lets say 6.i would do 6 copys and just edit the transportation event, taht if the trigger is indeed true,you transport to a different map-

 

 

 

This isnt a very good solution to the problem.

The enemies spawn at random at first and everytime you fight 1 , it will re appear somewhere else
also

i had the idea to have a global variable,that everytime you accumulate X amount of experience( X being the number of exp you need for the level up) replaces the enemie with the same enemy just 1 levle higher. That however would mean that ihave to create, if the max level is 10, 10 times the same enemy with slightly changed stats.

Also not very artfull.

 

Now some questions:
Can you give the enemy a modifier that with every level YOU do HE gets a certain amount of stats?
Is there a better solution to the "not random encounters" which will "randomly spawn across all 9 maps"?


What i wanted to know is whetever or not you could come up with more artfull ways to solve this, or even a script, anyone got an idea?

Edited by NorXTream

Share this post


Link to post
Share on other sites

Moving to General RM :x

Share this post


Link to post
Share on other sites

I haven't found anything that specifically deals with respawning in the lists of scripts out there, but I ran across a few helpful tools for making the system a little less limited. It's not exactly what you're asking for but I hope that if you don't find your solution these will help you ^^

 

Since I'm not sure what you're going for I'll give you a flurry of links:

 

 

 

 

:)

Edited by Neverward

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted