Still have Issues with Names and Hues
I will post the script here so that maybe you can tell what we are doing wrong. I downloaded the latest version you have posted of the addongen. I wanted the statues and brambles all hued 2101but the steps to remain original 0 hue. I didn't rename any on this one but on others I have and they didn't retain names or colors. All help is appreciated as we are novices at this sort of thing. Thanks in advance.
/////////////////////////////////////////////////
// //
// Automatically generated by the //
// AddonGenerator script by Arya //
// //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AG_InvasionStatueAddon : BaseAddon
{
public override BaseAddonDeed Deed
{
get
{
return new AG_InvasionStatueAddonDeed();
}
}
[ Constructable ]
public AG_InvasionStatueAddon()
{
AddComponent( new AddonComponent( 2328 ), 1, 1, 0 );
AddComponent( new AddonComponent( 3391 ), 1, 1, 3 );
AddComponent( new AddonComponent( 8441 ), 1, 1, 8 );
AddComponent( new AddonComponent( 2328 ), 0, 1, 0 );
AddComponent( new AddonComponent( 8396 ), 0, 1, 0 );
AddComponent( new AddonComponent( 2328 ), 0, 0, 0 );
AddComponent( new AddonComponent( 8452 ), 0, 0, 3 );
AddComponent( new AddonComponent( 3392 ), 0, 0, 0 );
AddComponent( new AddonComponent( 2328 ), 1, 0, 0 );
AddComponent( new AddonComponent( 8395 ), 1, 0, 0 );
AddonComponent ac;
ac = new AddonComponent( 2328 );
AddComponent( ac, 0, 0, 0 );
ac = new AddonComponent( 8452 );
ac.Hue = 2101;
AddComponent( ac, 0, 0, 3 );
ac = new AddonComponent( 3392 );
ac.Hue = 2101;
AddComponent( ac, 0, 0, 0 );
}
public AG_InvasionStatueAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class AG_InvasionStatueAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new AG_InvasionStatueAddon();
}
}
[Constructable]
public AG_InvasionStatueAddonDeed()
{
Name = "AG_InvasionStatue";
}
public AG_InvasionStatueAddonDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // Version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}