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 09-24-2008, 09:04 PM   #1 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 68
Default changin Region Names

i searched but didn't find anything. i know there are programs to do intensive region editing but all i want to do is change the GREETING when you go into a region.

so i make a house, and want it to say "welcome to my house" when you go inside. i know there is a box command for it but i just forget what it is.
Mockhazzard is offline   Reply With Quote
Old 09-24-2008, 10:18 PM   #2 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,777
Send a message via Yahoo to Lord_Greywolf
Default

look in the houseregion script - i think items-regions
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 09-24-2008, 11:46 PM   #3 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 68
Default

i dont want it to work for every house. i know there is a command which you make a box around an area, and when people enter it, it displays a message. kinda like "you've entered britain"
Mockhazzard is offline   Reply With Quote
Old 09-25-2008, 12:08 AM   #4 (permalink)
Forum Novice
 
Tassyon T's Avatar
 
Join Date: Sep 2007
Posts: 367
Default

Quote:
Originally Posted by Mockhazzard View Post
i dont want it to work for every house. i know there is a command which you make a box around an area, and when people enter it, it displays a message. kinda like "you've entered britain"
I don't believe it's a command.

I'm almost positive that it's scripted.

Commands are GM-initiated and look something like this:

Code:
[COMMAND_GOES_HERE
I would bet the farm that each and every one of those messages that are currently in-game are client localization messages (CLILOCS). So...

(1) download a CLILOC editor
(2) Search the CLILOCS for the message you're seeing when you enter an area.
(3) Get the ID# of that CLILOC
(4) Search within the script files using Windows' Search-Within-Files search utility
(5) Locate the files that contain that CLILOC ID#
(6) Edit how you see fit.

Alternatively, download Custom Regions in a Box from Script Releases. It includes easy-to-use On-Enter messages that can be altered on-the-fly in a live server without script editing.
Tassyon T is offline   Reply With Quote
Old 09-25-2008, 07:50 AM   #5 (permalink)
Master of the Internet
 
Join Date: Mar 2006
Location: Germany
Age: 17
Posts: 14,814
Send a message via AIM to Suil Ban Send a message via MSN to Suil Ban
Default

Custom Regions in a Box is your best bet.
__________________
go fish
Suil Ban is offline   Reply With Quote
Old 09-25-2008, 09:01 AM   #6 (permalink)
Forum Novice
 
Join Date: Aug 2003
Age: 32
Posts: 428
Send a message via MSN to aventae
Default

Quote:
Originally Posted by Mockhazzard View Post
i searched but didn't find anything. i know there are programs to do intensive region editing but all i want to do is change the GREETING when you go into a region.

so i make a house, and want it to say "welcome to my house" when you go inside. i know there is a box command for it but i just forget what it is.

or create a walk over item (hidden) that sends an overhead message or what not, Fairly simple to create.
aventae is offline   Reply With Quote
Old 09-25-2008, 09:08 AM   #7 (permalink)
Master of the Internet
 
Join Date: Mar 2006
Location: Germany
Age: 17
Posts: 14,814
Send a message via AIM to Suil Ban Send a message via MSN to Suil Ban
Default

Quote:
Originally Posted by aventae View Post
or create a walk over item (hidden) that sends an overhead message or what not, Fairly simple to create.
This would be feasible if there were only one entrance to the house. Otherwise it just becomes clunky to add several of these items.
__________________
go fish
Suil Ban is offline   Reply With Quote
Old 09-25-2008, 09:22 AM   #8 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 68
Default

how do you make that walk over item?
Mockhazzard is offline   Reply With Quote
Old 09-25-2008, 02:28 PM   #9 (permalink)
Forum Novice
 
Tassyon T's Avatar
 
Join Date: Sep 2007
Posts: 367
Default

Quote:
Originally Posted by Mockhazzard View Post
how do you make that walk over item?
Dude, think for a second about that. What do you constantly walk over all the time that does stuff when you walk over it?

Teleporter.cs

Check it out.

Why is people's first response to ask on the forums for the answer without seeming to put any thought into their question?

I'm not trying to be rude here, but trying to urge you to solve problems as much as you can and be as creative as you can. That's a critical part of being a shard admin.
Tassyon T is offline   Reply With Quote
Old 09-25-2008, 02:51 PM   #10 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 68
Default

ive been unable to make teleporters which give out messages. that is why i am asking.
Mockhazzard is offline   Reply With Quote
Old 09-25-2008, 07:13 PM   #11 (permalink)
Forum Novice
 
Join Date: Aug 2003
Age: 32
Posts: 428
Send a message via MSN to aventae
Default

Quote:
Originally Posted by Suil Ban View Post
This would be feasible if there were only one entrance to the house. Otherwise it just becomes clunky to add several of these items.
heh usually there is only one entrance to a house, unless they make a custom house with more than one entrance, but that is for most player houses, and since players can't add their own custom items to be placed in game. This really wouldn't hold water to this situation. Most Game Masters / Admins usually don't make a house for themselves with more than one entrance.

And the only true way to make it non-"Clunky" would be to make the item static (Apart of statix*.mul) file to make it that way ...and scripting it to every instance to that item id, where as if he is only wanting it for a certain building or house it is better to make it a separate entity rather then making it a part of an entirety,which kinda defeats the purpose of what the guy is asking for.
aventae is offline   Reply With Quote
Old 09-25-2008, 07:18 PM   #12 (permalink)
Forum Novice
 
Join Date: Aug 2003
Age: 32
Posts: 428
Send a message via MSN to aventae
Default

Quote:
Originally Posted by Mockhazzard View Post
ive been unable to make teleporters which give out messages. that is why i am asking.
Sorry MockHazzard dont have code on hand ..but one way would be using i think InRange method then send message. There is many example scripts you could look at if you was wanting to write your own, but no-sense in, re-inventing the wheel so to speak, there is a set of items like statues that also do this ingame (Dont recall the name of script) , but you could modify this already existing script and make it your own for your own needs.

but if your wanting to achieve the same effect without use of items or use of custom regions in a box, would be to make the needed changes to your regions files yourself, getting the x,y,z or just the x,y coords and setting up your own region around the house. You can add in a enter and leave message. Even Using Custom Region in a box it uses hidden items which as Suil commented makes it "Clunky".

Last edited by aventae; 09-25-2008 at 09:35 PM.
aventae is offline   Reply With Quote
Old 09-26-2008, 03:40 AM   #13 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,777
Send a message via Yahoo to Lord_Greywolf
Default

there is a script in the release section (maybe archives) called "message tile"
it is just that - when some one walk over it - it says the message assigned into it
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf 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