Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-20-2004, 05:57 AM   #1 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default Moon gate after Lich death

DESCRIPTION

After the Lich death the moongate appear. The players can go through to the next location

INSTALATION

Put the script to custom folder.

HOW TO USE

You can add him manualy (add liche2) or by spawner. By props command you can edit the target place to teleport, time to delete the gate (in seconds) and hue for the gate.
Attached Files
File Type: cs LichLord2.cs (4.0 KB, 250 views)
xApoCx is offline   Reply With Quote
Old 08-07-2004, 09:40 AM   #2 (permalink)
Forum Novice
 
Join Date: Mar 2004
Posts: 232
Default

How do you set the location for the moongate in the script so you dont have to props the lich lord each and everytime?
milkman_dan is offline   Reply With Quote
Old 08-08-2004, 10:39 AM   #3 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by milkman_dan
How do you set the location for the moongate in the script so you dont have to props the lich lord each and everytime?
Code:
public override void Serialize( GenericWriter writer )
{
	base.Serialize( writer );
	writer.Write( (int) 0 );
	/*Moongate destination*/
	writer.Write((int)m_MoonDest.X);
	writer.Write((int)m_MoonDest.Y);
	writer.Write((int)m_MoonDest.Z);
	/*--------------------*/
}
In the deserialize is the same
xApoCx is offline   Reply With Quote
Old 08-28-2004, 05:37 PM   #4 (permalink)
Newbie
 
Join Date: Apr 2004
Location: London, Land of the Trained Yarr-Ox.
Age: 19
Posts: 19
Send a message via ICQ to tungazzio Send a message via AIM to tungazzio Send a message via MSN to tungazzio Send a message via Yahoo to tungazzio
Default

This'll work well for quests. Thanks!
tungazzio is offline   Reply With Quote
Old 08-29-2004, 01:39 AM   #5 (permalink)
Forum Novice
 
Join Date: Mar 2004
Posts: 232
Default

Quote:
Originally Posted by wraith
Code:
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
 - Error: Scripts\Customs\Creatures\LichLord2.cs: CS0115: (line 98, column 24) '
Server.Mobiles.LichLord2.CanBleed': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
any Idea.

Comment that line out

type // before that part of the code
milkman_dan is offline   Reply With Quote
Old 08-31-2004, 02:25 PM   #6 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

MilkMan has right. I add the new property to BaseCreature.cs because I thing that Undead and other creatures (like elementals) can't bleed
xApoCx is offline   Reply With Quote
Old 07-16-2006, 06:25 PM   #7 (permalink)
 
Join Date: Jul 2006
Posts: 10
Default

Where in the script do you set the Timer for how long the moongate will remain open?
drktemplar 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