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-17-2006, 01:45 AM   #1 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default Working Mongbat Dartboard... and punching bag

I dont release my stuff very often.. call my selfish if you want, but I had so much fun making this, and playing with it in game, I wanted to share it with you guys.

This is the new Mongbat Dartboard from one of the latest UO patches. The only information I found about it on Stratics was you could throw a dagger at it (like the dartboard) and it would animate.

Well, I took it further. Not only can you throw a knife (any BaseKnife) at it and get a point system like the dart board.. If you stand next to it without a weapon, you can punch it too! I have the timers on animation just about perfect to where the mongbat doesnt animate untill the player actually looks like he hits it.
I also added sounds to it, death sound for a Bullseye, random hit/miss attack sounds for other hits, and the wander type sounds for a miss. Punching it will simply give the hit/miss random sounds.

Hope you all like it as much as I do

From my fairly limited testing, I have found no issues with it, but I will support any bugs you might find. I thought of adding a house check on it, but that would limit its use to a house, rather than a GM placing one unmovable in a tavern (like I did). I could add that in by request later.

*oh, drop in custom folder (anywhere in scripts folder) and restart your shard.
[add MongbatDartBoard true adds east facing mongbat
[add MongbatDartBoard false adds south facing mongbat
Attached Files
File Type: zip MongbatDartboard.zip (1.4 KB, 210 views)

Last edited by Dian; 02-18-2006 at 12:52 AM. Reason: Had commented display message in script
Dian is offline  
Old 02-17-2006, 02:27 AM   #2 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Thumbs up

Nice job. Thanks for sharing
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 02-18-2006, 12:54 AM   #3 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

Uploaded wrong file, though difference is very small.. The message for a miss was commented in one of the hit methods. No biggie.
Dian is offline  
Old 02-18-2006, 01:39 AM   #4 (permalink)
Forum Expert
 
otimpyre's Avatar
 
Join Date: Apr 2003
Location: Georgia
Age: 31
Posts: 392
Thumbs up Thanks

I tried to script this mine was lame. Thanks for sharing.
otimpyre is offline  
Old 02-22-2006, 02:49 AM   #5 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 175
Default

Code:
- Warning: Scripts\Mongbat Dartboard\MongbatDartboard.cs:
CS0168: (line 94, column 8) The variable 'message' is declared but never used
How can I fix this warning?
PoolMan is offline  
Old 02-22-2006, 02:53 AM   #6 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

It will never cause you any trouble, but if it is that annoying to you, just remove that line.. int message;
Dian is offline  
Old 02-22-2006, 01:38 PM   #7 (permalink)
 
Join Date: Aug 2005
Age: 19
Posts: 45
Default

I look at the whole script yesterday and i saw that you get this script from someone else... I know you probably add some little thing, but you could at least tell its his script and put his name. There is the link: Mongbat Dartboard.

Last edited by Copie; 02-22-2006 at 01:45 PM.
Copie is offline  
Old 02-22-2006, 02:38 PM   #8 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

oh, yeah, they are so very similar... they use the same ItemID... shame on me for not giving the guy credit for using an ItemID that he used in a script too.

You obviously are blind, there two scripts are in no way alike.

Last edited by Dian; 02-22-2006 at 02:40 PM.
Dian is offline  
Old 02-22-2006, 06:21 PM   #9 (permalink)
 
Join Date: Aug 2005
Age: 19
Posts: 45
Default

I didnt say give him no credit, i only said that he could put the guy who had to idea for the script, after all it was his idea.
Copie is offline  
Old 02-22-2006, 06:52 PM   #10 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 29
Posts: 950
Default

*sighs* You are wrong. The guy didn't have any idea. The mongbat dartboard was introduced in the official UO. Dian made it work on RunUO, the other guy just made it animated, so Dian didn't took ANYTHING from this guy. I would suggest to apologize.
Irian is offline  
Old 02-22-2006, 09:06 PM   #11 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

Thanks Irian, good to know there are still some real people left here

But, if it makes anyone feel any better.. Credit and kudos go out the the guy that made the item script named MongbatDartboard prior to mine.
Dian is offline  
Old 03-19-2006, 10:17 PM   #12 (permalink)
Forum Novice
 
Join Date: Dec 2005
Posts: 118
Default

thank you for this cool script. just one thing, is there anyway to make it so you don't walk through the mongbat?
jeremymcc is offline  
Old 03-20-2006, 12:45 AM   #13 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

That property is set in the tiledata.mul.. so client related. You could get a mul editing tool and change the tiledata for that item.. so yea, its posible.
I am unsure you can adjust that sort of property through the RunUO scripts.. maybe someone else knows for certain.. Id like to know myself, but never really thought about it.
Dian is offline  
Old 03-20-2006, 12:02 PM   #14 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Inverness, FL, USA
Age: 52
Posts: 24
Send a message via Yahoo to Zigamus
Cool I have an idea to make it unpassable

Here is a little something you can do that will make it so you CANNOT walk through it. There is a tile that you can walk ON, it's itemid is 8600, but if you place that at least 4 above the floor/ground where you are, then you cannot walk into that space, and it is INVISIBLE. So you can use this anywhere you want to be unpassable!

OR!

You can make a line of these in places that you want a walkway but you dont want it to be seen! ;oP Invisible catwalks, how evil! ;oP
Zigamus is offline  
Old 03-20-2006, 04:05 PM   #15 (permalink)
Account Terminated
 
Join Date: Jan 2006
Posts: 138
Default

Quote:
Originally Posted by Copie
I look at the whole script yesterday and i saw that you get this script from someone else... I know you probably add some little thing, but you could at least tell its his script and put his name.
It's stuff like this that keeps most of the great scripters from posting their stuff. *shakes head* Please don't allow clueless people like this to keep you from posting your stuff. They are, by far, the minority here.
Camerous is offline  
Old 03-20-2006, 07:14 PM   #16 (permalink)
Forum Novice
 
Join Date: Sep 2002
Location: Oregon State
Age: 34
Posts: 472
Send a message via ICQ to Dian Send a message via MSN to Dian
Default

Thanks Camerous.

Back to the walking through the item bit.. I was braindead and tired last night.. and my somehow was only thinking of the tiledata as the only answer.

for just a quick hint, you could have a look in the moongate.cs and use that same method of MoveOver = false... (not correct def.)
Dian is offline  
Old 03-20-2006, 07:20 PM   #17 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,952
Default

Quote:
Originally Posted by Copie
I look at the whole script yesterday and i saw that you get this script from someone else... I know you probably add some little thing, but you could at least tell its his script and put his name. There is the link: Mongbat Dartboard.
If you werent in such a hurry to be a asshole you would have noticed that its not the same thing, sure you can thro the darts at it blah blah, but this one is more OSI accurate, you can hit it too. Don't be a fucking ignorant prick next time, maybe you should shut your mouth, if you didnt write it stfu, it shouldnt be any of your business.
__________________
Jeff Boulanger
ConnectUO - Creator/Core Developer

Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline  
Old 05-15-2006, 08:21 AM   #18 (permalink)
Forum Expert
 
otimpyre's Avatar
 
Join Date: Apr 2003
Location: Georgia
Age: 31
Posts: 392
Default It was me

I made it animated after seeing the post with the IDs using the distro dartboard.cs and your right I didn't have any clue what I was doing as I stated in the post. Glad someone did it the right way. Thnx for the correct version. I was tickled pink to see someone even noticed I attempted to script it. I just never got the sound stuff right. I wanted him to have speech events too. Like "You throw like a girl." ect...

Last edited by otimpyre; 05-15-2006 at 08:23 AM.
otimpyre is offline  
Old 05-15-2006, 09:22 AM   #19 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Oh very nice Dian... If you would have put the word spring decor somewhere in this thread I'd seen this earlier. :P
Code:
Timer.DelayCall( TimeSpan.FromSeconds( 0.45 ), new TimerCallback( OnMongbatReset ) );
Very nice, I had the same idea but I did an overkill by making a TimerStateCallback. *slaps himself*
Code:
		public bool East{ get{ return this.ItemID == 0x1953; } }
		public int RndHitSound{ get{ return Utility.RandomList( 424, 425 ); } }
		public int RndMissSound{ get{ return Utility.RandomList( 422, 423 ); } }
		public int DirectHitSound{ get{ return 426; } }
Why do you have that stuff in, if you don't use it? It looks usefull enough! :P
And I didn't even think of making custom messages! *slaps himself even more*
All I do is being paranoid and thinking everyone - even staff - would try to break whatever I script. *lol*
Kamuflaro is offline  
Old 05-15-2006, 05:09 PM   #20 (permalink)
Forum Newbie
 
Join Date: Jun 2004
Location: Illinois
Age: 39
Posts: 44
Send a message via ICQ to Warmaster
Default Looks like fun

This looks like it will be loads of fun to play with. Thanks for the subission.
Warmaster 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