.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > FritzBot
FritzBot A bot for Return To Castle Wolfenstein - by Maleficus Return to Castle Wolfenstein

Reply
 
Thread Tools
Unrelated question
Old
  (#1)
Sgt.slick
Member
 
Sgt.slick's Avatar
 
Status: Offline
Posts: 28
Join Date: Oct 2005
Location: Melbourne
Default Unrelated question - 26-11-2005

Ok,

Here's one for yuz,

Is there a way to make the mg42's firing rate faster?
Currently it's pretty unrealistic and gay firing rate is at about 400 cpm (cycles per minute), while in reality the mg42's true firing rate is about 900-1200 cpm.

Can it be done?

the reason I ask is I'm working on a mod of my own for rtcw and I want to add this feature to it. I've consulted many modding forums but no one seems to know how it can be done.

Somebody should know!

Mal? Denny?


CHECK OUT MY CUSTOM Skin/Sound pack

Click Here

FJ07 in the mix

Last edited by Sgt.slick; 26-11-2005 at 09:37..
  
Reply With Quote
Re: Unrelated question
Old
  (#2)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Unrelated question - 26-11-2005

Yes, it can be done.

Just off the top of my head look for MG42_RATE_OF_FIRE in the source code.

This is defined in both the game AND cgame source files - you will need to compile both for the gun to fire and be seen properly.

The rate of fire controls how much of a delay there is between shots. The lower the number, the faster it fires.

Cheers!


Dum Spiro Spero



Last edited by Maleficus; 26-11-2005 at 10:12..
  
Reply With Quote
Re: Unrelated question
Old
  (#3)
Denny
FritzRTCW Team Member
 
Denny's Avatar
 
Status: Offline
Posts: 370
Join Date: Oct 2004
Location: Minnesota, USA
Default Re: Unrelated question - 26-11-2005

It's probably all in g_weapons.c and bg_misc.c. But there might be some in cg_weapons.c and bg_pmove.c too, i'm not sure on pmove though.

I'd just search for what mal said and you'll come across it.


FritzbotRTCW Official Waypointer & Beta Tester
Updated: 1/12/06

Click Here to view my current waypointing progress.
  
Reply With Quote
Re: Unrelated question
Old
  (#4)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Unrelated question - 26-11-2005

IIRC, its in bg_public.h. Just modify that one define, because all the other code refers to it.


Dum Spiro Spero


  
Reply With Quote
Re: Unrelated question
Old
  (#5)
Sgt.slick
Member
 
Sgt.slick's Avatar
 
Status: Offline
Posts: 28
Join Date: Oct 2005
Location: Melbourne
Default Re: Unrelated question - 27-11-2005

Thanks guys.


CHECK OUT MY CUSTOM Skin/Sound pack

Click Here

FJ07 in the mix
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com