Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Base defence weapon modding
Re: Base defence weapon modding [message #487704 is a reply to message #487686] Tue, 27 May 2014 21:26 Go to previous messageGo to previous message
OuTSMoKE is currently offline  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.


http://i237.photobucket.com/albums/ff42/BTNHBoardOuTSMoKE/CNCSig2.jpg
Kambot NewMaps 4.1 Marathon Server Owner


[Updated on: Tue, 27 May 2014 21:27]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JFW_Grant_Key_Zone_Entry
Next Topic: The C&C4 Mini-Mod (C&C_***_Rage)
Goto Forum:
  


Current Time: Wed Dec 18 05:48:15 MST 2024

Total time taken to generate the page: 0.00764 seconds