-
Content Count
96 -
Joined
-
Last visited
Community Reputation
10 ⋆About sokita

-
Rank
Cutie Lover
- Birthday September 6
Profile Information
-
Gender
Male
RPG Maker Information
-
RM Skill -
Jack of All Trades
-
What RPG that can be made with peacefully world setting?
-
sokita started following Pushing Items Across Rooms, Project Destroyer by Neon Black, Does anyone else have problem running more than 1 parallel process or Autorun event? and and 2 others
-
Project Destroyer by Neon Black
sokita replied to LordSquirrel's topic in Completed Scripts/Plugins/etc.
Oh, great! Anti piracy script! With script call included! -
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
Hmm, it is just for MaxMP itself, isn't it? I want to do something like, my MP got doubled if [doubleMP] state applied. So, if that state applied when my MP is full (equal to MaxMP), it ended with me gaining double amount of MaxMP. Edit: I got it! On BattlerBase def refresh state_resist_set.each {|state_id| erase_state(state_id) } @hp = [[@hp, mhp].min, 0].max @mp = [[@mp, mmp].min, 0].max @hp == 0 ? add_state(death_state_id) : remove_state(death_state_id) end I commented out the third line and then I can exceed the limit. My guess is, that mmp inside bracket could be replaced with certain number, 0 is its minimum so it can't be negative. So, I want to double the MP if the state applies, I simply make it as boolean. CMIIW. -
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
Umm, I want to let MP can exceeds MaxMP, which section of script that I need to change? -
Does anyone else have problem running more than 1 parallel process or Autorun event?
sokita replied to philteredkhaos's topic in Editor Support and Discussion
I think it is because the rule of event id, one with smaller ID will run first, so, if autorun event has smaller ID than one with parallel process, autorun wil go first. And autorun will cancel other event process, so if there are parallel process running on the background, then an autorun event is triggered, autorun will block parallel process too. Maybe this is why there are common events? -
Preparing for a Virtual pet game (o.O)
sokita replied to cuongeke1's topic in Theory and Development
Just don't forget about "daily login bonus" for player... -
Someone made an event as pseudo player 2, disable some input and override them with parallel process so player 2 can moving with that disabled input. But, that just a minigame where you avoids rocks.
-
Why not doing it with one large map and player touch event? So, every time main chara touches the pot, the pot will move away from player then check if its (pot) new position is on the right position (you can set this with conditional branch that comparing variables or just do a script call like "$game_player.x == right x). The next problem from doing this is handles the case if the pot being stuck at room corner.
-
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
Thanks again. So, one strip for "and" and two strip for "or", right? So... if we do .compact! to $data_items, database will be changing? -
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
Well, yes, although it might be better to say that when calling .each on an array (or a range, or a hash even but it works slightly differently for hashes) that it steps through each value in the array and passes it to the block you specify. You notice I used .compact and that just makes a version of the array without any nil value, but this means the index is shifted a bit, but in this case the index isn't important. For example, another thing you can do is this: ($data_items || $data_weapons || $data_armor).compact.each {|item| $game_party.gain_item(item, amount)} Which will get all the items and armor and weapons together. You could even say, do a .select to run a regex match on the items name to make sure it's not blank or to only match particular names or other tricks. I actually made a whole series of scripts to do stuff like that, but I haven't really released them yet I don't think. Let me understand this more, I am bit confused. First, I think you can't use that code to get all items and armors and weapons together, I tried it and only get items. Second, about compact, what will happen if we are using .compact! ? I am still learning tho -
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
Hmm thanks to Killozapit and Glasses that answered my question. But, where does item argument refer to? Is it $data_items[id]? EDIT: Wait, why I am asking a redundant question? Thank you for helps, Killozapit and Glasses (are you Mr.Trivel?), and Happy new year! -
Ruby/RGSS3 questions that don't deserve their own thread
sokita replied to kal's topic in Programming
1. I am trying to measure $data_items using this way i = $data_items.size p i there are 20 items inside my item database, but when I am using that code, it puts 21 on console. So, how to measure the size (amount of items in database) properly using script? 2. How to using $game_party.gain_item(id,amount) so I can get all items at once using this code? i = $data_items.size loop do $game_party.gain_item(id,amount) #id will be based on i, so It will resulted adding all items i =-1 break if i<0 end I hope my explanation is clear. Thanks for your help. -
A good game. I am waiting for a contest about this game... at challenge zone
-
So artistic! Do you planned these to be used in a game, right? If yes, you need to think about mapping system too. I mean about passability, especially about that lighting on Under Ruins map.


