Enemy’s Hit points
Enemy’s weapon
Your HP
Your weapon
Your mana
Enemy’s state of health
mana regeneration
Enemy’s magic ability
Your magical ability
I guess you’ll still have to figure out a few more and the advantages of each weapon and magical ability over another and put a little bit of greyed out choices and/or hidden choices . You’ll also decide if the enemy’s damage will be random depending on his level or fixed depending on his stats and for the enemy’s state you could just make a label that will change the enemy’s state after every move depending on the enemy’s live by using the gosub and finally at the end of a fight change it back to the healthiest state . (Or you could just use a temporary stat but that will require putting the fights at different scenes or making lots of temps)
As far as your weapon goes, you need to think: what does this actually do and how.
*set weapon "sword"
will mean that you can check *if weapon = “sword” and do things based on that, but its cumbersome and writing heavy for encounters since it gives you nothing about how it functions and you would have to write that each time.
I put all my inventory weapons into a single scene file so I could call them via subroutine. This way you can set all your stats simply when you change weapon.
e.g. imagine a choice:
you select #change to laspistol
that would lead to:
*gosub_scene subroutines_weapons weapon_laspistol
which would hit *label weapon_laspistol from the list below which would then set all your variables for your various damages and the like.
will role between 1 and whatever value you have for the variable “Gdam_dievalue”. If Gdam_dievalue is 8 it will roll 1-8, if Gdam_dievalue is 10 it will roll 1-10
So if you set a shortsword you need your code to set your max damage value to 8 (in my case “Gdam_dievalue”), while if you set a longsword you need it to set your max damage value to 10.
You can do more complex things if you want, like e.g. manipulate your code into “faking” a 2d4, but imo go with flat 1d10, 1d8, 1d5 etc if you are just starting.
HUZZAH! After a while of dicking around and seeing what stuck, I finally was able to get weapon equip stat values down. It’s just a matter of figuring out all the other stuff now. Thanks again.
I think there is a way to peak into the code, there should be a post somewhere in the forum about it. So let me know if you have problems, but from what I read you seem to be getting the gist. Do remember: no system you implement in choicescript will be perfect, and you’ll have to compromise with some elements
you should have at least the stats system, for the MC, all allied and hostile NPCs, within the game world.
next you need the equipment system to customize your MC and each items should have its own effect, thus you need “database” for those items.
in case you wish to have a party turn-based combat like Suikoden series, then you need equipment system for all possible recruitable characters as well.
the third part is the skill system, unless you want boring combat that only focus on stats amassing, and there will be different calculation and used stats for each skill.
lastly the inventory system, the staple of any RPG-oriented games.
as much as I’m into gameplay and features rather than story, I will give respect to what you’re going to do and hope it will come to fruition.
I had enough with choices where I have to choose my own eye color and question my sexuality in some books talking about war and death, being a bastard child, gods and magic, fantasy world, pirates, martial arts, etc.
I do understand that this forum promotes lovey-dovey cheesy romantic stuffs, but it kills the atmosphere and tension of what the book is telling, by constantly drooling and twisting your nippies.
Skill system, working on it. Levelling system… that’ll be tricky, because I’m not sure how I’m gonna work out how EXP is given to the player. I thought about random encounters, but I don’t want this game to become grindy.
Why not just have a levelling up system without exp. For example let’s say they start at level 1 and then at the end of every chapter they level up by 1.
The problem is, I’m planning on adding in classes + subclasses, meaning I’m not entirely sure how to make a narrative focused level progression system synergize with that. Lots to think about…
i think you need to decide if you want your combat encounters to be narrative or not. If they are not going to be narrative then you can write a (very) big chunk of re-usable code which would work for every combat encounter. The answer to this will really change how you approach your game.
A big chunk of the early game revolves around the PC taking out bandits. Maybe I could script some random encounters? Or maybe a choice to actively start a fight?
As of right now though, I’m still learning how to implement a damage over time system, like bleeding/poison