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
»
RPG Maker Programming
»
Some quick help.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Some quick help. (Read 1481 times)
tekmansam
Associate
Posts: 116
Some quick help.
«
on:
July 27, 2009, 07:16:54 PM »
I have written a code for a custom magic item. Boots of Striding. They use a common event on parallel to check for their equip with a conditional switch, increase move speed while worn, and return move speed when unequipped. They also have a key input command for a start jump, move forward, move forward, end jump so you can leap over obstacles. A friend of mine created a similar code on xp but I am having a lil glitch. Either they continue to function after unequip or they trigger one last time before the condition resets itself to "not equipped" I could probably figure this out if I were to fiddle with it some more but I'm feeling kinda lazy so I thought I'd ask if anybody had any input. I'd paste the code I have if I didn't have to go to work here in a second. If anybody needs or wants to see it I can do it after I get off tonight.
edit: essentially I am asking for a tut on "equip this and you can do
this
, unequip this and you no longer can" type items.
edit: here is a shot of my code. If anyone has a pointer on how to clean this up just a tad that'd be cool. The problems I am having with the code is follows:
1. The jump key only works once and only then after the run cycle has gone through (not during or before). It is not usable again until after the run cycle has completed again.
2. Even with the proceed with movement it sometimes hangs up after the jump or decrease movement speed (but before the sound effect) triggers. Sometimes but not always.
3. At the moment, I have the run cycle set on a 6 second trigger but only because I can't figure out how to make it only run
while
the button is held (if that's even possible) or only while the boots are equipped. The switch stays on after the boots are unequiped for one more cycle before turning itself off like it should.
4. And, as a side note, I dislike the control layout. I understand how to make custom menu command keys and such but is there any way to remap the control configuration? I somehow doubt it but, what were they thinking.
[spoiler="Boots of Striding code"]
[/spoiler]
«
Last Edit: July 28, 2009, 09:08:13 AM by tekmansam
»
Logged
Cookies on dowels HAHA!
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Some quick help.