The RPG Maker Resource Kit
RMRK RPG Maker Creation => XP => XP Event Systems => Topic started by: Punk on November 26, 2006, 02:32:26 AM
-
Are you really tired of not seeing your character because (s)he blends in with the map?
3 Common Events
3 Variables
2 Switches
Download this (https://rmrk.net/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa64%2Fpunkid89%2FDemos%2Farrow.png&hash=80f6ee39d29b613afa898159a5d3b488f1048bac)
Create two switches.
Name the 1st "Arrow System"
Name the 2nd "Arrow Display"
Now do the first common event. Name it "coordinates"
Make the trigger parallel process
Condition switch: Arrow System
Do this:
@>Control Variable: [0001: X] = Player's Screen X
@>Control Variable: [0002: Y] = Player's Screen Y
@>Control Variable: [0003: A Variable] = 60
@>Control Variable: [0002: Y] -= Variable [0003: A Variable]
This adjusts the coordinates of the picture.
Next
Make another common event, name it "Button" (Or whatever you want.)
Trigger: Parallel Process
Conditional Switch: Arrow System
@>Conditional Branch: Script: Input.trigger?(Input::L)
@>>Conditional Branch: Switch: [0002: Arrow Display] == OFF
@>>>Control Switches: [0002: Arrow Display] == ON
@>>Else
@>>>Conditional Branch: Switch: [0002: Arrow Display] == ON
@>>>>Control Switches: [0002: Arrow Display] == OFF
@>>>Branch End
@>>Branch End
@>Branch End
Lastly, make a new common event. Name it "Arrow Pictures."
Trigger: Parallel Process
Conditional Branch: Arrow System
@>Conditional Branch: Switch: [Arrow Display] == ON
@>>Show Picture: 1, 'Arrow', Center, Variable [0001][0002]), (100%, 100%)
@>Branch End
@>Conditional Branch: Switch: [Arrow Display] == OFF
@>>Erase Picture: 1
@>Branch End
Screenshots:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa64%2Fpunkid89%2Fscreenies%2FTheforest.png&hash=f63ad2dd5d10950906c81e9cc51115f0abc02f22)
The forest!
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa64%2Fpunkid89%2Fscreenies%2FCantseeme.png&hash=fb396e6b52d0e8a1345fd3b9bd70084744c62aa3)
Where am I?
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa64%2Fpunkid89%2Fscreenies%2FThereIam.png&hash=db1ab0aed7f2dd6fa72afd899e0a1a62fca80d36)
Oh, there I am...
Any questions, comments about this system?
-
ima see if this works on rpg maker 2003
-
I don't get it, whats it do?
-
when your caracter is on the map, you press abutton and you can see an arrow appera over his head, so incase he is behind a tree and your running into a wall you wouldnt know, but now you do
-
Correct. That's what it does. :)
-
Hey, it would be a great idea to make a script do it automatically if the player is behind a tile that has a higher priority than himself.
-
Yes but this is AWSOME!
-
This is awesome!
-
oh! I got a cool idea =D but it need alot of eventing maybe. You walk behind a tree and its opicity drops, so you can see through it =D
-
Yep, it'll require alot of eventing.
-
hm...perhaps. i think this way is just easier. good idea and good job executing it.
-
very good tut mate, but mine dosent seem to work, dunno if im doin it wrong but here is my ss of my Common Events etc etc
http://i115.photobucket.com/albums/n290/Trackys/coords.jpg <<< coordinates
http://i115.photobucket.com/albums/n290/Trackys/button.jpg <<< Button
http://i115.photobucket.com/albums/n290/Trackys/arror.jpg <<< Arrow Pictures
any help would b awsome thanx in advance
-
Hey, it would be a great idea to make a script do it automatically if the player is behind a tile that has a higher priority than himself.
I'll include this in the next release of my Tons of Add-ons. ;8
-
Why doesn't this work for me? And how do I do so that its @> in the beginning of a line and not <>
?????
-
@> (You see this when you have legal RMXP but if you have postality or some other RMXP, you'll see this <> I believe.)