Shanghai Simple Script - Large Enemy Partymade by Shanghai
Link/ScriptClick hereIntroductionThis script allows you to have more than 8 enemies in a single troop party. Unfortunately, since troops in the database don't have noteboxes, all of the work needs to be done inside of the module.
How to UseThe instructions are difficult so pay attention if you know what's good for you. Just like the introduction said, to add more enemies to your troops, you must edit the module itself. They are worked as follows:
CODE
X => [ #------------------------------------------------------------------
# Add your troops in between these lines
# [Enemy ID, X Position, Y Position, Hidden, Immortal],
#------------------------------------------------------------------
[ 2, 70, 240, false, false],
#------------------------------------------------------------------
# This ends Troop # 1.
], #------------------------------------------------------------------
X is the troop ID in the database that you want to edit to have the extra members in. If you look in the database and Slime*2 is the first item on the list, then X is 1. If it is the fifth item on the list, then X is 5. Easy.
Next, you'll have to edit this array. This array makes the new enemy.
CODE
[Enemy ID, X Position, Y Position, Hidden, Immortal],
Enemy ID is the ID of the enemy, plain and simple. If you want a Rat added in and its number in the database is 5, then the ID is 5.
X Position and Y Position are the screen positions of the enemy on the screen. The X Position is the horizontal position and the Y Position is the vertical position. Far left is 0. Far right is 544. Top is 0 while bottom should be 288 at most (you can go further, but that goes below the status window).
Hidden and Immortal are the right click options you get in the troops editor. Setting either of these to true or false will make the enemy hidden or immortal. I strongly suggest you don't mess with these and leave them as false unless you know what you're doing, because the only way to alter these in battle would be through some rather complicated script calls.
There, you have your first enemy done. If you want to add more, just make a new line under it and add in another one of those arrays like this:
CODE
[Enemy ID, X Position, Y Position, Hidden, Immortal],
[Enemy ID, X Position, Y Position, Hidden, Immortal],
There, now you've added another new enemy. Do the same thing you did before to change how you want the enemy to appear for the first and you're done. If you still can't figure it out, follow the examples in the module.
And a slight warning, the more enemies you add, the more likely there is going to be lag in your game. This is not something I can fix.
Compatibility- Compatible with
Battle Engine MelodyFor more Shanghai Simple ScriptsVisit Here.Message of LeaveAnd this will be my last script for a while. I'm leaving on vacation later this week and I figure I'll stop on script #50 after scripting something new for 50 straight days. Whether or not I come back and care to script more will depend on me after I come back from vacation.