SphereCommunity
How to change the Player SkillClass - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: How to change the Player SkillClass (/Thread-How-to-change-the-Player-SkillClass)

Pages: 1 2 3 4 5 6


RE: How to change the Player SkillClass - Mordaunt - 12-17-2012 06:21 AM

Ores are a resource that is found when you go and mine in the mine.
Unless you have messed with your sphere_region.scp...


RE: How to change the Player SkillClass - AmpereJoule - 12-17-2012 10:15 AM

(12-17-2012 06:21 AM)Mordaunt Wrote:  Ores are a resource that is found when you go and mine in the mine.
Unless you have messed with your sphere_region.scp...

I never changed my "sphere_region.scp", and I found what was wrong, I was mining with my GM account herp derp,
thank you \o\.


PS 2: Hey, I want that every skill grows every stats (str, dex, int) to the max stats,
what do I have to change? (I was thinking in changing it in every skill at
c:\sphere\script\skills),
example: in "sphere_skill_alchemy.scp"
[SKILL 0]
DEFNAME=SKILL_ALCHEMY
KEY=Alchemy
TITLE=Alchemist
DELAY=3.0,1.0 // per stroke.
ADV_RATE=10.0,200.0,800.0
VALUES=1,20,100
BONUS_STATS=1500
BONUS_STR=500
BONUS_DEX=500
BONUS_INT=500
STAT_STR=5 }
STAT_INT=75 } What does these 3 do? Is it how much of str,dex,int that I need to have to use "mortar and pestle"?
STAT_DEX=40 }


RE: How to change the Player SkillClass - RanXerox - 12-17-2012 11:26 AM

ADV_RATE=10.0,200.0,800.0
These numbers plot a curve on a graph...
100 successes at 0% to gain .1, and
2000 successes at 50% to gain .1, and
8000 successes at 100% to gain .1 skill
It doesn't make sense for these numbers to have decimals.

VALUES=1,20,100
This is also a plot of values on a graph.
The amount of value an item created with the skill gets at skill levels 0%, 50% and 100%.

STAT_STR=5
STAT_INT=75
STAT_DEX=40
You will tend toward these stat valuess if you use this skill a lot.

BONUS_STATS=1500
Is the percent chance that the skill will succeed based on stat levels. = 1500%
It doesn't make sense for this to be more than 100.

BONUS_STR=500
BONUS_DEX=500
BONUS_INT=500
This is the percent that each stat will add toward success.
It doesn't make sense for these to be greater than 100.

None of these things has an effect on whether you can use a mortar and pestle.


RE: How to change the Player SkillClass - AmpereJoule - 12-17-2012 10:41 PM

(12-17-2012 11:26 AM)RanXerox Wrote:  ADV_RATE=10.0,200.0,800.0
These numbers plot a curve on a graph...
100 successes at 0% to gain .1, and
2000 successes at 50% to gain .1, and
8000 successes at 100% to gain .1 skill
It doesn't make sense for these numbers to have decimals.

VALUES=1,20,100
This is also a plot of values on a graph.
The amount of value an item created with the skill gets at skill levels 0%, 50% and 100%.

STAT_STR=5
STAT_INT=75
STAT_DEX=40
You will tend toward these stat valuess if you use this skill a lot.

BONUS_STATS=1500
Is the percent chance that the skill will succeed based on stat levels. = 1500%
It doesn't make sense for this to be more than 100.

BONUS_STR=500
BONUS_DEX=500
BONUS_INT=500
This is the percent that each stat will add toward success.
It doesn't make sense for these to be greater than 100.

None of these things has an effect on whether you can use a mortar and pestle.

Thank you \o\.
________________________________________________________________EDIT |
____________________________________________________________________ V
So, I get another problem |:, I changed the physical armor of iron chest*(i mean LEGGINGS)* and arms to 20, but it is not working. I changed it at:
C:\sphere\scripts\items\armors
in the script: "sphere_armor_blacksmithing_platemail.scp".
Do I also have to change it in other script? Or it is only the wrong script?
The armor is in percent?


RE: How to change the Player SkillClass - Shaklaban - 12-17-2012 10:52 PM

http://wiki.sphere.torfo.org/index.php/Armor_Calculation


RE: How to change the Player SkillClass - Staff_Stanic - 12-18-2012 12:42 AM

Aconselho a você não usar o button 0 para escolha de classe não, por que ele é usando quando fecha-se um dialog.
Dai se alguém fechar o menu vai estar escolhendo a classe "Guerreiro".
Ficando assim:
Code:
.........................................
button 300 280 025fe 02601 1 0 1
button 300 320 025fe 02601 1 0 2
button 300 360 025fe 02601 1 0 3


[DIALOG D_classes BUTTON]
ON=1 3
...........................



RE: How to change the Player SkillClass - AmpereJoule - 12-18-2012 01:55 AM

(12-18-2012 12:42 AM)Staff_Stanic Wrote:  Aconselho a você não usar o button 0 para escolha de classe não, por que ele é usando quando fecha-se um dialog.
Dai se alguém fechar o menu vai estar escolhendo a classe "Guerreiro".
Ficando assim:
Code:
.........................................
button 300 280 025fe 02601 1 0 1
button 300 320 025fe 02601 1 0 2
button 300 360 025fe 02601 1 0 3


[DIALOG D_classes BUTTON]
ON=1 3
...........................

I think we must talk only in english here.

And this menu can't be closed, the only way to close it is by disconnecting or choosing a class. Very nice, don't you think? \o\


PLEASE LOOK AT MY PROBLEM WITH ARMOR.
I made a video, here it is: http://www.youtube.com/watch?v=kZOwUO6ZdXo&feature=youtu.be


RE: How to change the Player SkillClass - darksun84 - 12-18-2012 01:59 AM

it can be closed with the close dialog macro Tongue


RE: How to change the Player SkillClass - Staff_Stanic - 12-18-2012 02:24 AM

(12-18-2012 01:55 AM)AmpereJoule Wrote:  
(12-18-2012 12:42 AM)Staff_Stanic Wrote:  Aconselho a você não usar o button 0 para escolha de classe não, por que ele é usando quando fecha-se um dialog.
Dai se alguém fechar o menu vai estar escolhendo a classe "Guerreiro".
Ficando assim:
Code:
.........................................
button 300 280 025fe 02601 1 0 1
button 300 320 025fe 02601 1 0 2
button 300 360 025fe 02601 1 0 3


[DIALOG D_classes BUTTON]
ON=1 3
...........................

I think we must talk only in english here.

And this menu can't be closed, the only way to close it is by disconnecting or choosing a class. Very nice, don't you think? \o\


PLEASE LOOK AT MY PROBLEM WITH ARMOR.
I made a video, here it is: http://www.youtube.com/watch?v=kZOwUO6ZdXo&feature=youtu.be

You are from brazil so... but alright Smile.
I have not seen the "NOCLOSE" however is better to you change this Tongue


RE: How to change the Player SkillClass - RanXerox - 12-18-2012 03:53 AM

I think you need a couple things... in the sphere.ini, you need to enable the COMBAT_STACKARMOR and FEATURE_AOS_DAMAGE

You need to set ARMOR=0 (or just comment it out) on all armor and clothes items... instead of using ARMOR, you use TAG.RESPhysical

In a global player and npc event, you use @equip and @unequip triggers to affect MODAR, something like this:

Code:
IF (<TAG0.RESPHYSICAL>)
      SRC.TAG.RESPHYSICAL=<EVAL <SRC.TAG0.RESPHYSICAL> - <TAG0.RESPHYSICAL>>
      SRC.MODAR -= <TAG0.RESPHYSICAL>
      IF (<SRC.TAG0.RESPHYSICAL>==0)
         SRC.TAG.RESPHYSICAL=
         SRC.MODAR=
      ENDIF
   ENDIF