Vorspire
Knight
[RUO ALL] Attackable Items
RunUO Versions: 1.0 Final | 2.0 RC1| 2.0 RC2 | 2.0 SVN
This Package contains the means to give you an Item that is Attackable!
It uses Hits and Damage as a Mobile would, but is handled by an 'Entity' BaseCreature that creates the attack effect...
These Items are completely modifyable ingame and crash-proof tested to a certain extent.
I'm sure these will plug+play with 2.0, but I don't script for 2.0 because my shard uses 1.0 Final... All work I do is for my shard and releasing these scripts is just for general reference for others.
This Version now supports Pet Orders/Commands!
Bug with BodyValue has been worked around for best effects.
A few abilities:
{
Scripts Supplied:
{
To derive from the loot box method, use this:
--------------------------------------------------------
RUNUO 2.0 SVN_ALL SUPPORT MODIFICATION
Thanks to aj9251 for posting this!
On Error:
Edit Line 408:
--------------------------------------------------------
Enjoy!
NOTE:These scripts are designed for RunUO 1.0 Final, only minor modifications to one or two lines should be needed to upgrade compatibility.
NOTE:Due to a busy life-style, I may be unable to answer support requests, so please try your best to edit these yourself. Please use another thread for support requests!!!
Regards, Vorspire
"Attackable Items Beta.zip" contains the original release without the ensurance of Rubble decay, as this is known to be supported by RunUO 1.0 for definate.
RunUO Versions: 1.0 Final | 2.0 RC1| 2.0 RC2 | 2.0 SVN
This Package contains the means to give you an Item that is Attackable!
It uses Hits and Damage as a Mobile would, but is handled by an 'Entity' BaseCreature that creates the attack effect...
These Items are completely modifyable ingame and crash-proof tested to a certain extent.
I'm sure these will plug+play with 2.0, but I don't script for 2.0 because my shard uses 1.0 Final... All work I do is for my shard and releasing these scripts is just for general reference for others.
This Version now supports Pet Orders/Commands!
Bug with BodyValue has been worked around for best effects.
A few abilities:
{
- 6 Levels of Strength
- Edit Hits/MaxHits of Item (Not Mobile) - It reflects on the mobile.
- Derivable Loot Box Modifyer!
- Shows progression through 3 stages of HitPoint values!
- Pet Orders/Commands supported!
Scripts Supplied:
{
- BaseDesItem.cs
{- class DamageableItem( int StartID, int HalfHitsID, int DestroyID )
- class IDamageableItem( DamageableItem parent )
- DesCityWall.cs
{- class DesCityWallEast( )
- class DesCityWallSouth( )
- DesFurniture.cs
{- class DesBookCaseEast( )
- class DesBookCaseSouth( )
- DesEnergyField.cs
{- class DesEnergyFieldEast( )
- class DesEnergyFieldSouth( )
- Rubble.cs
{- class Rubble( )
- class Rubble( int itemID, string namePrefix )
To derive from the loot box method, use this:
Code:
[color=blue]public override void[/color] [color=maroon]OnDestroyed[/color]( [color=blue]WoodenBox[/color] [color=#252525]lootbox[/color] )
{
[color=#252525]lootbox[/color].[color=maroon]DropItem[/color]( [color=blue]new[/color] [color=maroon]IronOre[/color]() );
}
--------------------------------------------------------
RUNUO 2.0 SVN_ALL SUPPORT MODIFICATION
Thanks to aj9251 for posting this!
On Error:
Code:
Errors:
+ Custom/BaseDesItem.cs:
CSXXXX: [color=red]Line 408[/color]: 'Server.Mobiles.BaseCreature' does not contain a definition for [color=red]'Controled'[/color]
Edit Line 408:
Code:
[color=green]//FROM:[/color]
[color=blue]if[/color] ( [color=#252525]bc[/color] == [color=blue]null[/color] || [color=#252525]bc[/color].[color=#252525]Deleted[/color] || ![color=#252525]bc[/color].[color=#252525]Alive[/color] || [color=red]!bc.Controled[/color] || [color=#252525]bc[/color].[color=#252525]ControlMaster[/color] != [color=#252525]from[/color] )
[color=green]//TO:[/color]
[color=blue]if[/color] ( [color=#252525]bc[/color] == [color=blue]null[/color] || [color=#252525]bc[/color].[color=#252525]Deleted[/color] || ![color=#252525]bc[/color].[color=#252525]Alive[/color] || [color=red]!bc.Controlled[/color] || [color=#252525]bc[/color].[color=#252525]ControlMaster[/color] != [color=#252525]from[/color] )
--------------------------------------------------------
Enjoy!
NOTE:These scripts are designed for RunUO 1.0 Final, only minor modifications to one or two lines should be needed to upgrade compatibility.
NOTE:Due to a busy life-style, I may be unable to answer support requests, so please try your best to edit these yourself. Please use another thread for support requests!!!
Regards, Vorspire
"Attackable Items Beta.zip" contains the original release without the ensurance of Rubble decay, as this is known to be supported by RunUO 1.0 for definate.