|
||
|
|||||||
| 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 make them public domain. 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
Join Date: Oct 2002
Location: Iowa, USA
Age: 38
Posts: 395
|
I had this idea last night to make a lightning bug mobile, and here it is.
Compatible with 2.0. For 1.0 change aggressor to agressor. Internal item count is fixed, thanks to Sotho Tal Ker for the fix. Last edited by Axle; 05-21-2007 at 08:43 PM. |
|
|
|
|
|
#4 (permalink) |
|
Forum Master
|
can you kill it and "pull it apart" (cut up/carve) and get a light that will last a couple of hours?
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#6 (permalink) |
|
Forum Master
|
that is a shame, that was the fun part as a kid making "night lights" for camping using them
still is a great script though
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
|
I found a known issue with this... if your getting a high items count I am thinking it is coming from the lightsource from these bugs. Or maybe because it doesn't have a body so it is missing animation causing the lightsource to end up out at coords 0,0 of the tram/fel map... It can be a serious prob since I only had 5 bugs spawned and item count went from 400k to 900k in short time... For those that had fallen to this demise I suggest using internalitems command if you have that script and wipe the internal items which solved my major lightsource issue... be sure to remove the bug... LOL! I really love this bug! Great script other than the issue I had.
__________________
:mad: Red makes me angry!:mad::rolleyes: Blue makes me happy!:rolleyes: .:Xeno-Corporation:. Devised from our signature art to our Ultima Online shard; Thanks to all those that contributed to it all!
|
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
|
this sounds great. I am definately going to use it!
![]() Thanks Lia
__________________
;)My C# Bookshelf (carpented by Soultaker);) BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
|
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
Code:
item.Delete(); Code:
lightningBug.RemoveItem(item); |
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
|
That seemed simple, I just never gave a look at the script... at that time I was just so overwhelmed by what may be causing the items flood and just removed it all together.. ty
__________________
:mad: Red makes me angry!:mad::rolleyes: Blue makes me happy!:rolleyes: .:Xeno-Corporation:. Devised from our signature art to our Ultima Online shard; Thanks to all those that contributed to it all!
|
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
|
I think that is because of the wrong body number... at least for me it was wrong. I changed it to 244 runebeetle... 495 seems to be some armor...
Lia
__________________
;)My C# Bookshelf (carpented by Soultaker);) BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
|
|
|
|
|
|
#14 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Location: Iowa, USA
Age: 38
Posts: 395
|
I used the body value of 495 for realism, as the lightning bugs, AKA fireflies, aren't very big at all. If you change the body value to something that is targetable (and therefore killable), I suggest overriding the ondeath method to delete the associated timers and light source (with their respective null checks of course).
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|