Re: Base defence weapon modding [message #487704 is a reply to message #487686] |
Tue, 27 May 2014 21:26 |
|
OuTSMoKE
Messages: 52 Registered: April 2009 Location: Chicago, IL
Karma:
|
Recruit |
|
|
C++:
I use two different source codes depending on what kinda weapon (char or veh).
Examples:
Commands->Give_PowerUp(obj,"POW_Railgun_Player",false);
Commands->Select_Weapon(obj,Get_Powerup_Weapon("POW_Railgun_Player"));
or
Grant_Weapon(obj,"Weapon_MRLS_Player",false);
Commands->Select_Weapon(obj,"Weapon_MRLS_Player");
This would only apply to built shit, obviously, I'm not sure if you could rig it to auto-assign weaponry to defenses that are pre-built into maps.
Kambot NewMaps 4.1 Marathon Server Owner
[Updated on: Tue, 27 May 2014 21:27] Report message to a moderator
|
|
|