Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page Add Secondary Fire
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
Add Secondary Fire
Old
  (#1)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default Add Secondary Fire - 06-03-2003, 08:18 PM

Does anybody know what would need to be modded to add a secondary fire to the rocket launcher. I am looking to mod it to a grenade launcher with two fire types. explodeontouch and bounceontouch

Any tips?

I tried simply adding secondary fire properties and animation but with no avail. I copied some of the code from the grenade and pistol secondary fire to figure out the parms that needed to be set but I am afraid that the secondary fire for those weapons might be hard coded.

Please help,
~GICodeWarrior
  
Reply With Quote
Old
  (#2)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 06-04-2003, 08:00 AM

On AA, I would think what you're saying should work. I assume that what you mean would make the animations for 2ndary fire the same, but with a different firing result.

On Spear, I could not figure out how to change the 2ndary actions for any weapons. SH was not coded the same way. You change or comment out the 2ndary firing actions and animations all you want, but they still happen.
  
Reply With Quote
Old
  (#3)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 06-04-2003, 08:01 AM

On AA, I would think what you're saying should work. I assume that what you mean would make the animations for 2ndary fire the same, but with a different firing result.

On Spear, I could not figure out how to change the 2ndary actions for any weapons. SH was not coded the same way. You change or comment out the 2ndary firing actions and animations all you want, but they still happen.
  
Reply With Quote
Old
  (#4)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-04-2003, 09:14 AM

I am refering to AA. Sorry I didn't state that before. I copied the animations and init properties from the primary fire in the bazooka and panzershreck tiki file, but it does not do anything when I hit the secondary fire button.

Is there some variable to set that allows a secondary fire?

~GICodeWarrior
  
Reply With Quote
Old
  (#5)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 06-04-2003, 12:52 PM

don't know. I never tried what you're doing.

Maybe it has something to do with "weapontype" or "weapongroup"
the pistols are the only weapons with 2ndary action in AA, so you could try using their settings. i have no idea if that will work, but it's worth a shot.

I would try that. Compare the colt tiki to the bazooka and see what is different or missing. good luck
  
Reply With Quote
Old
  (#6)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-04-2003, 02:03 PM

The grenades and sniper rifle have secondary actions too. Tried comparing but with no luck. I will try the weapontype/weapongroup thing next.
  
Reply With Quote
Old
  (#7)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-04-2003, 02:43 PM

Changing the weapon type to pistol or grenade makes the secondary fire click when it is tapped but it still doesn't fire. Plus not only does this make the weapon appear to be in the pistol or grenade group, it makes the weapon model invisible to me. I made sure that the secondary weapon was of the correct firetype and such but it did not help.

I will continue tinkering... If anyone else has any insight into this problem please help.

~GICodeWarrior
  
Reply With Quote
Old
  (#8)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 06-04-2003, 03:11 PM

hmm.
if it clicks, it sounds like it is out of ammo...?

okay, maybe it won't work.
  
Reply With Quote
Old
  (#9)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-04-2003, 04:33 PM

Yea it clicks like there is no ammo...
  
Reply With Quote
Old
  (#10)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-05-2003, 06:00 AM

If I wanted to add a scope to the rocket launcher how would I do that? Maybe that would help me with the secondary fire...

Someone out there must know if what I am trying to do is possible. eek:

Please help,
GICodeWarrior
  
Reply With Quote
Old
  (#11)
mohaa_rox is Offline
Senior Member
 
Posts: 514
Join Date: Apr 2003
   
Default 06-05-2003, 06:42 AM

it isn't possible, cause the weaponclass of the bazooka is "heavy" and the weaponclass of snipers is i think rifle but with the scope stuff.
  
Reply With Quote
Old
  (#12)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 06-05-2003, 08:05 AM

you can put a scope on a bazooka, easy....
just add a line like this to the tiki...
zoom 40

or 30 or 20 or whatever you want.
I don't think that is going to help with what you are doing though. Using a scope isn't really a secondary action the way you using it. It is kind of an addition to 2ndary actions. For example, you can put a scope on the pistols with the same code line. But then when you right-click, the gun will bash AND try and use the scope at the same time.
  
Reply With Quote
Old
  (#13)
GICodeWarrior is Offline
Junior Member
 
Posts: 12
Join Date: May 2003
Location: Grand Island, NY
  Send a message via AIM to GICodeWarrior Send a message via MSN to GICodeWarrior  
Default 06-05-2003, 03:36 PM

Really looks like it can't be done... Thanks for all your help.

I am still open to suggestions but don't expect anything new.

~GICodeWarrior
  
Reply With Quote
Old
  (#14)
mohaa_rox is Offline
Senior Member
 
Posts: 514
Join Date: Apr 2003
   
Default 06-06-2003, 02:48 AM

but u can try, no harm trying. biggrin:
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.