Feature Creep / Set Maximum amount of weapons (Change 9 to an enterable number like 2 or 3)

Author
Message
teamhalo
3D Media Maker
18
Years of Service
User Offline
Joined: 6th Nov 2005
Playing: Gears of War 4
Posted: 21st Mar 2015 16:58
With the latest update to Guru, a weapon limit was added to prevent the player from picking up more than 9 weapons. It would be great if there was an option in level preferences to set the weapon limit number. Something like a simple entry for number would be nice. Limiting the player to 2 weapons only would be really useful, now that a swap out feature is available.
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 23rd Mar 2015 03:52 Edited at: 23rd Mar 2015 03:54
The weapon pickup script had changed a bit. Might be worth taking a look at that to see if you can modify it to your liking. Make a copy of the script and rename, work on the copies version.

And check in the global.LUA file to see if they added a variable you could possibly read and over rule with the local script.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 23rd Mar 2015 05:30
I was reading before there is now a way to determain how many weapons a player has and also a swap weapons option so this should be entirely possible via a script to limit to 2
PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Login to post a reply

Server time is: 2024-04-25 16:18:00
Your offset time is: 2024-04-25 16:18:00