![]() |
Unrelated question
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? |
Re: Unrelated question
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! |
Re: Unrelated question
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. |
Re: Unrelated question
IIRC, its in bg_public.h. Just modify that one define, because all the other code refers to it.
|
Re: Unrelated question
Thanks guys.
|
All times are GMT +2. The time now is 13:03. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.