Army Men RTS Forum For Map Makers

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

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

Latest topics

» This topic will show you how to be an excellent map creator in Army Men RTS.
Tue Jun 27, 2017 9:55 pm by Harry Potter

» This topic will show you how to be an excellent map creator in Army Men RTS.
Tue Jun 27, 2017 9:09 pm by Harry Potter

» amrts studio access
Sat Jun 10, 2017 5:57 pm by df2003

» ECHOOOOOOOO
Fri Jan 01, 2016 1:30 am by AnTs_Alfonso

» Army Men RTS 2
Tue Aug 04, 2015 1:37 am by AnTs_Alfonso

» ULTIMATE BATTLE VERSION 3 NEW MAP
Wed Jul 29, 2015 10:59 pm by AnTs_Alfonso

» (( Help Me Get What I Need Nd Tut )) :(
Mon Jul 27, 2015 2:19 pm by QQLEIDIAN

» How to change team colors?
Sat Jun 20, 2015 10:37 pm by David95654

» Coming Soon..
Mon Jun 15, 2015 5:58 pm by AnTs_Alfonso

Top posting users this week


    my sarge cant shoot

    Share
    avatar
    Maxspeed
    Private

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

    my sarge cant shoot

    Post  Maxspeed on 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");
    }
    }




    avatar
    MM[STKS]
    Consctipt

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

    Re: my sarge cant shoot

    Post  MM[STKS] on 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
    avatar
    MM[STKS]
    Consctipt

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

    Re: my sarge cant shoot

    Post  MM[STKS] on 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

    avatar
    Maxspeed
    Private

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

    Re: my sarge cant shoot

    Post  Maxspeed on 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

    Re: my sarge cant shoot

    Post  Sponsored content


      Current date/time is Mon Jul 24, 2017 12:31 pm