Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Creating units

  1. #1

    Smile

    Yhello everyone. I need help making my own personal units. Someon guide me pleez.

    Example:

    Officer with Steyr AUG
    BlackOp (Night) with XMS.

    Anyone???
    The optimist will tell you the glass is half full; the pessimist will tell you the glass is half empty; but the engineer will tell you the glass is twice the size it needs to be. -AgentJonathan-

  2. #2
    oida ouk eidos raedor's Avatar
    Join Date
    Sep 30 2002
    Location
    Germany, Austria
    Posts
    5,284
    Try the commands removeWeapon and addWeapon (/-magazine). You can find a description for them here.

  3. #3
    Gunnery Sergeant AgentJonathan's Avatar
    Join Date
    Jun 28 2006
    Location
    K-hole, AZ.
    Posts
    490
    Author of the Thread
    in the init bar?

  4. #4
    oida ouk eidos raedor's Avatar
    Join Date
    Sep 30 2002
    Location
    Germany, Austria
    Posts
    5,284
    Quote Originally Posted by (AgentJonathan @ July 02 2006,23:07)
    in the init bar?
    Among other places, yes.

  5. #5
    Gunnery Sergeant AgentJonathan's Avatar
    Join Date
    Jun 28 2006
    Location
    K-hole, AZ.
    Posts
    490
    Author of the Thread

    Post

    Example: Lets say i have an officer.

    this RemoveWeapon ["M16"];
    this removeweapon ["HandGrenade",6];
    this removeweapon ["SmokeShell",2].

    this addweapon ["Steyraug",1];
    this addmagazine ["Steyraug",10].

    Is that it?

  6. #6
    oida ouk eidos raedor's Avatar
    Join Date
    Sep 30 2002
    Location
    Germany, Austria
    Posts
    5,284
    More or less. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeAllWeapons this; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addMagazine &#34;SteyrMag&#34;; this addWeapon &#34;Steyr&#34;[/QUOTE]

  7. #7
    Gunnery Sergeant AgentJonathan's Avatar
    Join Date
    Jun 28 2006
    Location
    K-hole, AZ.
    Posts
    490
    Author of the Thread

    Post

    Thank u very much&#33;&#33;&#33;

  8. #8
    Gunnery Sergeant AgentJonathan's Avatar
    Join Date
    Jun 28 2006
    Location
    K-hole, AZ.
    Posts
    490
    Author of the Thread
    Question, why wont M21 work tho?

  9. #9
    Gunnery Sergeant AgentJonathan's Avatar
    Join Date
    Jun 28 2006
    Location
    K-hole, AZ.
    Posts
    490
    Author of the Thread

    Unhappy

    For some reason only the Steyr is working.

  10. #10
    You got the classnames wrong, look here

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •