ParanoiaPhD

Member
I was hoping someone could help me find a custom mob creation program. It would be very awesome to be able to type in what I want it to be like like all the skills stats ect plue some other stuff like hue special attacks ect. It would also be cool to be able to create custom attacks with it.
 
if you can program and know scripting knowledge and know servuo code your imagination is endless
 
I do not know of anything like that, but it does sound interesting. I started out fumbling my way through and just did them all by adding code for special attacks to each mob script individually. Terribly messy, clumsy and inefficient. I still fumble my way through, but I know a little more than I did.

If I had it to do over on a new server, and I may try to tackle this at some point on my own muddled shard, I would either create custom scripts as children of BaseCreature for each type of mob (BaseUndead, BaseDaemon, etc) and add special features common to those types, and variables that could be set for each individual mob based on that script, or I would add an enum to BaseCreature with each mob type. This could be set to the type of mob in each creature script for easy reference. I have actually added this to BaseCreature, but have not done anything with it. I would also add any special attacks, related variables and methods to BaseCreature so they could be easily set (such as with the many variables and methods for Breath ability) and referenced.
Post automatically merged:
 
use this for example


C#:
#region ScreamOfHell
        public static void ScreamOfHell(Mobile from)
        {
            ScreamOfHell(from, 12, TimeSpan.FromMinutes(1));
        }
        public static void ScreamOfHell(Mobile from, int range)
        {
            ScreamOfHell(from, range, TimeSpan.FromMinutes(1));
        }
        public static void ScreamOfHell(Mobile from, int range, TimeSpan duration)
        {
            if (from.Map != Map.Internal && from.Map != null && from != null && !from.Blessed && from.Alive)
            {
                IPooledEnumerable eable = from.GetMobilesInRange(range);
                
                foreach (Mobile m in eable)
                {
                    if (m is BaseCreature && !m.Blessed && m.Alive && ((BaseCreature)from).IsEnemy(m) && from.CanBeHarmful(m))
                    {
                        BaseCreature b = m as BaseCreature;

                        if (b.Controlled && b != from)
                        {
                            b.Combatant = from;
                            b.BeginFlee(duration);
                        }
                    }
                }
            }
        }
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back