This is a WIP, i am working on a code that is customizeable for class systems (ex. Mercenary, Ninja, etc). This is for people new to c-script or for anyone that wants a template for making classes.
Right now it is very small and is to only point users in the right direction.
Editing the code is very simple, classes are defined under Class_Type. Each class is Class1, Class2...
Each ability for each class is like so
Ability(number of class)_(number of ability)
ex. Ability1_1, Ability1_2...
I have it both in dll and wdl format. dll is still written in cscript, it is just in dll for easy startup.
Class System Beta 1.0 (leads to download page on filefront)
for now it is so small that i will not post code here, the file is only 2kb, zip format
For people new to c-script you can change the names of the classes by defining them like below:
define Class1, Ninja;
And to add them to skills
define Ninja, Skill1; //or define Ninja, Flag1;
function main
{
Ninja = Class1;
////code for level below
}
to allow the name of the skill to be visible in Wed just put
//uses Ninja
above the action of the player or object it must be right above it like so:
//uses Ninja
action player_act
Note: keep in mind that this is to help people new or inexperienced to c-script, or it can help you if you are lazy and don't want to write your own template code
