I was wondering if anyone knows of a script where you can do class changes. Example everyone starts off as same class, lets just say Xenian then at level 15 you can choose from squire, apprentice**, neophyte and acolyte.**
which would be first class change.
example if you choose squire at 15 then at 66 become knight, at 96 warrior, then at 131 warlord.
have the script having at every class change, a quest. To remove squire gear before.
players made a script for ragnarok. but its txt file. not sure if i can use it.
Anyone know if theres a program or editor, that write what you want, and it translates it into C# script.
You can write it on Your own and it will be quite easy task. Trust me You will learn way more this way. I can give You outline how You can design Your system.
First have function that handle level ups. Simple check in update like:
if(exp > requiredExp){
LevelUp();
}
Will handle everything You need for checking if player leveled up. Then in LevelUp function just have checks of what class player currently have and what level he is. Like:
if(playerLevel == 66){
if(playerClass == "Squire"){
//Do stuff
}
}
You can use template class to store all info about each character class like stat boosts, equipment (in a list), abilities etc. Then You can store that template into dictionary, a list where You can use string as Key, so when player levels up You just take all class info from dictionary by just passing it’s key.