Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Changing Presets...
Changing Presets... [message #134764] Thu, 27 January 2005 20:25 Go to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
I'm currently trying to find a way to spawn the players (in an online game) with a custom weapon already in their HUD.

I noticed in one of the soldiers presets, there was something called POW_Pistol_Player, which I presume is the script that allows the player to spawn with the regular default Renegade silenced pistol.

I do not have a modded skin or anything, I'm simply trying to mod the function of the gun. The only trouble I'm having is getting the player to start out in the mission with the custom gun already in their HUD.

Any suggestions anyone?
Changing Presets... [message #134784] Thu, 27 January 2005 22:20 Go to previous messageGo to next message
kirby651 is currently offline  kirby651
Messages: 48
Registered: August 2003
Karma: 0
Recruit

so when you start you want to be holding an pistol, not a rifle?



Cant help you there. dont want to open pandora.ddb


http://img.photobucket.com/albums/v299/kirby651/10c7a0ba.gif
Changing Presets... [message #134786] Thu, 27 January 2005 22:37 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
No, you would still start off holding an auto-rifle like normal. It's when you switch the HUD number by pressing 1 is when you will have the custom weapon, and of course, without picking up any powerups for it first.
Changing Presets... [message #134808] Fri, 28 January 2005 07:09 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
Talking about objects.ddb....?
Changing Presets... [message #134819] Fri, 28 January 2005 08:28 Go to previous messageGo to next message
Burn is currently offline  Burn
Messages: 160
Registered: November 2004
Karma: 0
Recruit
I'm not entirely sure what I'd need to do/edit to get this to work.

I would only want this effect to work on this map, not all others. I'm still trying to get this to work in the Commando editor. Although, if there is any other way to make it work, that would be nice too.
Changing Presets... [message #134844] Fri, 28 January 2005 12:53 Go to previous message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Make a temp of the soldier's preset, and attach another M00_GrantPowerup_Created to it with the WeaponDef parameter being the name of your custom weapon's preset.
Previous Topic: mod install on server
Next Topic: Need Staff
Goto Forum:
  


Current Time: Tue Dec 03 16:12:00 MST 2024

Total time taken to generate the page: 0.00702 seconds