take a preexisting script and start small.
The Chaos Demon script......................
Code:
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a Firepants11 corpse" )]
public class Firepants11 : BaseCreature
{
[Constructable]
public Firepants11() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Firepants 11";
Body = 689;
BaseSoundID = 0x3E9;
SetStr( 706, 830 );
SetDex( 91, 150 );
SetInt( 156, 180 );
SetHits( 391, 410 );
SetDamage( 44, 57 );
SetDamageType( ResistanceType.Physical, 55 );
SetDamageType( ResistanceType.Energy 15 );
SetDamageType( ResistanceType15 );.Fire 15 );
SetDamageType( ResistanceType15 );.Cold 15 );
SetResistance( ResistanceType.Physical, 50, 80 );
SetResistance( ResistanceType.Fire, 60, 80 );
SetResistance( ResistanceType.Cold, 70, 80 );
SetResistance( ResistanceType.Poison, 20, 30 );
SetResistance( ResistanceType.Energy, 20, 80 );
SetSkill( SkillName.MagicResist, 85.1, 95.0 );
SetSkill( SkillName.Tactics, 70.1, 80.0 );
SetSkill( SkillName.Wrestling, 95.1, 100.0 );
SetSkill( SkillName.Magery, 95.1, 100.0 );
SetSkill( SkillName.EvalInt, 95.1, 100.0 );
SetSkill( SkillName.AnimalLore, 164.0, 200.0 );
SetSkill( SkillName.AnimalTaming, 190.0, 200.0 );
SetSkill( SkillName.Veterinary, 165.0, 188.0 );
Fame = 17000;
Karma = -17000;
VirtualArmor = 65;
Tamable = true;
ControlSlots = 6;
MinTameSkill = 193.9;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average );
AddLoot( LootPack.Meager );
AddLoot( LootPack.Rich );
AddLoot( LootPack.Gems, 8 );
}
public override bool ReacquireOnMovement{ get{ return !Controlled; } }
public override bool HasBreath{ get{ return true; } } // fire breath enabled
public override bool AutoDispel{ get{ return !Controlled; } }
public override int TreasureMapLevel{ get{ return 4; } }
public override bool CanAngerOnTame { get { return true; } }
public override FoodType FavoriteFood{ get{ return FoodType.SushiRolls; } }
public Firepants11( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
Well anyways I started with the basic Chaos Demon script.
Ended up removing its gaining a weapoin skill move.
Added alot of things it couldn't do.
Made it tamable with conditions.
names it.
makes its favorit food.
makes it very hungry all the time.
start with little tweaks and look at alot of other scripts. Learn to combine them..