Manslayer101
Developer

Reged: Feb 22 2006 Posts: 502 Loc: Usa, or is it japan
hmm...nope |
|
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
-------------------- "And now abides Faith, Hope,
Love...but the Greatest of these is Love"
Simplifying Class Systems
-Peace,
Manslayer101
Edited by Manslayer101
(Sat Jul 29 2006 07:18 AM)
|
Manslayer101
Developer

Reged: Feb 22 2006 Posts: 502 Loc: Usa, or is it japan
hmm...nope |
|
also you must
change the Class_type to:
var
Class_Type;
or
define Class_Type, skill1;
this
way you do not get a read-only error.
i will update the code
soon
-------------------- "And now abides Faith, Hope,
Love...but the Greatest of these is Love"
Simplifying Class Systems
-Peace,
Manslayer101
|
|