RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

RunUO, Scripting for dummies!

Well first off, i would like to tell you that this thread is NOT leeched or copied and is 100% my idea. Most of you already know this, but for newborn scripters, they can just find out!

Have a script in mind? Maybe.. a chestplate with all 70s resist with the name 'Godly' on it? Well follow these 8 easy steps, and you'll be scripting in no time!
1, The script you have in mind, might be a ring. So go into Runuo Folder --> Scripts --> Items --> Jewelery --> Artifacts --> In there you will find a Ring of elements, and a Ring of the vile, Right click ONE of those files and click copy.
2, Go to your custom scripts folder and press CTRL+V or right click --> paste.
3, Open the file with NOTEPAD.
4, Have your name in mind, there will be 2 lines. Replace: and Replace with:. Type in the Replace: space, RingOfTheVile or, RingOfTheElements (depends on which jewel arty you copied) In the Replace With: space, type in the name you have in mind WITH NO SPACES. then press replace all.
5, In a section AFTER using.servers there will be Attributes.(attribute here) = (number here); Say you want fc and fcr. You would replace whatever is after the period with: RecoverySpeed on one line with the attributes code, and CastingSpeed on the other. To be balance after recoveryspeed you will type = 2 and after casting speed you will type = 1.
6, Dont forget the name! Under the { add Name = "(your script here)";
7, Save.
8, Compile.
Tada youve just made your first script!
 
Top