|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
**UPDATED**
5/14/2007 10:24AM: Modify your BaseHouse.cs as follows to have Painted Walls automatically delete when the house is destroyed: In BaseHouse.cs, add Lokai's House Paints Region as below: PHP Code:
- Fixed many errors including null exceptions. - Made it so Painted walls are movable (but you still can't move them) - Painted walls are locked down when created. - Users must Release the old paint in order to repaint it. - Hopefully this will decrease Item-lag. - Fixed targeting issues. - Players may now paint from just outside their house, but must still target a house they own. - GMs can still paint anywhere. - Fixed bug allowing players to paint all over town. KNOWN ISSUES: - When users log in, their Client may load the Locked-down painted items before the regular house walls. This causes the paint to disappear. Not sure if the Lockdown feature will fix this. If anyone has an idea on setting a priority level or something so that the Painted walls display last, let me know. - Painted Walls look movable. This is NOT a bug. Think of it like this: if you don't SEAL the paint job, it will wear off (ie, Decay.) Users must Secure them to prevent them from fading. (An added bonus is that this may reduce excessive painting, since it lowers the total Lockdowns available.) ************************************************** ****** Lokai's Paints and More. I was challenged by a thread you can view here.... Script idea: House Paint ...to create a House Painting system. At first I thought, this will never work. I should have known better... What's included: Paint Cans (look suspiciously like Dye Tubs...) Paint Dyes (I should make these consumable.) Custom Hue Pickers (these are for various types of housing materials...) How to install: Unzip and drop in your Scripts folder. NOTE: The file CustomHuePicker.cs has been modified, and is included in it's original folder, so if you drop these files in it will overwrite your file. (For most people this will not be a problem, since it is not a popular file to customize.) But, if you have made customizations, just add/merge the CustomHuePickers that I wrote in to your script. How to use: Just like Dye tubs, you add them, either by selling them in stores or resource vendors, or [add ing them in game, or giving them as Veteran Rewards. To use, double-click Paint Dyes and target the appropriate Paint Can. Then, double-click the Paint Can and target any Static house section, Custom House section, [add ed House Item, or Multi house section. By the way, I did not include any Metal doors or other similar items in the list of items that can be Painted. If you see something that you want to add, simply [props it, and add the number to the "CanPaint" method. (Sorry, no adding on the fly.) Cans are tied to the type of material used in the house, so Wooden structures need the Wood House Paint, and Stone House Paint for the Stone houses, etc. The 'Other House Paint' is for Hides, Rattan, Bamboo and Paper. Since these materials are considered non-washable, I have made them non-redyable also. Paint Cans have 50 Uses by default. The only exception is the GMHousePaint, which can be used on any House type. GMHousePaint is also not limited to 50 uses. Let me know if there are bugs or improvement suggestions.
__________________
Advanced Player Gate with Shard Control - My Master Runebook - Linked Books & Bags - Full Toolbar (Fubar) - XML Bible system - Music Box - Enhancement Deeds - House Paints - Light Switch Last edited by Lokai; 05-14-2007 at 10:25 AM. Reason: Fixed errors. |
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: California
Age: 40
Posts: 3,260
|
Excellent Idea +Karma
__________________
My Scripts: HoodableRobe CellarAddon SeigeUpdates Refresh/CloneMe Commands VooDoo Dolls Lost Alchemy SVN 187 Updates: Bard System + Upgrade Ultima VII |
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
Join Date: Jul 2005
Posts: 107
|
I had a problem compiling this about the displayweight, commented it out and it compiled with no errors.. dont know if it was right but it worked.. then there is a problem with Paint and more comes up 1~nothing... not sure how to fix this and when you put in painted item it comes up unused tile... But it all works so far.. not sure what painted item is.. But this is excellant and players will love it..
|
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
|
I like this so far, except that when my players use it and later demolish their painted house, the walls end up not being deleted and remaining there set non-movable so my staff has to come clean up the wall pieces. Is this supposed to happen?
*ADDED* Just in case all that was a little fuzzy. I painted a house and removed it myself (in sections, so it'd be easier to tell what I was talking about) and took a screen shot of it to help. ![]() Last edited by Macil; 05-11-2007 at 03:38 PM. |
|
|
|
|
|
#8 (permalink) | |
|
Forum Novice
|
Quote:
|
|
|
|
|
|
|
#10 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#11 (permalink) | |
|
Forum Novice
|
Quote:
-Although, it's the principle of the thing! |
|
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
|
At a glance, a quick thought solution to deal with that would be to wipe the house region area of, at least, any PaintedItem(s) before obliterating the house and region.
Just a thought. I may have jumped too quickly! Oh, and neat idea/script. Clever, none-the-less. |
|
|
|
|
|
#16 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 213
|
after trying to winmerge file... just wouldn't comply, either way i just made the mods myself... but there is one thing you might want to check into and make some changes and update post, I spawned a Sanstone Tub, then i clicked over to regular player and then i d-clicked dyes selected my color targeted the sandstone house paint/tub then targeted the side of luna bank.
this brings a true meaning of painting the town RED , LOL or what ever color your players chose... Any new updates, please post. i'll keep it on the back burner til then. thanks for post Cherokee/ Mule II
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#17 (permalink) | |
|
Forum Expert
|
Quote:
My UO installation is patched to 5.0.9.1 Patch 46. Does anyone else see 1~nothing instead of "Paint and More"? On the GMHousePaint you should see "Lokai's" on the first line, and "GM House Paint" on the second line. |
|
|
|
|
|
|
#18 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 213
|
i'm UO updated and installed to 5.0.6e , because of the conflict with OSI and UOG and their patch preventing UOG to work, Is there a fix that i missed ? can we fully Patch with OSI now ? also any fix on the player being able to Dye luna bank if he wanted to, like should say you do not own this structure and cannot paint it >? :-) let me klnow....
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#19 (permalink) | |
|
Forum Expert
|
Quote:
As for the Patch. No, I am not able to use UOG. I use Razor for my Local shard, and ConnectUO for Public shards. |
|
|
|
|
|
|
#21 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 213
|
can you add here what you changed and where.. so i can copy and paste, Just an Idea Paint can maybe should look like a empty jar saying empty Spray paint can unless its targtted from Spray Paint dyes , paint dyes saying spray paint dyes.
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#22 (permalink) |
|
Forum Novice
Join Date: Jul 2006
Location: Oklahoma
Age: 30
Posts: 612
|
I am patched to 5.0.8 and using RC1 and what I see is Paint and More then below that 1_NOTHING then Uses Left :50. This is only seen when [add housepaint if I do [add marblehousepaint it is fine.
Last edited by oiii88; 05-11-2007 at 08:35 PM. |
|
|
|
|
|
#23 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 213
|
Maybe also since it checks to see if you own the house, have it say House painted by.. then the painter. maybe have it in option in house menu,hire painter and target a person that had the means to kill a creature and obtain that kind of spray paint, at a random drop... ohh... Other spray Can won't work on brick :-/ If cant change house Gump.. maybe hiring contracts for paiters selling for 50 gold on vendor.. Anyone ever try to Script a Auction site like on WoW ? have the Auction stone check you bank for the product selling and check the bank for the buyer...? just place on the stone what your selling and have peeps check stone for what they want... every 10-15 days it removes , i dont know... yeah i'm drinking and thinking...LOL
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|