SphereCommunity
Is it "safe" to completely overwrite a skill and replace it? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Is it "safe" to completely overwrite a skill and replace it? (/Thread-Is-it-safe-to-completely-overwrite-a-skill-and-replace-it)

Pages: 1 2 3


RE: Is it "safe" to completely overwrite a skill and replace it? - Extreme - 08-24-2012 02:16 AM

(08-24-2012 02:05 AM)Rayvolution Wrote:  
(08-23-2012 02:36 PM)Extreme Wrote:  Just edit the current skill.mul and rewrite them...
You can edit it with UOFiddler, very easy.

Oh, thats what I do. You can easily change the names of the existing skills.

*but* you can't add new skills to the list, only replace the existing ones. Seems the amount of skills is hardcoded. You can't even remove skills, you have to have all of them there. :/

The only way to remove some of them from the skill list is to disable the expansion pack in sphere.ini that goes with the skill, like Bushido for example.

I guess you could write your own gump to trigger/open when someone opens the skill menu... in theory you could have an unlimited amount of skills because you're bypassing the hardcoded skill tree entirely.
Yes, you can do it.
I think there is a skill editor that you can add or remove the skills, just don't remember where is it.
I will try find it for you.


RE: Is it "safe" to completely overwrite a skill and replace it? - Skul - 08-24-2012 02:28 AM

Yes, that is completely possible Ray, I think you can even do that with:
Quote:- Added @UserSkills ("return 1" cancels the skill window being displayed).
Added in by Kell during the 55r period of sphere's development. So doing something like
Code:
on=@userskills
dialogclose d_skills
dialog d_skills
return 1
would be sufficient enough to overwrite the default in-game skill menu.


RE: Is it "safe" to completely overwrite a skill and replace it? - darksun84 - 08-24-2012 02:55 AM

By the way, from a design point of view, i think it's to better to replace or give some interesting behaviour to the current useless skills like begging, camping , tasteid etc !


RE: Is it "safe" to completely overwrite a skill and replace it? - Extreme - 08-24-2012 03:08 AM

I found this one
http://forum.spherecommunity.net/sshare.php?download=31
But don't know how it works, if someone knows please tell us.


RE: Is it "safe" to completely overwrite a skill and replace it? - darksun84 - 08-24-2012 03:28 AM

It's not bad but ,

The skill window will be disabled - you must implement some replacement on your own server-side.


RE: Is it "safe" to completely overwrite a skill and replace it? - Rayvolution - 08-24-2012 08:14 AM

If I ever need to go beyond the base skill slots, I should be able to just add them into sphere and makeup my own skilltree gump anyway though?

Downside is as far as I know, without being really gimmicky I don't think I could make the custom gump update automatically, it would have to be closed/reopened to see any skill changes.

Although I guess I don't have to worry for the time being, I have 7 standard UO skills im removing, thats plenty of space for expansion. Smile


RE: Is it "safe" to completely overwrite a skill and replace it? - Extreme - 08-24-2012 11:14 AM

(08-24-2012 08:14 AM)Rayvolution Wrote:  If I ever need to go beyond the base skill slots, I should be able to just add them into sphere and makeup my own skilltree gump anyway though?

Downside is as far as I know, without being really gimmicky I don't think I could make the custom gump update automatically, it would have to be closed/reopened to see any skill changes.

Although I guess I don't have to worry for the time being, I have 7 standard UO skills im removing, thats plenty of space for expansion. Smile
Yeah, you will need close and reopen it, but, using the @SkillGain trigger, you can check if the 'skill gump' is opened then close and open again.
You will not have problem with this.


RE: Is it "safe" to completely overwrite a skill and replace it? - Gil Amarth - 08-24-2012 04:12 PM

If you want to have more than 57 skills, then yes, it´s a option. But 57 skills is a lot, and is difficult to have more skills than that.

In my opinion, it´s better to replace old skill which are near useless, like begging o taste id. Or others skill that you don´t want in your server like bushido o ninjitsu if your server is for roleplay and you don´t want that theme.

I have renamed this skills as "Not avaliable", and modified skills.mul accordingly, You can also edit group skills, so all "Not avaliable" are together. It´s not a bad solution.


RE: Is it "safe" to completely overwrite a skill and replace it? - admin phoenix - 08-24-2012 11:42 PM

if you rescript you skillgump some feature will be missing like resizing and scrolling. the last one can be simulated with a trick.
long time ago, I rescripted the skill menu. It was ok but now I renamed the skills in the muls and it is better.
But as someone know I am rescripting the paperdoll and so I had to softcoded the skill gump again Smile


RE: Is it "safe" to completely overwrite a skill and replace it? - darksun84 - 08-24-2012 11:53 PM

can you explain the scrolling trick ?

thank you