Jump to content

Kanonelsebas

Member
  • Content Count

    40
  • Joined

  • Last visited

About Kanonelsebas

  • Rank
    Someday I'll finish that!
  • Birthday 06/03/1981

Contact Methods

  • Website URL
    http://kanonelsebasdev.blogspot.com.ar

Profile Information

  • Gender
    Male
  • Location
    Argentina
  • Interests
    Anime, Manga, Music, Drawing, learning, and Stuff.... o.o

RPG Maker Information

  • RM Skill -
    Jack of All Trades

Recent Profile Visitors

2,260 profile views
  1. I've opened a Twitter account, a blog, and updated my profile on forums. So many ideas to carry out. So little time. :(

  2. Kanonelsebas

    Error trying to get armor id to a variable

    First of all, I have no words to thank you enough that you've taken the time to write a script to help me solve the problem. I could finally take the time to try it, and it works beautifully. No more popping out errors. If you do not mind, if I have any complications, I will be in contact via MP, as this Topic can be closed as Solved. (I feel kind of Dumb, Since I should have warned I've used a "Extra Slots" Script I realize just now lol.) Actually, I have 7, but one was taken away individually xD Don't worry, they are completely easy to understand. No problem, I get it from the example you left. Does people actually Do that? I mean, taking credit from a Script they didn't write? That's just low. And You, My dear Sir, gonna get all the credit, I can't thank you enough! xD Thank you for your help, guys! So Happy xD
  3. Kanonelsebas

    Error trying to get armor id to a variable

    I've tried the script you posted, but get the same error: Script 'Game_Interpreter' line 1409: NoMethodError occurred. undefined method `equips' for [2]:Array The strange thing is, with that script the variable don't get any value at all. The common event doesn't work. The first one does, but get an error when 'nil' is a value. I don't know what else try...
  4. Kanonelsebas

    Error trying to get armor id to a variable

    Ok, that didn't work either. So, I have RPG Maker in Spanish, so instead of posting a screenshot which not many people would understand xD, I typed the common Event in english so is more easy to understand. First: This is The First Common Event I've Tried: Note: This Example is Chequing One Actor, which is on the First Spot in the Party (aka Party Lider) @>Control Variables: [0006:Party_Lider] = 1st Member's Actors 'ID' @>Conditional Branch: Switch [0013:Unequiped] == Off @>Conditional Branch: Variable [0006:Party_Lider] == 2 @>Control Variables: [0042:Lider s0] = $game_actors[2].equips[0].id @>Control Variables: [0042:Lider s1] = $game_actors[2].equips[1].id @>Control Variables: [0043:Lider s2] = $game_actors[2].equips[2].id @>Control Variables: [0044:Lider s4] = $game_actors[2].equips[4].id @>Control Variables: [0045:Lider s5] = $game_actors[2].equips[5].id @>Control Variables: [0046:Lider s6] = $game_actors[2].equips[6].id @>Change Actor Graphic: [Eric], 'Civilians',0,'Actor1',1 @>Script: $game_actors[2].change_equip(0, nil); : :$game_actors[2].change_equip(1, nil); : :$game_actors[2].change_equip(2, nil); : :$game_actors[2].change_equip(4, nil); : :$game_actors[2].change_equip(5, nil); : :$game_actors[2].change_equip(6, nil) : Branch End @>##~Comment~##: This Part is repited for every Actor. : : So, if Variable [0006] = 3, that's actor3, and so on. @>Control Switches: Switch [0013:Unequiped] = On : Else @>Conditional Branch: Variable [0006:Party_Lider] == 2 @>Change Actor Graphic: [Eric], 'Actor1',0,'Actor1',1 @>Script: $game_actors[2].change_equip_by_id(0, : $game_variables[42]); : $game_actors[2].change_equip_by_id(1, : $game_variables[43]); : $game_actors[2].change_equip_by_id(2, : $game_variables[44]); : $game_actors[2].change_equip_by_id(4, : $game_variables[45]); : $game_actors[2].change_equip_by_id(5, : $game_variables[46]); @> : Branch End @>Control Switches: Switch [0013:Unequiped] = Off : Branch End If the Actor has an equipment in every Slot, the common evet works completly fine. But, if the Actor has any Slot Empty, then this error is given: Script 'Game_Interpreter' line 542: NoMethodError occurred. undefined method 'id' for nil:NilClassSo I've Tried This One: @>Control Variables: [0006:Party_Lider] = 1st Member's Actors 'ID' @>Conditional Branch: Switch [0013:Unequiped] == Off @>Conditional Branch: Variable [0006:Party_Lider] == 2 @>Script: if $game_actors[2].equips[0].id == nil : $game_variables[42] = 0 : else : $game_variables[42] = $game_actors : [2].equips[0].id : end @>Script: if $game_actors[2].equips[1].id == nil : $game_variables[43] = 0 : else : $game_variables[43] = $game_actors : [2].equips[1].id : end @>Script: if $game_actors[2].equips[2].id == nil : $game_variables[44] = 0 : else : $game_variables[44] = $game_actors : [2].equips[2].id : end @>Script: if $game_actors[2].equips[4].id == nil : $game_variables[45] = 0 : else : $game_variables[45] = $game_actors : [2].equips[4].id : end @>Script: if $game_actors[2].equips[5].id == nil : $game_variables[46] = 0 : else : $game_variables[46] = $game_actors : [2].equips[5].id : end @>Script: if $game_actors[2].equips[6].id == nil : $game_variables[47] = 0 : else : $game_variables[47] = $game_actors : [2].equips[6].id : end @>Change Actor Graphic: [Eric], 'Civilians',0,'Actor1',1 @>Script: $game_actors[2].change_equip(0, nil); : :$game_actors[2].change_equip(1, nil); : :$game_actors[2].change_equip(2, nil); : :$game_actors[2].change_equip(4, nil); : :$game_actors[2].change_equip(5, nil); : :$game_actors[2].change_equip(6, nil) : Branch End @>Control Switches: Switch [0013:Unequiped] = On : Else @>Conditional Branch: Variable [0006:Party_Lider] == 2 @>Change Actor Graphic: [Eric], 'Actor1',0,'Actor1',1 @>Script: $game_actors[2].change_equip_by_id(0, : $game_variables[42]); : $game_actors[2].change_equip_by_id(1, : $game_variables[43]); : $game_actors[2].change_equip_by_id(2, : $game_variables[44]); : $game_actors[2].change_equip_by_id(4, : $game_variables[45]); : $game_actors[2].change_equip_by_id(5, : $game_variables[46]); @> : Branch End @>Control Switches: Switch [0013:Unequiped] = Off : Branch End Which Gives This Error, even when the Actor has all slots of equipment occupied: Script 'Game_Interpreter' line 1409: NoMethodError occurred. undefined method `equips' for [2]:ArrayHope I didn't mess up with the transcribed Events xD
  5. Kanonelsebas

    Error trying to get armor id to a variable

    First of all, thank you so much for answering this Topic. If I'm reading this correct, this script will equip back the actor with the equipment based on the variable, right? But that is not the problem. The thing is, I can take off and on the equipment. But: If nothing Is Equipped, then the slot of equipment checked is "nil", not "0", so the variable gets no value, and then there's the Error (I guess) So, based on that little script you posted, I've tried to make this script call for every slot of equipment (from 0 to 6) if $game_actors[2].equips[0].id == nil $game_variables[42] = 0 else $game_variables[42] = $game_actors[2].equips[0].id end But, I get This Error: Script 'Game_Interpreter' line 1409: NoMethodError occurred. undefined method `equips' for [2]:Array I'm using Galv's Simple Debug and I Just realize that the first Variable, 42, which should give a value of 3, gets this value: Variable 42 = #<Game_actors:0x9a6c684> So, in short, the problem is that when the value of a Empty Equippment Slot is "Nil", I get an error instead of a value "0" for the variable. Thanks for the Help Guys, hope there's a solution for this....
  6. Kanonelsebas

    Help with fall off terrain

    Falcao's interactive System has a fall feature. You just have to pick a terrain ID to set the tile that the player can fall in. Also, in his blog theres a more simple script that doesn't have all the tools like bombs, and barrels, in case you just want the fall system. http://www.rpgmakervxace.net/topic/6540-fa-interactive-system-v-20-tools/ Greetings!
  7. Kanonelsebas

    Kanonelsebas's Maps

    Thank you so much Lydyn for taking the time to highlight those errors! I see what you mean, and I'm gonna try to fix it. I think I kinda know how to make things more coherent. I really appreciate your feedback! Really helpful! Thank you! Thank you Rikifive for taking the time to comment! I really appreciate! As soon as I fix the maps I'll Update the post. Thank You all for the help to improve my mapping. Greetings!!
  8. Kanonelsebas

    Kanonelsebas's Maps

    Thank you very much Floki for your comments. I'm glad you like my maps. I'm still looking for a way to fix the world map. For me it also lacks something, perhaps smaller buildings, or some texture to give more life. I share three new maps that I just finished. Another mountain peak, and two caves. Mountaint Top 2: Cave 1 Cave 2 Try as much as possible to avoid straight edges, because I think that strip coherence and integration from the maps in general, and perhaps I use too many shadows lol. Lanterns and bonfires are events, and in game, the light they give off is a little less bright. I hope you like them! Greetings!!
  9. I've started a parallax for a Tent's Interior, based on the battle background, which is a Round shaped Tent. But, the map Tent is kind of square... ewe

  10. Kanonelsebas

    Error trying to get armor id to a variable

    Below: What you want might be "nil", to unequip what ever is there, like so. Ok, I just tried this, and still get an error. I remove the scripts that gets the ID of the equipment and the code works fine. If I use this: $game_actors[2].change_equip(0, $data_weapons[0]); or this: $game_actors[2].change_equip(0, nil); Works just fine, the equipment is removed. But, the trouble seems to be the variable getting a "0" or "nil" value when nothing is equipped. That's when I get an error. Hope someones has an idea that can work ------------------------------------------------------------------------------------------------------------------------------------------------------------- I was asking this because I have many actors, so for every party member and position I have to copy, paste and edit every single script call xD It's something like: And So on, with all the actors, the again with the second position of the party member. (All actors again) So, If something like this can be done: $game_actors[$game_variables[6]].change_equip_by_id(0, $game_variables[42]); I just need to copy the code and paste it in every conditional branch without editing, and that saves a lot of time XD. Anyway, thank You So much for answer!
  11. Kanonelsebas

    Error trying to get armor id to a variable

    Tank you very much for the answer. Unfortunately it's not the solution I need. I already have a method to get the ID of the equipment and works fine. The problem is that if the ID I get from any equipment slot is "0", I get the error Previously described. Anyway, thanks for the answer.
  12. Kanonelsebas

    Kanonelsebas's Maps

    I see what you mean. I've tried to fix that with more shadow contrast, and erasing some borders to make it more integrated... I think now it looks more coherent. And this is a new map I'm working on. Still missing some details on top, but the rest is over, i think xD Thank you Asura for your observations, and Thank you Sugar Hype for for stopping by. Glad you Liked It!
  13. Ehm... hope it's the right place to ask. So, I got this complex common event used to Unequip the party gear, and then put it on again. I have 6 variables getting the ID of every slot of equipment: Example: Variable 42 Script: $game_actors[2].equips[0].id Then script calls to unequip the equipment (redundant lol) $game_actors[2].change_equip(0, $data_weapons[0]); If the actor has all his slots occupied, everything goes fine. But! When the player has nothing equiped on any slot, and try to unequip it, I get an error: Script 'Game_Interpreter' line 542: NoMethodError occurred. undefined method 'id' for nil:NilClass Any help? Just in case, the script calls used for re-equip the actor is: $game_actors[2].change_equip_by_id(0, $game_variables[42]); ------------------------------------------------------------------------------------ (Also, is there a way to change this script call: $game_actors[2].change_equip_by_id(0, $game_variables[42]); to use a variable to get th id of the actor who is getting the equipment again? Like: $game_actors[$game_variables[6]].change_equip_by_id(0, $game_variables[42]); or something? I've tried the above and didn't work, neither if I replace the [] whit () Greetings!
×