Sign in to follow this  
Followers 0

Change Starting Equipment

Replace starting weapons with different weapons.  The script must be made aware of what the actual starting weapons for the mode/map are in order for it to work.  The script comes with an example of replacing generic starting equipment with sniper and rocket.  It can also swap weapon slots by replacement, for example generic equipment is assault rifle as primary and pistol as secondary, you can set the replacements so that the pistol is primary and assault rifle is secondary. 


You can dynamically load this script or multiple different versions in the events.txt based on custom modes:

event_start $mode:custom_mode_123 'lua_load "replace_starting_equipment"'
event_end $mode:custom_mode_123 'lua_unload "replace_starting_equipment"'

I used a function in this script from one of hrshaft's scripts from his pastebin get_tag_info()


Takka and Sceny like this

Share this post

Link to post
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.