Jump to content

Titanhex

+ Sponsor
  • Content Count

    1,504
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Titanhex

  1. Titanhex

    Fishing Script

    Thanks for the error report. I'll be sure to look into it. Might take me a bit to fix it, but I'll give it a shot using the info you've given me.
  2. First I suggest you check out Fomar's tutorial on getting the most out of Custom Formula. This will help you understand how these work and modify them. http://www.rpgmakerv...ormulae-part-1/ For many of the novice and intermediate game developers here, they may not know where to find the script snippets we can call to use in Custom Formula. (They're in Game_BattlerBase) Even if they did know, some would not know how to interpret them and use them to their full extent. Some may also not realize the use or see some uses for these snippets. I want to remedy that and provide a list, with the help of any contributors, of skill ideas we can do with the custom formula. Please contribute freely! First, I'd like to drop off this list. This list is all the .stat values we can use in custom formula. While the tooltip shows atk and def, it does not show pharmacology and evasion. This shows you them: def mhp; param(0); end # MHP Maximum Hit Points def mmp; param(1); end # MMP Maximum Magic Points def atk; param(2); end # ATK ATtacK power def def; param(3); end # DEF DEFense power def mat; param(4); end # MAT Magic ATtack power def mdf; param(5); end # MDF Magic DeFense power def agi; param(6); end # AGI AGIlity def luk; param(7); end # LUK LUcK def hit; xparam(0); end # HIT HIT rate def eva; xparam(1); end # EVA EVAsion rate def cri; xparam(2); end # CRI CRItical rate def cev; xparam(3); end # CEV Critical EVasion rate def mev; xparam(4); end # MEV Magic EVasion rate def mrf; xparam(5); end # MRF Magic ReFlection rate def cnt; xparam(6); end # CNT CouNTer attack rate def hrg; xparam(7); end # HRG Hp ReGeneration rate def mrg; xparam(8); end # MRG Mp ReGeneration rate def trg; xparam(9); end # TRG Tp ReGeneration rate def tgr; sparam(0); end # TGR TarGet Rate def grd; sparam(1); end # GRD GuaRD effect rate def rec; sparam(2); end # REC RECovery effect rate def pha; sparam(3); end # PHA PHArmacology def mcr; sparam(4); end # MCR Mp Cost Rate def tcr; sparam(5); end # TCR Tp Charge Rate def pdr; sparam(6); end # PDR Physical Damage Rate def mdr; sparam(7); end # MDR Magical Damage Rate def fdr; sparam(8); end # FDR Floor Damage Rate def exr; sparam(9); end # EXR EXperience Rate Now we can use a ton of stats for our formulas! 1. How do we change the users stats when we're targeting someone else? a.stat -= \ += \ %= \ *= \ /= n Any time we put a = after a math symbol, we're telling the game to set that number to the value we get after doing that math. What can we do with this? So many things. You can cause backlash or reward for using skills. Specifically I created a skill that deals damage back to the user based on HP. r = a.hp*0.3;a.hp -= (a.hp*0.1).round;r - b.def/2 2. How do we check for a state on a target? .state?(n) Where n is the number of the state we're checking for. What can we do with this? We can do a lot. Boost damage if a state is applied, do increased healing if a state is applied, the list goes on and can be coupled with anything in the list of things we can do. Specifically I created a backstab that deals extra damage if the enemy is Surprised. b.state?(50) ? r = a.atk * 12 : r = a.atk * 4 ; r - b.def * 2 3. How do we check if we're removing a state on a target? .erase_state(n) This saves us a little work. Basically, it both removes the state and checks if there was a state to remove. What can we do with this? We can do anything extra if the state is successfully removed. For example we can do extra healing if we remove poison, or deal extra damage if the target is stunned but remove stun. Specifically I made a skill that heals HP and cures poison, but takes 3 extra mana if it removes poison. if b.erase_state(2) ; a.mp -= 3 ; end ; 50 4. How do we use elemental defense for calculations? .element_rate(n) This is returned as a decimal value. 1 = 100%, 3 = 300%, 0.5 = 50%. What can we do with this? Some really interesting and fun stuff. You can make it so you heal more if you're weaker to fire, or recover more HP if you're strong to ice. You can check if your resistance is below a certain amount and then do something. Specifically I created a fire spell that deals more damage the weaker you are to fire. (a.mat * 2 - b.mdf * 2)*a.element_rate(3) 4a. What about states? .state_rate(n) 5. Can we apply debuffs and buffs? .add_debuff(param, turn) .add_buff(param, turn) Turn is the turn number for the buff to last and param is the parameter number we're debuffing. What can we do with this? We can set a debuff to happen by a random chance when attacking, or buff the user. Here I've put a 50% chance to buff your defense for 2 turns when you attack, and deal 150 damage. rand(100) <= 50 ? a.add_buff(3, 2):0;150 6. Can we stop an enemy from acting without using a stun status? .remove_current_action This can allow you to make a disruption skill that will stop an enemy from taking an action, great for fast characters. You may want a random chance on this though. What can we do with this? I've made a simple one round "stun" with a 35% chance of happening and deals a flat 50 damage. if rand(100) <= 35;b.remove_current_action;end;50 7. Can we hide an ally in battle or make an ally appear? .hide .appear These two will make an enemy or ally hidden from battle or make them reappear. There are certainly some uses for skills like this or even just events in battle. When an enemy is hidden, it doesn't give EXP. When a character is hidden, you do not receive a game over when the battle ends. What can we do with this? We can have summons that hide characters or enemies. We can even create individual escape mechanisms, like a % chance for just the user to escape by hiding them. There's a lot of possibilities for this skill. I'll help you by going through some not-so-obvious set-ups. Make all enemies on the battlefield appear: $game_troop.members.each {|enemy| enemy.appear} Make a specific enemy appear: $game_troop.members[n].appear Make a specific ally in your party appear (if hidden): $game_party.members[n].appear Make all allies in your party appear (if hidden): $game_party.members.each {|ally| ally.appear} 8. Can we get the base value of a stat? . param_base(param_id) Unfortunately I can't tell you all the parameter IDs, but I'm sure once you figure them out this may be of use. We can also check the added or debuffed amount from a parameter. .param_plus(param_id) .param_min(param_id) 9. Can we force an ally or enemy to use a skill (even if they haven't learned it)? Yes! .force_action(n, n) The first n is the skill id. If you randomize or array it, you can probably do some interesting stuff. The second n is the target index, where -2 is the last target selected and -1 is a random target. What can we do with this? Fun stuff! Things like make them heal or use a specific attack. Specifically I used mine to force an ally to use a random spell in the list on a random target. b.force_action(3+rand(15), -1);0 This one unfortunately has some limitations, please keep these in mind when using Force Action. Problems: If used on the user, the user repeats the spell. You must make sure a.id != b.id. If the enemy or actor has used their turn already, they will not act. You must make sure the skill with force action will always go first. I'm not sure how the target indexing works, and cannot guide you to use it. Appendix A: List of Conditions we can check: #-------------------------------------------------------------------------- # * Determine if States Are Addable #-------------------------------------------------------------------------- def state_addable? #-------------------------------------------------------------------------- # * Determine Buff Status #-------------------------------------------------------------------------- def buff?(param_id) #-------------------------------------------------------------------------- # * Determine Debuff Status #-------------------------------------------------------------------------- def debuff?(param_id) #-------------------------------------------------------------------------- # * Determine if Buff Is at Maximum Level #-------------------------------------------------------------------------- def buff_max?(param_id) #-------------------------------------------------------------------------- # * Determine if Debuff Is at Maximum Level #-------------------------------------------------------------------------- def debuff_max?(param_id) #-------------------------------------------------------------------------- # * Determine if Skill/Item Has Any Valid Effects #-------------------------------------------------------------------------- def item_has_any_valid_effects?(user, item) #-------------------------------------------------------------------------- # * Determine Usability of Normal Attack #-------------------------------------------------------------------------- def attack_usable? #-------------------------------------------------------------------------- # * Determine Usability of Guard #-------------------------------------------------------------------------- def guard_usable? #-------------------------------------------------------------------------- # * Determine if Enemy #-------------------------------------------------------------------------- def enemy? #-------------------------------------------------------------------------- # * Determine if Actor or Not #-------------------------------------------------------------------------- def actor? return false end #-------------------------------------------------------------------------- # * Determine if Action is Possible #-------------------------------------------------------------------------- def movable? exist? && restriction < 4 end #-------------------------------------------------------------------------- # * Determine if Character is Confused #-------------------------------------------------------------------------- def confusion? exist? && restriction >= 1 && restriction <= 3 end #-------------------------------------------------------------------------- # * Determine if Guard #-------------------------------------------------------------------------- def guard? special_flag(FLAG_ID_GUARD) && movable? end #-------------------------------------------------------------------------- # * Determine if Substitute #-------------------------------------------------------------------------- def substitute? special_flag(FLAG_ID_SUBSTITUTE) && movable? end #-------------------------------------------------------------------------- # * Determine if Preserve TP #-------------------------------------------------------------------------- def preserve_tp? #-------------------------------------------------------------------------- # * Determine if State Is Resisted #-------------------------------------------------------------------------- def state_resist?(state_id) #-------------------------------------------------------------------------- # * Check K.O. State #-------------------------------------------------------------------------- def death_state? #-------------------------------------------------------------------------- # * Check State #-------------------------------------------------------------------------- def state?(state_id) @states.include?(state_id) end
  3. Titanhex

    Thex Character Creation

    Part of: Thex Tutorial & Demo Systems DEMO: Thex Character-Selector & Creation What is this? Excerpt from the Intro Event comments: This is a character creation run through. The options are basic, but those are not the emphasis of this tutorial. The emphasis is on how you select the graphic for your character. This is a beginner to intermediate level tutorial. You'll need to understand loops, conditional branches, variables, and switches. You should also learn basic system design concepts like index. There's 4 examples. The one where you start is a very nice scrolling menu that goes up/down with the characters. The first one at the top is very basic and simple, but doesn't show the next character in the list til you hit left/right. The other are variations of the starting map, which show how to do horizontal scrolling and use fewer characters than the map size. The way it works is you are asked what gender you are, what your name is, and then what you look like. Inputting extra options such as race & class should be easy if you look at the system. It's mainly to show off how to make a pleasing character design system using events. Give it a try!
  4. Hey I'm having a major issue with the forum. Whever I try to add people to a discussion, or invite people to a discussion, or compose a new discussion with multiple people in it, the forum tells me these people don't exist. USERS: Firen GaiaVellir Stryke I've had this issue before. What's wrong with the board?
  5. New PMs is fine. Adding them to the discussion from the side box, or putting them into the Additional Recipients line, results in the same outcome of the "User not existing"
  6. Titanhex

    Thex Number Displayer

    Part of: Thex Tutorial & Demo Systems note: The tutorial is in the Demo DEMO: Thex Number Displayer What is this? Excerpt from the Intro Event comments: Ever seen a GUI in the old RM2K games where they couldn't use scripts and wondered how they showed numbers all the way up to 999,999 with pictures? Surely their heinous sorcery must've been illegal back then, and they were all burned! Well, I've uncovered their dark ritual, and am willing to share it. Prepare all your lambs and virgins! In all seriousness, it was a simple math formula with some conditional branches. Now we have even easier methods to do it via script calls. I will show you both. This is a beginner to intermediate tutorial though. It requires knowing how to use variables, conditional branches, and show picture. We'll be using the 1s, 10s, 100s, etc. places in math to do this. All you do is break down each place in a number and get them to the 1s place. It's all in the tutorial and even the spoilered out comment above. i.e. 500, 60, 2 i.e. 0, 40, 1. Check it out!
  7. Ace Academy needs tutors. If you like helping people learn art/music/game design, please sign up! http://www.rpgmakervxace.net/topic/24255-tutor-application/

  8. Ace Academy is in need of people to apply as "Teacher-Characters," It's more like playing the part of McGonall or Kakashi, and involves no need to teach RPG Maker.

    1. Show previous comments  1 more
    2. Kuronekox

      Kuronekox

      I had a feeling that was why no one wanted to apply to become a teacher..cause they don't wanna teach people how to use RPG Maker. lol

    3. MinisterJay

      MinisterJay

      Later on today, I just might officially apply hmmm. Lot of ministry stuff to do, but I may just have time :)

       

    4. Euphoria

      Euphoria

      I just don't think I'd do well in a role playing environment :P

  9. Maps are limited at 500x500 In terms of pixels that's 16000x16000
  10. Titanhex

    Thex Character Creation

    Sadly, GameCreations is right. In order to make it show a specific face, you will need to use conditional branches. I doubt it would have been hard to add an option in the software to pick an actor face graphic, but the developers of RMVXA had oversighted it. It is doable with call script, but it's messy. I'm sure there's a few scripts out there that can handle this though, like modern_algebra's ATS.
  11. Some news: Application deadlines for Ace Academy have been extended to June 18th to allow us to better fill each house.

    1. RagingHobo

      RagingHobo

      What are the counts so far?

    2. Hirei

      Hirei

      Hm I might have to join this :)

       

  12. Ace Academy is on day 5 of enrollments. Check it out! People have been surprised a concept like this exists and they almost missed it.

  13. We're in Day 5 of Ace Academy student enrollments. Don't forget to submit, incase a change needs to be made! Enrollment ends June 9th @5PM MST. I'll try to upload a tutorial on filling out the app today.

  14. Titanhex

    Variable / Event help please!

    This one is pretty easy. Try either setting XP Difference to 0 at the start of the contents or setting the XP Difference variable instead of adding to it. The variable doesn't initialize back to 0. That's something you have to do. So, you have a residual number hanging around that XP Difference variable every time you use it.
  15. In 5 minutes (6PM MST) I will be hosting a livestream to teach the 3 fundamental mechanics of RPG Maker. Join me: www.twitch.tv/titanhex

    1. Kuronekox

      Kuronekox

      Thanks, it makes more sense now.

  16. I feel like the HP Avatars and Ace Academy Enrollment have a coincidental timing.

    1. Show previous comments  2 more
    2. Titanhex

      Titanhex

      Harry Potter.

    3. LordSquirrel
    4. Jonnie91

      Jonnie91

      It really is a coincidence :D It is kinda funny really...and actually the reason for the avatars is...for another reason ^_^

  17. Incase anyone didn't know, Student Applications for Ace Academy have opened. There's a week left, so no rush. Good luck!

  18. Student Enrollment for Ace Academy begins tomorrow. Hop on board and check it out if you haven't.

    1. NeverBetter

      NeverBetter

      What might this be?

    2. ShinGamix
    3. NeverBetter

      NeverBetter

      Slightly embarrased to say, but I don't meet the minimum requirements. I've only so far managed to make a small map, and that's about it. No dialouge or anything of that nature. I'm such a complete noob to it that I'm still not able to do much else other than lay down tiles and other things of that nature...

  19. Hey Ace Fans. Tomorrow I'm going to be livestreaming a run down of the Ace Academy form, and showing off the concept.

    1. Wren

      Wren

      I'm having problems with gimp replacing the text, any chance you could tell me the font and font size you were using?

    2. Wren

      Wren

      eerr, on the character enrollment form that is

    3. Titanhex

      Titanhex

      Adobe Garamond, but I may just switch it to normal Garamond and reupload it.

  20. Ace Academy is taking Enrollments in one week. If you haven't heard of it, check it out under General Discussion.

    1. ihartrpgs

      ihartrpgs

      I can't wait to submit my character. :)

  21. Ace Academy will be accepting Student Enrollment Forms on June 2nd til June 9th. The Enrollment PSD will be released today.

    1. Brackev
    2. Wren
    3. Stryke

      Stryke

      I've been waiting for this!

  22. Only a few hours to show support for Ace Academy, the project that lets you practice game creation in a Magic Academy ("Hogwarts") setting. http://www.rpgmakervxace.net/topic/23490-official-ace-academy-headcount-thread/

  23. Last day for the Ace Academy headcount thread. Come have fun with us! Ace Academy will be opening this month! http://www.rpgmakervxace.net/topic/23490-official-ace-academy-headcount-thread/

  24. The Deadline for showing your support of Ace Academy is coming up soon. Be sure to post and get ready for enrollments! http://www.rpgmakervxace.net/topic/23490-official-ace-academy-headcount-thread/

  25. I'm livestreaming the basics for RMVX Ace, enough to get you into Ace Academy. Join me now @ twitch.tv/titanhex

×
Top ArrowTop Arrow Highlighted