#at first i thought about just making the accessory give resistance to “vs Kobold” and everything
Explore tagged Tumblr posts
dravidious · 9 months ago
Note
You're more amazing than cars
Popped open RPG Maker XP this morning and decided to make a game where you play as a kobold and fight humans to save your sibling from hunters who captured them, and the other party members are other monsters, and some enemy skills are effective against certain monster types, but you get an accessory called a "Human Glamour" that makes the party member ignore their species weakness but it also lowers the power of their species-based skills. XP is unfortunately an early entry in the series so it's harder to do unique mechanics, but I managed to get the glamour accessory working! Now I just have to Make The Game
#asks#the idea was inspired by seeing the “vs Goblin” and “vs Angel” and such in the elements section#all my rpg ideas involve adding cool mechanics so i can't do any of those#at least not until i have more experience with this program#so i had to make an idea with the mechanics that already exist#even with this i had to edit a script in the game to implement the glamour#but it works!#it's awkward and hard-coded but it works!#i understand why they released xp for free now#it's so limited in what you can do in it that it makes you want to buy the newer ones that offer more customization#but hey i have an idea now! and i have the tools to implement it!#anyway i wanna talk about the way the glamour is implemented#the way it works is that the player classes have elemental weaknesses/resistances#so the kobold character will have the kobold class which will be weak to the “vs Kobold” element#the glamour accessory applies the “Glamour” status effect which technically doesn't do anything besides reducing the SOUL stat by 50%#but in the code that checks the player character's elemental weaknesses/resistances i added a check for the glamour status#and if it has the glamour status then instead of using the character's class it looks at the human class! it's perfect!#at first i thought about just making the accessory give resistance to “vs Kobold” and everything#but that would make ANYONE who equipped it resistant to “vs Kobold” attacks#and it would make the kobold resistant to all the other “vs Monster” elements too#and i'm not going to make separate accessories for all the party members because that's dumb#i really like this way of doing it! referencing the human class's elemental resistances is such a perfect flavor fit!#and i say it's awkward because it's hard-coded but it's only 5 lines of code#and really it's only 3 lines because 1 line was just very slightly modified and 1 line is just the end of an if statement#still though for my first time doing a script in this game it felt really good to have it work perfectly on the first try!#once i have enough experience with this program i'll just rewrite whatever i need to to implement unique mechanics
1 note · View note