Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 02-16-2006, 11:11 PM   #1 (permalink)
 
Join Date: Oct 2003
Posts: 38
Default ancient summon sphere

a floating sphere ,that when clicked will summon a deathwyrm as a pet.long time since ive added any scripts .since the idols. just drop in customs and restart server .injoy let me know how you guys like them.just drop files in customs and restart server.
Attached Files
File Type: rar ancientsummonsphere.rar (1.6 KB, 61 views)

Last edited by roughhouse; 02-24-2006 at 12:34 AM.
roughhouse is offline  
Old 02-17-2006, 08:34 PM   #2 (permalink)
 
Join Date: Feb 2006
Posts: 12
Unhappy

Do you have these zipped? I am kinda dumb an still semi a newb here. I dont know how to work the CS scripts yet.
SuicideSolution is offline  
Old 02-17-2006, 08:37 PM   #3 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

To "work" a *.cs script, you simply need to put the *.cs files into your scripts directory in the RunUO directory. A lot of people have a custom folder inside their main scripts folder for scripts that they download from the runuo forums.
Check HERE for more information on where scripts go.
__________________
In some cases stupid makes you win-Radwen
Johabius is offline  
Old 02-17-2006, 09:06 PM   #4 (permalink)
 
Join Date: Feb 2006
Posts: 12
Unhappy

GAHHHHHH... I knew I should of been born a blonde an not a blackie... This is how it came out.



using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AncientSummonSphere.cs
using System; using Server.Items; using Server.Mobiles; using Server.Network; namespace Server.Items { public class Ancientsummonsphere : Item { [Constructable] public Ancientsummonsphere() : base( 14265 ) { Movable = true; Name = "a ancient summon sphere"; LootType=LootType.Blessed; } public override void OnDoubleClick( Mobile from ) { PlayerMobile pm = from as PlayerMobile; if ( !IsChildOf( from.Backpack ) ) { from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it. } else if( from.InRange( this.GetWorldLocation(), 1 ) ) { from.FixedParticles( 0x373A, 10, 15, 5036, EffectLayer.Head ); from.PlaySound( 521 ); deathwyrm deathwyrm = new deathwyrm(); deathwyrm.Controled = true; deathwyrm.ControlMaster = from; deathwyrm.IsBonded = false; deathwyrm.Location = from.Location; deathwyrm.Map = from.Map; World.AddMobile( deathwyrm ); from.SendMessage( "You Summon a DEATHWYRM." ); this.Delete(); } else { from.SendLocalizedMessage( 500446 ); // That is too far away. } } public Ancientsummonsphere( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); // version } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); } } }
SuicideSolution is offline  
Old 02-17-2006, 09:16 PM   #5 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

Ahhh, yeah that would be hard to read through. I believe there is a post in the FAQ forum about scripts looking weird through notepad. Should be the first or second thread in the FAQ forum.
http://www.runuo.com/forums/faq-forum/
__________________
In some cases stupid makes you win-Radwen
Johabius is offline  
Old 02-18-2006, 10:14 AM   #6 (permalink)
 
Join Date: Feb 2006
Posts: 12
Default

a little to much for me I think.. Sat there for 2 hrs. An still didnt get it right.
SuicideSolution is offline  
Old 02-18-2006, 11:58 AM   #7 (permalink)
Forum Expert
 
Join Date: Jan 2003
Posts: 564
Default

let me explain...

put the code inside [ code ] and [/ code ] (without space)
__________________
UO Central: O Mistério do Oculto
(Free Shard Brasileiro)

brodock is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5