Jump to content

ChadWicky

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Posts posted by ChadWicky


  1. I'm new to scripting, but I have a game logic set up to spawn items from a few loot tables I made. Right now I'm trying to figure out how to make the GroundWeaponHolder delete its weapons/ammo and spawn new weapons/ammo after a set amount of time.

    Also is there a way to make the loot spawn when a player enters an area, then when the player leaves, old loot is removed and new loot is spawned 10 minutes later?

    EDIT: Also how do you spawn vests and uniforms in GroundWeaponHolders?


  2. Thanks Cakeonslaught. The first script is exactly what I wanted :D

    If I ever want to add any weapons or items I just have to add the item's class name right?

    I really know nothing about making scripts :O

    The script you posted about spawning different items that need addMagazine didn't work. I have all the logics named WeaponHolder.

    It spawns weapons/ammo and items fine. But it won't spawn the different items.

    Also is there a way to spawn grenades/smoke grenades/m203 grenades?


  3. I am looking for a script that places a completely random weapon and its ammo somewhere. I've already found weapon holder scripts, but I would like them to be completely random. I don't mind placing the Game Logics in the map. I just want the script to randomly choose one of any of the weapons in the game and in any mods I have, like ACE. If you could give the stuff to put into the Logic initialization and the script file I would be greatly appreciative. If you have played Dynamic Zombie Sandbox I would like a weapon spawn system like that, but the weapon's don't have to spawn in buildings or vehicles.

×