Post by dk6025 on Sept 9, 2008 0:37:35 GMT -5
Hi! :)I'm DK6025. I've been at the pav for awhile, but I think I may have earned my place here among RM2's best and brightest.
Inspired by Raithwall, I came up with a way to minimize Enemy Units as well as Unit Placement. Essentially, it works by having one enemy call others based on Map number. Here are the specifics;
Step 1:
Create an enemy from scratch(don't copy and paste, it will only need one directing command)we'll call him "Sorter". Set it's action status to Death(This clears it from battle once it's task is complete). Then create an Enemy Movement from scratch. Lastly, create a unit comprised of one "Sorter".
Step 2:
Make the following short script:
Random Var.0?3
Data:Variable:Temp Var.8=0?3//This can be set to the total amount of enemies per map.
Next, make this script to sort the enemies by Map#:
Enemy Sort 2
Script Branch:Sort:Variable[Map Number]
Apply If:0//Or whatever Map# you choose.
Call[Random Var.0?3]
Sort:Temp Var.8
Apply If:0
Enable Call Enemy[Goblin]
Call Enemy[Goblin]
To End
Apply If:1
Enable Call[Dragon]
Call[Dragon]
To End
(Repeat for all enemies in the area)
Script Branch:End
To End
Script Branch:End
Next make this script to tie it all together:
Enemy Sort 1
Data:Variable:Temp Var.9=3
SB:Repeat:Temp Var.9 N= 0
Call[Enemy Sort 2]
Data:Variable:Temp Var.9=Temp Var.9 -1
Wait 7F
SB:End
Apply Together
Camera:Veiwpoint Target
Color:Black,Black,Black,Black, Trans.100% 30F
Apply In Order
Step 3:
Create a sytem event for Enemy Sort 1. Place this event in "Sorter"'s Enemy Appear slot. Then, in the Battle Opening script, remove the Color:B,B,B,B,T100% 30F command(This is replaced at the end of Enemy Sort 1).
Modify the common Enemy Appear script with these commands(Optional, but a maximum of 3 enemies can be called, this will add more randomly for a max of 5 depending on size);
Call[Random Var.0?3]
SB:Condition:Temp Var.8<1
Enable Call Same Enemy
Call Same Enemy
Make one Unit placement for Dungeons and another for World Map.
Make seperate Units and "Sorters" For Land, Sea, Air, and any other specific Units you want to place. This should greatly reduce the number of enemy units made, and add some randomness to dungeons.
Inspired by Raithwall, I came up with a way to minimize Enemy Units as well as Unit Placement. Essentially, it works by having one enemy call others based on Map number. Here are the specifics;
Step 1:
Create an enemy from scratch(don't copy and paste, it will only need one directing command)we'll call him "Sorter". Set it's action status to Death(This clears it from battle once it's task is complete). Then create an Enemy Movement from scratch. Lastly, create a unit comprised of one "Sorter".
Step 2:
Make the following short script:
Random Var.0?3
Data:Variable:Temp Var.8=0?3//This can be set to the total amount of enemies per map.
Next, make this script to sort the enemies by Map#:
Enemy Sort 2
Script Branch:Sort:Variable[Map Number]
Apply If:0//Or whatever Map# you choose.
Call[Random Var.0?3]
Sort:Temp Var.8
Apply If:0
Enable Call Enemy[Goblin]
Call Enemy[Goblin]
To End
Apply If:1
Enable Call[Dragon]
Call[Dragon]
To End
(Repeat for all enemies in the area)
Script Branch:End
To End
Script Branch:End
Next make this script to tie it all together:
Enemy Sort 1
Data:Variable:Temp Var.9=3
SB:Repeat:Temp Var.9 N= 0
Call[Enemy Sort 2]
Data:Variable:Temp Var.9=Temp Var.9 -1
Wait 7F
SB:End
Apply Together
Camera:Veiwpoint Target
Color:Black,Black,Black,Black, Trans.100% 30F
Apply In Order
Step 3:
Create a sytem event for Enemy Sort 1. Place this event in "Sorter"'s Enemy Appear slot. Then, in the Battle Opening script, remove the Color:B,B,B,B,T100% 30F command(This is replaced at the end of Enemy Sort 1).
Modify the common Enemy Appear script with these commands(Optional, but a maximum of 3 enemies can be called, this will add more randomly for a max of 5 depending on size);
Call[Random Var.0?3]
SB:Condition:Temp Var.8<1
Enable Call Same Enemy
Call Same Enemy
Make one Unit placement for Dungeons and another for World Map.
Make seperate Units and "Sorters" For Land, Sea, Air, and any other specific Units you want to place. This should greatly reduce the number of enemy units made, and add some randomness to dungeons.