[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Disabling overheat

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 3:16 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Disabling overheat
PostPosted: Thu Feb 14, 2008 6:02 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
im try to Disable the over heating shut it off on my Stationary_mg42 i read through the search nothing


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 6:12 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120
Based on your other problems too, I suggest you start here:
tutorial.php


Top
 Profile  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 6:32 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
i read through the tut all its saying how to disable choppers also i cant find those codes n my files to disable heat on my stationary_mg42



also man im trying


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 6:39 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
LOL!!!

Disabling Weapon Overheating
To disable the overheat property of a firewarm, first, find the FireArm object of that weapon. Firearm objects are normally located in the Weapons.con file for a given weapon in the Objects.rfa.

For example, the Firearms on the AH-6 can be found in the objects.rfa, under OBJECTS\vehicles\air\H-6\Weapons.con. In this file, you'll find 4 Firearm objects:


AH6MinigunFirearms
AH6RocketFirearms
MD500RocketFirearms
MH500GunPodFirearms
Notice there are 3 lines that are tied to firearm overheating. They are:

rem *** Tan added heat ***
objectTemplate.heatAddWhenFire 0.025
objectTemplate.coolDownPerSec 0.25
objectTemplate.timeDelayOnOverHeat 2



Setting the heatAddWhenFire to 0 or to some really small number will prevent the weapon from overheating. To accomplish this, put the following code at the bottom of your ObjectSpawnTemplates.con in your map rfa (using the AH6MinigunFirearms as an example):

ObjectTemplate.Active AH6MinigunFirearms
ObjectTemplate.heatAddWhenFire 0.001


The server will now not allow overheating to disable the weapon, HOWEVER, the client will still think it needs to disable the visual and sound effect of an overheating gun (thus, the heat meter will still rise, and the sound will stop when the client thinks the weapon has overheated), however, the server will still allow projectiles to be shot, and will handle damage accordingly.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 6:49 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
zoom i read that lol im trying to disable my stationar_mg42 not a chopper




objectTemplate.heatAddWhenFire 0.015
objectTemplate.coolDownPerSec 0.1
objectTemplate.timeDelayOnOverHeat 2
ObjectTemplate.setInputFire c_PIAltFire

ObjectTemplate.Active Stationary_mg42
ObjectTemplate.heatAddWhenFire 0.001

this code wont werk y


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 7:03 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 7:09 pm 
Offline

Joined: Sat Nov 03, 2007 10:25 pm
Posts: 104
that dont werk lol im trying just to disable the overhetaing on the stationary_mg42


Top
 Profile Send private message E-mail  
 
 Post subject: Re: Disabling overheat
PostPosted: Thu Feb 14, 2008 7:19 pm 
Offline

Joined: Wed Oct 11, 2006 4:19 pm
Posts: 211
Location: Northern California
ObjectTemplate.Active MG42_unlimited
objectTemplate.heatAddWhenFire 0.000000000000000000000000000000000000000000000000000000000015
objectTemplate.coolDownPerSec 125000000000000000000000000000000000000000000000000000000000000
objectTemplate.timeDelayOnOverHeat .0000000000000000000000000000000000000000000000000000000002

_________________
Image


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group