Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 10-18-2007, 06:03 PM   #1 (permalink)
Newbie
 
Join Date: Jul 2005
Age: 21
Posts: 11
Talking A few scripting questions

Hi all, I have a few scripting questions involving the scripts you start with. First off I wanted to know if there was a way I could edit the name of spells completly in the mage book, the little icon it gives you for the side, and what you say when you cast it. Another thing I wanted to know if there was a way to delete un wanted skills from the skill pop up or rename them to what I want them to be renamed to. Thirdly I wanted to know if there was a way to change the basic scripts on all axes to use macefighting instead of Swordsmanship.
Gaara_Gaara is offline   Reply With Quote
Old 10-18-2007, 06:19 PM   #2 (permalink)
Forum Novice
 
Dereckson's Avatar
 
Join Date: Dec 2005
Location: Belgium
Age: 25
Posts: 260
Send a message via Skype™ to Dereckson
Default

Hi,

Please don't hesitate to use the return key to create more aerated paragraphs, it's easier to read.

Quote:
Originally Posted by Gaara_Gaara View Post
First off I wanted to know if there was a way I could edit the name of spells completly in the mage book, the little icon it gives you for the side, and what you say when you cast it.
Open your spells folder. You'll find all the spells sorted by levels (one to eight) or system (necromancy, chivalry).

At the top of each spell, you can change the mantra.

Now the icon : it isn't defined by script but in gumpart.mul and gumpidx.mul, you need a software like mulpatcher to edit it.

To see all the editable .mul content, the best tool is InsideUO.

Quote:
Originally Posted by Gaara_Gaara View Post
Another thing I wanted to know if there was a way to delete un wanted skills from the skill pop up or rename them to what I want them to be renamed to.
The "easy" way to do it is to recompile RunUO itself. Search the forum, you'll find a lot of posts explaining you step by step how edit skills and how to recompile.

The easiest way is to work with these skills name.

Quote:
Originally Posted by Gaara_Gaara View Post
Thirdly I wanted to know if there was a way to change the basic scripts on all axes to use macefighting instead of Swordsmanship.
Sure! Open Scripts\Items\Weapons\Axes\BaseAxe.cs and replace:

PHP Code:
public override SkillName DefSkillget{ return SkillName.Swords; } } 
by:

PHP Code:
public override SkillName DefSkillget{ return SkillName.Macing; } } 
Good coding
__________________
La connaissance s'accroît quand on la partage.
Share your knowledge, you'll increase it.

Utopia. Votre Monde.

Last edited by Dereckson; 10-18-2007 at 06:52 PM.
Dereckson is offline   Reply With Quote
Old 10-18-2007, 07:29 PM   #3 (permalink)
Forum Expert
 
Join Date: Nov 2004
Posts: 1,656
Send a message via ICQ to Murzin Send a message via AIM to Murzin Send a message via MSN to Murzin
Default

Quote:
First off I wanted to know if there was a way I could edit the name of spells completly in the mage book,
the mage book is a pre-defined gumpart in the client. to change the name you would have to basically create a whole new gump.

Quote:
the little icon it gives you for the side
that is client side art. not without modifying the client. very advanced stuff.

Quote:
and what you say when you cast it
thats inside the actuall spell file itself. did you even bother to look?

Quote:
Another thing I wanted to know if there was a way to delete un wanted skills from the skill pop up or rename them to what I want them to be renamed to
skills are defined client side. the easiest way to do this is to create your own gump and new skill system seprate from the osi skills. you can disable certian skills, that information is in SkillCheck.cs if you do it right.

Quote:
Thirdly I wanted to know if there was a way to change the basic scripts on all axes to use macefighting instead of Swordsmanship
if you had bothered to even look at the scripts, you would see how easy it is to do this.
Murzin is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5