Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 02-11-2006, 04:20 PM   #1 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Age: 20
Posts: 12,927
Default Removing a Facet from Moongate Menu

I'm making a siege Perilous shard for my school. I'm sure there is a way to prevent peeps from going tom tram cuz I've seen it on other siege shards, But How Do I Prevent a player from EVEN SEEING trammel on the moongate menu. I've tried using Alien's (sorry for name but i dont remember where the damn underscores go) Public gates, and worked well did not have same artwork and all but was able tom remove tram completely and even add new locations BUT i also dled the FS player gov't system and the player cities only show up on the original public moongates. so how can I DELETE a facet from the menu of the ORIGINAL runuo publicmoongate or ADD the player Cities To ALIENS publicgates menu?

Added Questions on Similar Topic:
Also i know you can change the starting locations of new players, but the uzerans turmoil quests can be a good learning experience for new players. is there a way to teleport them to felkucca as soon as they finish the qyuests?

Also when a player is in malas tokuno or ish and use stuck option in help menu they are teled to the town they choose in trammel, how do i prevent this and make them go to fel instead.

Last edited by Anti-Basic; 02-11-2006 at 04:27 PM.
Anti-Basic is offline   Reply With Quote
Old 02-11-2006, 04:28 PM   #2 (permalink)
Forum Expert
 
Khaz's Avatar
 
Join Date: Mar 2003
Location: where I belong
Posts: 1,784
Default

For the original PublicMoongate class, open up the file for it and locate the PMList class. It should be around the middle of the file. At the end of that class and just before the MoongateGump class, you'll see a few lines of code like this:
Code:
public static readonly PMList[] UORLists = new PMList[]{ Felucca, Trammel };
public static readonly PMList[] LBRLists = new PMList[]{ Felucca, Trammel };
public static readonly PMList[] AOSLists = new PMList[]{ Felucca, Trammel };
public static readonly PMList[] RedLists = new PMList[]{ Felucca, Trammel };
These are basically initializing arrays of the moongate entries for each facet. They are displayed on the MoongateGump.

Anyway, to remove a facet from showing on the MoongateGump, delete its entry from the above four lists, and you should be all set.
Khaz is offline   Reply With Quote
Old 02-12-2006, 07:06 AM   #3 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by Anti-Basic
ok that worked well for moongates by deletinmg all instances of trammel. but how do i get rid of the help menu problem. even though mala/tokuno/ish all have fel ruleset if they use stuck option they end up in tram
You eed to edit the stuck menu gump OnResponse section to make sure the player is sent to fel instead of tram.
It should be easy enough when you look at it so please try something and if you run into troubles post what you tried and the problems you got.
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline   Reply With Quote
Old 02-13-2006, 06:25 PM   #4 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by Anti-Basic
Took me awhile to find which file you were talking about but Yeah I did same thing for that one as i did for the moongates and it worked great! Now nobody can enter trammel. But as i said before i want new players to experience the uzerans and elwood mccarrin quests in haven if they so choose. but my first suggested method prolly wouldn't work, So here is a nother possible solution: i've already fixed the facet to where players cannot mark runes while in trammel. But they could still use boats to leave island and get to other places in trammel. How can i prevent players from placing boats on a facet? would it be same as house placement? i don't remember ever seeing boats in ish...
Not realy sure about the boats but what I would do (unless someone knows an easier way) is check the method that is used to place a boat and check the map before it does.
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline   Reply With Quote
Old 02-13-2006, 06:45 PM   #5 (permalink)
Forum Expert
 
Khaz's Avatar
 
Join Date: Mar 2003
Location: where I belong
Posts: 1,784
Default

Take a look at the void OnPlacement( ... ) method in ..\Scripts\Multis\Boats\BaseBoatDeed.cs for regulating map placement.
Khaz is offline   Reply With Quote
Old 02-13-2006, 06:49 PM   #6 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by Khaz
Take a look at the void OnPlacement( ... ) method in ..\Scripts\Multis\Boats\BaseBoatDeed.cs for regulating map placement.
ThanX Khaz
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 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