Kal Spawner- terrain tag or region?

Kensei Takezo

Warper
Member
Joined
Oct 2, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Hello everyone! So I'm doing some spawnings with Kal's spawner in combination with Falcao's ABS Pearl v3 (yes I have Sixth's patch) in my dungeons and realized that I have some maps that I want enemies to spawn only in certain areas. I know it already has the function of spawning on passable tiles but in a multilevel dungeon they spawn on all levels. My scripting skills are next to nil (minor modification here and there) and I'm not sure how to implement this. I'm almost certain that it can be done and if anyone can assist it would be greatly appreciated. Thanks in advance.
 

Dymdez

Newbie-in-Chief
Veteran
Joined
Feb 4, 2014
Messages
752
Reaction score
154
First Language
English
Primarily Uses
I'm having a hard time visualizing the problem, can show you us? Also, seeing as Falcao and Kal are not active, your best bet is to summon @Sixth
 

Kensei Takezo

Warper
Member
Joined
Oct 2, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Here is what I mean:


I have a spawner that spawns enemies


spawner-event.png


With the current script I am unable to keep the spawned enemies to the lower level unless I use multiple spawners with limited range.


What I'm hoping to do is be able to draw a region or use a terrain tag so I can use only one spawner. Like this:


spawner-region.png
 

Dymdez

Newbie-in-Chief
Veteran
Joined
Feb 4, 2014
Messages
752
Reaction score
154
First Language
English
Primarily Uses
Well, I actually just don't understand how this problem even arises.  The events spawn on the event spawner.  You can easily keep the events where you want them by just adding blank events to "block" the passageways you don't want them traversing.  Unless your spawned events can fly? What are they?  Alternatively, you could use this script to keep any events you want in a certain area.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
I updated the patch I made for this with the options you asked for.


Additionally, fixed another issue with the random position spawning.


Script is at the same place, but for convenience: http://pastebin.com/HZ9JbfpR .
 

Kensei Takezo

Warper
Member
Joined
Oct 2, 2015
Messages
3
Reaction score
0
First Language
English
Primarily Uses
The dungeon above is actually much larger and has a maze of sorts in the unshown area. I actually have the script you linked already. The problem arises when I use this option


<spawn-pos random:X>


You have to use multiple spawners if you want to have more than one type of enemy spawn. It would take alot more events to manipulate the areas that they spawn in increasing the cost. With the script you linked I would only be able to block where they ALL can go, not specific types. 


Thanks a ton @Sixth
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,854
Messages
1,016,998
Members
137,562
Latest member
tamedeathman
Top