Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Scan Magic Tut
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scan Magic Tut (Read 2538 times)
Sephiroth rocks
Acolyte
Posts: 479
Scan Magic Tut
«
on:
August 15, 2004, 03:43:44 PM »
I made this tutorial 100% myself so if you see a tut like this at another site I haven't taken it from there. Anyway here's how to make an FF style scan magic which shows the stats of the opponents (Only with rm2k3):
First go to 'Class' in the database and click on 'set' under the battle commands. Then make a new battle command called 'Scan' or whatever you wanna call your magic. Set the archetype to 'Attack'. Then go to 'Conditions' and make a new condition called 'Scanning' or some thing like that. Set the priority to 90 or something else high, and set the 'Action Restiction' to 'Attack enemies randomly'. Set the susceptibility to 100% at all the slots and set the animation to 1. Then go to 'Monster Groups' and make a new page at one of the groups. Set the event trigger to '(Name of the hero) uses the 'scan' command'. Then make a conditional Branch (Check the 'execute costum handler if condition is not met') 'If (Name of monster) is the target' and change the hero's condition to the 'Scanning' condition we just made. Then make some new variables called 'Scan-HP', 'Scan-MP', Scan-Max MP and 'Scan-Max HP. After that set the value of the new variables to be equal to the monster's HP, MP, max HP and max MP. Then write a message like this:
Name: (Name of monster)
HP: \V[(Number of variable 'Scan-HP)] / \V[(Number of variable 'Scan-Max HP)
MP: \V[(Number of variable 'Scan-MP) / \V[(Number of variable 'Scan-Max MP)
Then remove the 'Scanning' condition from the hero, and copy all the stuff and paste it at the else handlers for every monster in the group. If more than one heroes can use it copy the and paste the whole page (remember to change the monster and hero referances so they fits)
The coding should look like this:
<> Branch if 1: (Name of monster) Targeted
<>Change Cond: (Name of hero) Scanning inflict
<>Variable Oper: [####:Scan-HP] set, (Name of monster) HP
<>Variable Oper: [####:Scan-Max HP] set, (Name of monster) Max HP
<>Variable Oper: [####:Scan-MP] set, (Name of monster) MP
<>Variable Oper: [####:Scan-Max MP] set, (Name of monster)
Max MP
<>Message: Name: (Name of monster)
HP: \V[0001] / \V[0002]
MP: \V[0003] / \V[0004]
<>Change Cond: (Name of hero) Scanning remove
<>
: Else Handler(s)
-The same as in the other one-
And that's it! If you wanna have more stats shown just make some other variables and set the value to be equal to the other stats and show the code in the message. The condition change was only to prevent the hero from attacking the monster. I've tried it and it works!
Logged
peklo1989
Left the house..
Associate
Posts: 194
No longer here..
(No subject)
«
Reply #1 on:
August 15, 2004, 04:04:32 PM »
awesome...
I just added some spells and that to my game.. but I wanted to make scan... Now I can do it... THANX!!!
Logged
This is me for forever, one of the lost ones. The one without a name, without an honest heart as compass
This is me for forever, one without a name. These lines the last endeavor, to find the missing lifeline
Oh how I wish, for soothing rain.. All I wish is to dream again. My loving heart, lost in the dark, for hope I'd give my everything. Oh how I wish, for soothing rain.. Oh how I wish to dream again. Once and for all and all for once, Peklo my name forever more...
chaoticparadox60659
Full Time Farmer, Part Time Angel Of Death
Initiate
Posts: 60
Details? About Myself? Hm... I Hate Writing Biographies!!!
(No subject)
«
Reply #2 on:
August 20, 2004, 10:41:44 PM »
Very Appreciated. YOu Will Have Mucho Credit In My Game...
Logged
- Phuh Q. -
Red Giant
Leader
Posts: 2,608
The best damn bio in the whole damn world. YEAH!!
(No subject)
«
Reply #3 on:
August 20, 2004, 10:54:50 PM »
Mmm. The only downside being that it would take a while to do different stats for each monster.
Good tut. Well done.
Logged
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Scan Magic Tut