AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   War3FT (https://forums.alliedmods.net/showthread.php?t=114010)

Smutny 01-01-2010 08:44

War3FT
 
Hello, I want learn how to correctly add additional skill Levels in war3ft RC13.
Additional Levels currently done but I can't add the fourth point in a given power.
I changed:

Code:

#define MAX_SKILL_LEVEL        3
to:

Code:

#define MAX_SKILL_LEVEL        4
I changed the lines corresponding to the skills, for example:

Code:

new const Float: p_vampiric [3] = (0.10,0.20,0.30) / / Vampiric Aura (skill 1)
changed to:

Code:

new const Float: p_vampiric [4] = (0.10,0.20,0.30,0.40) / / Vampiric Aura (skill 1)
In the game menu appears where you can add the fourth point but logs the following error:

Code:

Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Skill setting 4 to 4 wtf? (6)
Setting skill 6 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 5 to 4 wtf? (6)
Setting skill 6 to 4 wtf? (6)
Skill setting 4 to 4 wtf? (6)

Can someone tell me how to fix it?


All times are GMT -4. The time now is 04:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.