Skills For Xp Based Mod
Hi I'm Frozen Usp!
ATM i'm working on a mod that with 4 classes. The problem is i don't know how to put skill in the races. Ex. Regeneration for HP and AP, Speed and gravity... -= !Stay Frozen! =- |
Re: Skills For Xp Based Mod
Don't ask for PM's / emails, the forum isn't just so you get help.
If someone else found your thread, looking for exactly the same answers, they want to see the answers, not "I've send you a PM of exactly what you need to know" :-D Step one is to work out when the skills are required. e.g. HP/Armour - on spawn regen - starts on spawn, should get called every few seconds. speed - changes whenever weapon changes. I'll show you the examples you posted: Code:
|
Re: Skills For Xp Based Mod
Okey,
i going to try to make it work but how about if you whant to putt like speed on a special class? Where can i find the scripting tutorials for XP Mod? +karma |
Re: Skills For Xp Based Mod
The tutorial is right here ( and on the first page of the code snippets / tutorials forum ... )
I recommend you read through that before thinking how skills apply based on character class. |
Re: Skills For Xp Based Mod
My Plugin is based 100% on that tutorial.
It works fine the thing is i got 4 classes but no skills in them thats what i need help with |
Re: Skills For Xp Based Mod
Hehe.
What you need to do, is before each "skill" function, check if the user is the right class. e.g. Code:
Code:
|
Re: Skills For Xp Based Mod
Is There Any chance you can do something like this
Code: if ( PlayerClass[id] == CLASS_SCOUT ) if ( PlayerClass[id] == CLASS_MEDIC ) set_user_maxspeed(id,(get_user_maxspeed(id)*1 .5)) // and give them a 50% speed increase. |
Re: Skills For Xp Based Mod
Quote:
|
Re: Skills For Xp Based Mod
What is the Change weapon effect?
if i post the code can you fix it? |
Re: Skills For Xp Based Mod
okey i got it working
can you fix the code so it works? |
| All times are GMT -4. The time now is 16:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.