Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Boulder to Switch, Using boulders to unlock doors.
nijal
post Aug 16 2011, 01:19 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 27
Type: Writer
RM Skill: Skilled




I've spent 2 days trying to figure out how to solve this problem and I still can't solve it.
Basically the equation is: Move away event (boulder) + Switch = unlocked door. There are 5 boulders and 5 switches.
My attempts would include:
1. Having all the switches on parallel
>Control Variables Screen X and Y
That caused the switches to activate without even pushing the boulder on top of each one; all I had to do was push a boulder past each one.
2. Having them on Same as character
This lead to them acting pretty oddly because if I don't shove the boulder really hard, the switch wouldn't activate and the graphic for the switch would be above the boulder.

I'm currently using Switches instead of Variables because the Variable numbers go past 10 when a switch is activated.

And then I just went through random attempts hoping to solve the problem. May someone please tell me how to solve this problem, thank you.


__________________________
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
nijal
post Aug 17 2011, 09:57 AM
Post #2


Level 2
Group Icon

Group: Member
Posts: 27
Type: Writer
RM Skill: Skilled




What you suggested works!

OH MY GOSH IT WORKS!
ALL CAPS PRAISE!

However, what I did differently is that I used 2 Variables: 0017 for Map X and 0018 for Map Y. For all 5 different boulders.
Everything else was set and what you suggested was also included.
Each switch event when coordinates (Constant) are matched would turn on a Switch: S1-S5.
Those switch events were set as: Below Character and Parallel Process.
The boulders however, are set as: Same as Character and Event Touch.

Thanks for your help.

Also to ask; whenever I Transfer to the location of the area with the boulders, the boulders' positions reset. In your opinion, do you think I should fix this or just leave it alone to just leave as path obstacles?


__________________________
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Aug 17 2011, 11:52 AM
Post #3


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




QUOTE (nijal @ Aug 17 2011, 10:57 AM) *
What you suggested works!

Dam straight. thumbsup.gif
QUOTE
Also to ask; whenever I Transfer to the location of the area with the boulders, the boulders' positions reset. In your opinion, do you think I should fix this or just leave it alone to just leave as path obstacles?

Aye, it just reloads the map as if it's a new one (which explains why there aren't any changes), unless you make a PPr the moves them to a location when a switch is on. You can test this by turning the switch on in the F9 menu, but they'll only go to the locations you set for them.
Some games leave map changes (ex: in X-men legends 2, the walls that me n' Rogue demolished by punching guys through them remain broken when you backtrack) but others don't (ex: f----ing Zelda. Link, you're useless dry.gif )
It's really up to you. I made a puzzle like this where you have to push/pull crates and when you go back to it one of the characters asks who moved them back.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 04:35 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker