Army Men RTS Forum For Map Makers

Be a map Editor...
Register in our Forums !!!

Join the forum, it's quick and easy

Army Men RTS Forum For Map Makers

Be a map Editor...
Register in our Forums !!!

Army Men RTS Forum For Map Makers

Would you like to react to this message? Create an account in a few clicks or log in to continue.

This forum is for The ones who really need to know about map editing & related stuff.....all are welcome!!!

Latest topics

» MASSIVE STUDIO UPDATE
my sarge cant shoot EmptyThu Apr 30, 2020 10:27 pm by David95654

» I Unlocked Studio Mode
my sarge cant shoot EmptyFri Oct 04, 2019 1:07 pm by David95654

» Madeira Portogallo Bellissima isola
my sarge cant shoot EmptySat Sep 14, 2019 4:36 am by sharks | iniesta

» Madeira Portugal Schöne Insel
my sarge cant shoot EmptySat Sep 14, 2019 4:34 am by sharks | iniesta

» Madeira Island Portugal Beautiful Island
my sarge cant shoot EmptySat Sep 14, 2019 4:33 am by sharks | iniesta

» Madeira Island Portugal Beautiful Island - things to do in Madeira Island Portugal
my sarge cant shoot EmptyFri Sep 13, 2019 5:02 am by sharks | iniesta

» Madeira | Portogallo | Bellissima isola
my sarge cant shoot EmptyFri Sep 13, 2019 2:11 am by sharks | iniesta

» Madeira | Portugal | Schöne Insel
my sarge cant shoot EmptyFri Sep 13, 2019 2:03 am by sharks | iniesta

» Madeira Island | Portugal | Beautiful Island
my sarge cant shoot EmptyFri Sep 13, 2019 2:02 am by sharks | iniesta

Top posting users this week

No user

2 posters

    my sarge cant shoot

    Maxspeed
    Maxspeed
    Private


    Posts : 55
    Join date : 2011-10-19
    Age : 24
    Location : my house

    my sarge cant shoot Empty my sarge cant shoot

    Post  Maxspeed Thu Jul 19, 2012 12:14 am

    the code is like this
    it is for a map


    ///////////////////////////////////////////////////////////////////////////////
    //
    // Pandemic Studios
    //

    #include "fx_army_unit_sarge.cfg"
    #includeonce "fx_grunt_damage.cfg"

    // UNIT
    CreateObjectType("army.unit.sarge", "Unit")
    {
    GameObj()
    {
    ThinkInterval(1);
    IdleTask("Tasks::UnitIdle");
    Properties()
    {
    Add("Filter::Army");
    Add("Filter::Biological");
    Add("Filter::Unit");
    Add("Filter::Weapon");
    Add("Filter::Heroes");
    Add("Filter::Transportable");
    Add("Client::ForceNameDisplay");
    }
    }

    MapObj()
    {
    GodFile("army_sarge.god");
    PhysicsModel("Walker");
    TractionType("ground");
    GrainSize(1);

    ArmourClass("infantry");
    HitPoints(800);

    TypeDisplay()
    {
    Image()
    {
    Image("if_game_portraits2.tga", 0, 0, 42, 42);
    Mode("Centre");
    }
    }
    GenericFX()
    {
    Add("Weapon::Fire", "weapon.sarge.fire");
    Add("MapObj::AddToMap", "damage.grunt");
    Add("MapObj::Death", "death.infantry");
    Add("Restore::Target::Process", "restore-small");
    Add("MapObj::AddToMap2", "restore-small-puff");
    Add("Wounded::Start", "herowound");
    }
    ShadowFile("army_grunt-shadow.tga");
    RotateShadow(0); // default is 1

    }

    UnitObj()
    {
    TopSpeed(45);
    TurnSpeed(1440);
    Wound(1);

    SeeingRange(73);

    ResponseEvents()
    {
    Add("Attack")
    {
    Add("spiderman moving.wav");
    }
    Add("Attacked")
    {
    Add("spiderman attacked.wav");

    }
    Add("Move")
    {
    Add("spiderman moving.wav");

    }
    Add("Select")
    {
    Add("spiderman select.wav");

    }
    Add("Spotted")
    {
    Add("spiderman spotted.wav");
    }
    }

    Constructor("army.building.hq1");
    ConstructionTime(30);
    CommandCost(1);
    ResourceCost()
    {
    Add("Plastic", 9999);
    Add("Electricity", 9999);
    }
    Prereqs()
    {
    Add("army.building.hq3");
    }
    }
    }

    Weapon("army.weapon.sarge");
    }
    }

    // WEAPON
    CreateWeaponType("army.weapon.sarge")
    {
    Style("Instant");

    MaxRange(64);

    Delay(1);

    Damage()
    {
    Amount(51);

    Effective("infantry", 100%);
    Effective("vehicle", 100%);
    Effective("structure", 100%);
    Effective("flyer", 100%);
    Effective("mine", 100%);
    }

    FirePoints()
    {
    Add("HP-FIRE");
    }
    }




    MM[STKS]
    MM[STKS]
    Consctipt


    Posts : 41
    Join date : 2011-11-15
    Age : 28
    Location : Pakistan

    my sarge cant shoot Empty Re: my sarge cant shoot

    Post  MM[STKS] Thu Jul 19, 2012 4:19 am

    in spiderman i removed the fx and also found the problem the problem was..

    Prereqs()
    {
    Add("army.building.hq3");
    }
    }
    }

    Weapon("army.weapon.sarge");
    }
    }

    It should be like this

    Prereqs()
    {
    Add("army.building.hq3");
    }
    Weapon("army.weapon.sarge");
    }
    }

    The same way you will have to fix the venom too
    MM[STKS]
    MM[STKS]
    Consctipt


    Posts : 41
    Join date : 2011-11-15
    Age : 28
    Location : Pakistan

    my sarge cant shoot Empty Re: my sarge cant shoot

    Post  MM[STKS] Thu Jul 19, 2012 4:49 am

    Or more like this
    The problem was...
    Code:

    Prereqs()
    {
    Add("army.building.hq3");
    }
    }
    }

    Weapon("army.weapon.sarge");
    }
    }



    It should be like this....

    Code:

    Prereqs()
    {
    Add("army.building.hq2");
    }
    Weapon("army.weapon.sarge");
    }
    }



    The same way when you will fix venom you will have to change the army.weapon.sarge into army.weapon.thick..

    and also i removed the fx at the top of cfg

    Maxspeed
    Maxspeed
    Private


    Posts : 55
    Join date : 2011-10-19
    Age : 24
    Location : my house

    my sarge cant shoot Empty Re: my sarge cant shoot

    Post  Maxspeed Fri Jul 20, 2012 12:11 am

    thanks i will post my new version of the map (it got carnage and a better texture for venom)

    Sponsored content


    my sarge cant shoot Empty Re: my sarge cant shoot

    Post  Sponsored content


      Current date/time is Thu Nov 21, 2024 3:29 pm