[FSOD] Lawltron

Posts 1–15 of 22 · Page 1 of 2
[FSOD] Lawltron
I Made A Enemy From My Server Names Lawltron (So Creative) Heres The Code you Can Change it if you want i just got bored and shiz
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;

namespace wServer.logic
{
partial class BehaviorDb
{
private _ Lawltron = () => Behav() // credits to lawltron :3

.Init("Lawltron",
new State(
new ConditionalBehavior(ConditionEffectIndex.Paralyzed , new Shoot(120, 4, coolDown: 1000)),
new ConditionalBehavior(ConditionEffectIndex.Stunned, new Shoot(22, 3, coolDown: 3000)),
new ConditionalBehavior(ConditionEffectIndex.Dazed, new Shoot(24, 9, coolDown: 200)),
new ConditionalBehavior(ConditionEffectIndex.ArmorBrok en, new Shoot(12, 1, coolDown: 2000)),
new TransformOnDeath("Lawls Chest", returnToSpawn: false),
new CopyDamageOnDeath("Lawls Chest"),
new Taunt(true, "You Can't Defeat Me Im Lawltron The Creator Of This Realm!"),
new Taunt(1, 12000, "Ha I Still Have {HP} You Will Never Be Able To Kill Me!!!!"),
new Wander(0.2),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 1, coolDown: 100),
new Shoot(15, 3, 5, angleOffset: 30 / 3, projectileIndex: 0, coolDown: 1950),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new StayBack(0.1, 1),
new Shoot(15, 1, 0, angleOffset: 30 / 3, projectileIndex: 4, coolDown: 1750)
)

);

}
}
ik its stupid but i like it :)
Now the Chest
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;

namespace wServer.logic
{
partial class BehaviorDb
{
private _ LawlsChest = () => Behav()
.Init("Lawls Chest Spawner",
new State(
new State("Idle",
new ConditionalEffect(ConditionEffectIndex.Invincible, true)
),
new State("Spawn",
new Spawn("Lawls Chest", 1, 1),
new CopyLootState("Lawls Chest", 10)
)
)
)
.Init("Lawls Chest",
new State(
new State("Idle",
new Taunt(true, "You Have Defeated Me Please Take This Chest As A Reward."),
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new TimedTransition(5000, "UnsetEffect")
),
new State("UnsetEffect")

),
new Threshold(0.1,
// hes supposed to be op loot because he hits hard af
new TierLoot(12, ItemType.Weapon, 0.1),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(12, ItemType.Weapon, 0.11),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(13, ItemType.Armor, 0.12),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(13, ItemType.Armor, 0.11),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(6, ItemType.Ability, 0.15),
new TierLoot(6, ItemType.Ability, 0.11)
)





);

}
}
Thanks For Looking At Mah Stuff
{If you Need Help Coding Or Want Someone To Do Shit Msg me on SKype facebook:justice.mccord.9 (Ill Code mostly anything for you if i am able to for free)
haha cool stuff. and is there a sprite or create ?
the sprite ive been using is the robot head in fab but most likely just create one
Not just behaviors i Can code commands in to and some other stuff just add my skype if you need anything / facebook:justice.mccord.9
thanks btw //
no problem
@lawltron U Shouldn't Give Behaviors Out To People They Will Leech Off Of It-----
@MikeRaarupBirk I Won't Stop Typing The Caps
Code:
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;

namespace wServer.logic
{
    partial class BehaviorDb
    {
        private _ Lawltron = () => Behav() // credits to lawltron :3
        .Init("Lawltron",
        new State(
            new ConditionalEffect(ConditionEffectIndex.Paralyzed),
            new ConditionalEffect(ConditionEffectIndex.Stunned),
            new ConditionalEffect(ConditionEffectIndex.Dazed),
            new ConditionalEffect(ConditionEffectIndex.ArmorBroken),
            new StayBack(0.1, 1),
            new Wander(0.2),
            new Shoot(120, 4, coolDown: 1000),
            new Shoot(22, 3, coolDown: 3000),
            new Shoot(12, 1, coolDown: 2000),
            new Shoot(24, 9, coolDown: 200),
            new TransformOnDeath("Lawls Chest", returnToSpawn: false),
            new CopyDamageOnDeath("Lawls Chest"),
            new Taunt(true, "You Can't Defeat Me Im Lawltron The Creator Of This Realm!"),
            new Taunt(1, 12000, "Ha I Still Have {HP} You Will Never Be Able To Kill Me!!!!"),
            new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 1, coolDown: 100),
            new Shoot(15, 3, 5, angleOffset: 30 / 3, projectileIndex: 0, coolDown: 1950),
            new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
            new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
            new Shoot(15, 1, 0, angleOffset: 30 / 3, projectileIndex: 4, coolDown: 1750)
                )
            )
            .Init("Lawls Chest Spawner",
                new State(
                    new ConditionalEffect(ConditionEffectIndex.Invincible, true),
                    new State("Idle"
                        ),
                    new State("Spawn",
                        new Spawn("Lawls Chest", 1, 1),
                        new CopyLootState("Lawls Chest", 10)
                        )
                    )
                )
            .Init("Lawls Chest",
                new State(
                    new State("Idle",
                        new Taunt(true, "You Have Defeated Me Please Take This Chest As A Reward."),
                        new ConditionalEffect(ConditionEffectIndex.Invulnerable),
                        new TimedTransition(5000, "UnsetEffect")
                        ),
                new State("UnsetEffect"
                    )
                ),
            new Threshold(0.1,
                new TierLoot(12, ItemType.Weapon, 0.1),
                new TierLoot(12, ItemType.Weapon, 0.15),
                new TierLoot(12, ItemType.Weapon, 0.11),
                new TierLoot(12, ItemType.Weapon, 0.15),
                new TierLoot(13, ItemType.Armor, 0.12),
                new TierLoot(12, ItemType.Armor, 0.15),
                new TierLoot(13, ItemType.Armor, 0.11),
                new TierLoot(12, ItemType.Armor, 0.15),
                new TierLoot(6, ItemType.Ability, 0.15),
                new TierLoot(6, ItemType.Ability, 0.11)              
            )       
        );

    }
}
Bunch of errors when copied into a clean fsod source, cleaned it up.
Can't people make simple behaviors theirselves? It literally just shooting xD But thanks I guess.

And it seems like you will need to have ConditionalEffect by "OmegaBM"(forgot the name)
Quote Originally Posted by Fightera100 View Post
Can't people make simple behaviors theirselves? It literally just shooting xD But thanks I guess.

And it seems like you will need to have ConditionalEffect by "OmegaBM"(forgot the name)
Conditioneffect is already in the source.... +No it does not "just" shoot. As far as my eyes can see and read it copies the damage on death, switches conditionstages, shoots(Creds to you for pointing that out... Smartass) and dies. Thats a decent bunch of tasks.
Quote Originally Posted by lkdjnfoskjednfblksjdfn View Post
Conditioneffect is already in the source.... +No it does not "just" shoot. As far as my eyes can see and read it copies the damage on death, switches conditionstages, shoots(Creds to you for pointing that out... Smartass) and dies. Thats a decent bunch of tasks.
Everyone who needs behaviors like that to expand their pserver shouldn't even have one. You don't even really need to know C# you just copy and paste from other behaviors then. And thanks pointing out the other lines. I couldn't see them(sarcasm).

Of course this isn't hate to the OP since he can make stuff for his pserver..
Quote Originally Posted by Fightera100 View Post
Everyone who needs behaviors like that to expand their pserver shouldn't even have one. You don't even really need to know C# you just copy and paste from other behaviors then. And thanks pointing out the other lines. I couldn't see them(sarcasm).

Of course this isn't hate to the OP since he can make stuff for his pserver..
1st of all. behaviors are not C# so stop playing smart now, will ya? Behaviors is script and any behavior is a behavior as long as it works. And no you dont expand server with behaviors simply because they are not "Features".
Quote Originally Posted by lkdjnfoskjednfblksjdfn View Post
1st of all. behaviors are not C# so stop playing smart now, will ya? Behaviors is script and any behavior is a behavior as long as it works. And no you dont expand server with behaviors simply because they are not "Features".
Never said they are C#. I just said that you don't need any knowledge of it to make one. Thanks for telling me that behaviors are behaviors. I thought they are potatoes.
Quote Originally Posted by Fightera100 View Post
Never said they are C#. I just said that you don't need any knowledge of it to make one. Thanks for telling me that behaviors are behaviors. I thought they are potatoes.
Agreed.

Quote Originally Posted by lkdjnfoskjednfblksjdfn View Post
1st of all. behaviors are not C# so stop playing smart now, will ya? Behaviors is script and any behavior is a behavior as long as it works. And no you dont expand server with behaviors simply because they are not "Features".
Whilst his message was skewed due to being buried in bad grammar (no offence), he was attempting to say that behaviors only require you to use 3 brain cells. Anyone who has issues with copying them should attempt to understand them before using them.
Posts 1–15 of 22 · Page 1 of 2

Post a Reply

Similar Threads

Talk with us