Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Base defence weapon modding
Base defence weapon modding [message #487686] Sat, 24 May 2014 09:28 Go to next message
UnitXc is currently offline  UnitXc
Messages: 116
Registered: March 2009
Karma: 0
Recruit
does anyone know how to modify the weapons on the base defences, i asked zunnie and he said there was a script on the controller, i couldnt find such a thing Sad

anyone know how?


http://i423.photobucket.com/albums/pp318/UnitXc/UnitXcSiggy.jpg
Re: Base defence weapon modding [message #487689 is a reply to message #487686] Mon, 26 May 2014 13:26 Go to previous messageGo to next message
UnitXc is currently offline  UnitXc
Messages: 116
Registered: March 2009
Karma: 0
Recruit
Cmon peoples. Id appreciate the help on this..

http://i423.photobucket.com/albums/pp318/UnitXc/UnitXcSiggy.jpg
Re: Base defence weapon modding [message #487693 is a reply to message #487686] Tue, 27 May 2014 08:06 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Change the weapon in the preset? I suspect nobody has posted because it seems rather obvious, not sure what you're confused about?

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 27 May 2014 08:06]

Report message to a moderator

Re: Base defence weapon modding [message #487694 is a reply to message #487693] Tue, 27 May 2014 09:16 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3812
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
My suspicion is that everyone was gone for vacation or break this weekend, the forums were very quiet.

Re: Base defence weapon modding [message #487695 is a reply to message #487694] Tue, 27 May 2014 09:17 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Jerad Gray wrote on Tue, 27 May 2014 17:16

My suspicion is that everyone was gone for vacation or break this weekend, the forums were very quiet.


That too, I was away all weekend since it was a bank holiday. I think America had some sort of special event too.


http://steamsignature.com/card/1/76561197975867233.png
Re: Base defence weapon modding [message #487697 is a reply to message #487686] Tue, 27 May 2014 13:59 Go to previous messageGo to next message
UnitXc is currently offline  UnitXc
Messages: 116
Registered: March 2009
Karma: 0
Recruit
if i change the stock preset in level editor nothing happens.. is something supposed to happen?

whenever ive changed the presets in level edit without temping them and changing the clones its never worked for me if i can recall.


http://i423.photobucket.com/albums/pp318/UnitXc/UnitXcSiggy.jpg
Re: Base defence weapon modding [message #487704 is a reply to message #487686] Tue, 27 May 2014 21:26 Go to previous messageGo to next message
OuTSMoKE is currently offline  OuTSMoKE
Messages: 52
Registered: April 2009
Location: Chicago, IL
Karma: 0
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

Re: Base defence weapon modding [message #487709 is a reply to message #487686] Wed, 28 May 2014 01:58 Go to previous messageGo to next message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma: 0
Recruit
I think he means the actual contoller scripts. You should look in the source code and search voor obelisk and agt. I dont know the exact script names since im on my phone
Re: Base defence weapon modding [message #487721 is a reply to message #487686] Thu, 29 May 2014 10:15 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
What are you trying to do? The Obelisk weapon and the AGT rocket launcher and machine guns are created by two special scripts for each of these advanced base defenses.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Base defence weapon modding [message #487722 is a reply to message #487686] Thu, 29 May 2014 12:07 Go to previous message
UnitXc is currently offline  UnitXc
Messages: 116
Registered: March 2009
Karma: 0
Recruit
well normally when you give something a gun that is different, you temp the base weapon/ammo etc, and then assign the new clone to the new tank/infantry unit.

you never just straight up edit the stock preset.

so i dont know where to put the clone of either weapons for the base defences. what exactly is the base object that holds the weapon parameters?


http://i423.photobucket.com/albums/pp318/UnitXc/UnitXcSiggy.jpg
Previous Topic: JFW_Grant_Key_Zone_Entry
Next Topic: The C&C4 Mini-Mod (C&C_***_Rage)
Goto Forum:
  


Current Time: Wed Dec 18 12:24:27 MST 2024

Total time taken to generate the page: 0.00783 seconds