Hi. I am trying to make something similar to a RPG text game, in Visual Basic 6. I know what you want to say "it's not good for text games" but i have my reasons.
The problem i am facing is this: let's suppose i have 3 main skills: meelee, ranged and magic. And let's also suppose that those main skills hava like 20 sub skills : Dagger, Sword, Axe, etc for Meelee;; ShortBow, Sling, LongBow, etc for Ranged;; Fireball, Heal, Thunder, etc for Magic.
This looks quite simple. When i type "fireball" it will do it, when i "stab" it will stab, exactly as the skill sais.
What if i have 15 main skills? I also have Necromancy, Occultism, Elementals, Thievery, so on, each one with at least 20 sub skills. How can i make the main function recognise what i type? I make one CASE for each of them, calling the skill function?
And one more problem: i want my executable as dynamic as possible: if i modify something in my skills, the executable won't be affected. Why recompile the exec after each test? And what if i add more skills in, let's say Necromancy? The new skill is not recognized automatically, and i want it to be recognized.
I have a lot of problems.
Please, if anyone knows how to help, give me at least a few tips. I am not that good in programming and this is not a scholar project, or somehing :p Lol.
Thank you in advance.