SphereCommunity
Skill-related Customization and a few other things.. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Skill-related Customization and a few other things.. (/Thread-Skill-related-Customization-and-a-few-other-things)



Skill-related Customization and a few other things.. - gergecoelho - 07-24-2015 08:56 AM

Hello everyone! Coming back to the Sphere world after a hiatus that lasted several years (old habits die hard, I guess).

I'm rather rusty on my scripting skills and would like to ask you guys the following:

1 - In my shard, I want to merge all "Lore" skills (Anatomy, Arms Lore, Item ID, Eval. INT, Forensics, maybe others) into only ONE skill. How could I do that? (and make it show correctly on the skill menu)
For the case of overlapping utility, like targeting a creature, both the information for Anatomy and INT Eval would show up.

2 - I want to force the clients to have the option "Show Names of Approaching Players" turned off (or some other server-side solution to this), how could I do that?

Thanks in advance for your time, guys. Big Grin Big Grin


RE: Skill-related Customization and a few other things.. - Ultima One - 07-24-2015 06:22 PM

1. with a lot of effort, im not too sure it would be possible due to the skill id's i would guess youd have to simply override one of the skills to contain all the events and triggers from the other skills, and release a patch to rename it in the skill menu and hide the others. You'd basically be creating your own new skill rather than merging those ones.
Its a sizeable job, I've also been out the game for 2 years so I won't make any more assumptions, but it'd be something id probably find a work around for, like when you roll any of those skills from using them, trigger a roll for all of the others so they grow at the same pace, then code in a skill cap which ignores those skills. Its probably not what you want, but its a first thought if it would meet your requirements


RE: Skill-related Customization and a few other things.. - gergecoelho - 07-25-2015 02:53 AM

Seems like an awful lot of work, I think I'll find some way around it. Thanks!

By the way, on the skills, my skill list on the client doesn't show Bushido, Ninjutsu, etc. Which client should I be using for Sphere?


RE: Skill-related Customization and a few other things.. - darksun84 - 07-25-2015 04:30 AM

You have to enable
FEATURE_SE_UPDATE 01 // Basic SE features for bushido and ninjitsu


RE: Skill-related Customization and a few other things.. - gergecoelho - 07-25-2015 07:27 AM

Cool! That worked.

But the client crashes when I try to open a Bushido book, maybe I'm using the wrong version, which one should I use, ideally?


RE: Skill-related Customization and a few other things.. - darksun84 - 07-25-2015 08:27 AM

mondain legacy and above


RE: Skill-related Customization and a few other things.. - gergecoelho - 07-25-2015 09:59 AM

Okie dokie! Thanks! o/


RE: Skill-related Customization and a few other things.. - Nachtmusique - 07-25-2015 11:30 AM

For the names of approaching players, what I do is just check the distance @click and return 1 if the distance is farther than 10. This may not be the best solution, but it has worked for me so far.