Results 1 to 5 of 5

Thread: No ammo at playerspawn

  1. #1
    Private
    Join Date
    Dec 2012
    Posts
    26
    Thanks
    2
    Thanked 3 Times in 2 Posts

    Question No ammo at playerspawn

    Hi,

    I need a bashmod and asked many modders and players who have it, and some say I need to do no ammo at playerspawn.
    But I have no idea how to do that.
    If someone has a bashmode, please give me.
    Cause I have many servers that need one...

    Grtzz Mika

  2. #2
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Go to weapons\mp\yourweapon_mp. Then open that file with some text editor. Find \maxAmmo\60\startAmmo\60\clipSize\5\shotCount\1\dr opAmmoMin\15\dropAmmoMax\20\reloadAmmoAdd\0\.
    And change all you want to 0, so it looks like this:
    \maxAmmo\0\startAmmo\0\0\shotCount\0\dropAmmoMin\0 \dropAmmoMax\0\reloadAmmoAdd\0\

  3. The Following User Says Thank You to EvoloZz For This Useful Post:

    kung foo man (27th December 2012)

  4. #3
    Private
    Join Date
    Dec 2012
    Posts
    26
    Thanks
    2
    Thanked 3 Times in 2 Posts
    So I can't do it during the game? Cause sometimes we want to have a little bash fight, but when I read that, I think it is for bash-only server?

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Have you looked at the spawnPlayer() function?
    It has some ammo-related commands there. Try to modify them, and observe results.

  6. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (27th December 2012)

  7. #5
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    the spawnPlayer-function for 1.2 is in the file /main/iw_07.iwd/maps/mp/gametypes/tdm.gsc


    same file for 1.3 is in /main/iw_15.iwd/maps/mp/gametypes/tdm.gsc
    timescale 0.01

Tags for this Thread

Posting Permissions

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