Could there be a script for there to be more than 8 monsters in enemy encounters? I'll commission someone for it (in RPG Maker XP)
More than 8 Monsters in Enemy Encounters (RPG Maker XP)
RGSS Script Requests
Enemy Reinforcements
https://www.youtube.com/watch?v=W4nke1P8P3oThis script allows you to combine and remove troops from battle. You can add other troops to the current battle, or add individual enemies from other tro
himeworks.com
Nevermind. This is the second time I posted an ace solution to a xp problem. Starting to feel like the mv users.
I remember Moghunter's Plugin for Multiple Battles in a Single Encounter. You could check out his Plugins here : Link
Let me remind everyone this is under RMXP.
I'm not aware of any scripts that allow one to break the troop enemy limit. It would also interfere with the battle-related event commands (though there are script-call equivalents one could utilize instead). In any case, the script would be selecting multiple troops from the database and merging them together under $game_troop. I think the battle logic just loops through all the enemies (rather than a for-loop up to 8) so there shouldn't be too much work involved.
I'm not aware of any scripts that allow one to break the troop enemy limit. It would also interfere with the battle-related event commands (though there are script-call equivalents one could utilize instead). In any case, the script would be selecting multiple troops from the database and merging them together under $game_troop. I think the battle logic just loops through all the enemies (rather than a for-loop up to 8) so there shouldn't be too much work involved.
@Air_In This forum is for free requests only. We have a commission section that's available to everyone with (more than) 30 posts.
What about a battle arena aka coliseum like battle where you can face several monster teams in a row? (And get prizes for defeating all of them...)
Just asking in case that sounds intriguing enough to spark your curiosity...
Just asking in case that sounds intriguing enough to spark your curiosity...
I'm making something like this, but for MV rather than XP I'm afraid.
This is for MV, I'm talking about XP
Well, that's exactly why I told you about the battle arena like script...
Part of my procedural generation code which is heavily embedded in my other code.
Let me try to bring it out and see if it can work for you...
The original code is...
You just need to define "team" as an enemy group no matter how many enemies you want.
"gettroopid" can be any id you want to set to.
For example:
If you set gettroopid to 1.
Then, next you just need to call the enemy troop 1 in database to fight.
The script shall overwrite its pre-define in the database.
Now how to make the "team"
In the above script?
Here is a simple answer:
team = []
for I in 0..17
team.push(13)
end
Let me try to bring it out and see if it can work for you...
The original code is...
id = gettroopid
$data_troops[id] = RPG::Troop.new
$data_troops[id].id = id
$data_troops[id].name = myname
for i in 0...team.size
$data_troops[id].members[i] = RPG::Troop::Member.new
$data_troops[id].members[i].enemy_id = team[i]
if type == 0
$data_troops[id].members[i].x = 320 - (80 * (i - team.size / 2))
$data_troops[id].members[i].y = 220
elsif type == 1
lane = 4
ll = i % lane
$data_troops[id].members[i].x = 320 - (80 * (ll - lane / 2))
$data_troops[id].members[i].y = 180 + (i / lane) * 60
elsif type == 2
$data_troops[id].members[i].x = 100 + rand(430)
$data_troops[id].members[i].y = 100 + rand(200)
end
end
return id
You just need to define "team" as an enemy group no matter how many enemies you want.
"gettroopid" can be any id you want to set to.
For example:
If you set gettroopid to 1.
Then, next you just need to call the enemy troop 1 in database to fight.
The script shall overwrite its pre-define in the database.
Now how to make the "team"
In the above script?
Here is a simple answer:
team = []
for I in 0..17
team.push(13)
end
############IT'S JUST ME TALKING TO MY PAST SELF VIA CODE#####
###############LET'S JUST DO IT FROM HERE###################
So, now let's put it together,
you make a function like this
def the_troop_that_has_more_than_8_enemies
gettroopid = 1
team = []
type = 0 #this is to select a formation.
for I in 0..17
team.push(13) #here is your enemy id
end
myname = "this does not matter"
id = gettroopid
$data_troops[id] = RPG::Troop.new
$data_troops[id].id = id
$data_troops[id].name = myname
for i in 0...team.size
$data_troops[id].members = RPG::Troop::Member.new
$data_troops[id].members.enemy_id = team[i]
if type == 0
$data_troops[id].members.x = 320 - (80 * (i - team.size / 2))
$data_troops[id].members.y = 220
elsif type == 1
lane = 4
ll = i % lane
$data_troops[id].members.x = 320 - (80 * (ll - lane / 2))
$data_troops[id].members.y = 180 + (i / lane) * 60
elsif type == 2
$data_troops[id].members.x = 100 + rand(430)
$data_troops[id].members.y = 100 + rand(200)
end
end
return id
endIn event, you call script "the_troop_that_has_more_than_8_enemies"Then, you fight enemy group no.1
You will see 18 enemies(whose id is 13 in the database) in the enemy group.
If you don't like the formation, then change "type" in the code
If type = 2 then things are a bit chaotic. 😛
Term of use:
Credit me as "orochi2k" in your game or sell your soul to me by wishlist my game or bring a victim to sacrifice their soul to me by forcing them to wishlist my game or just buy my game when it's released.
Do any one of the deeds above that you feel is the least evil, and that is enough. 😂
But, I really wish you will do all of them. 😂
Sorry, I lost too much sanity when making games. 😉
@orochi2k - blue and red text are reserved for moderator and admin use only. Can you please edit your post to use a different colour? Actually, looks like you might have used red in a few of your posts. If you could please go through and change them, that would be appreciated.
Thanks.
Thanks.
Aww.. sorry. 😅
And done. 😉
I was just trying to highlight the important part as the entire post is a bit long
Original thread: https://forums.rpgmakerweb.com/threads/more-than-8-monsters-in-enemy-encounters-rpg-maker-xp.124382/