Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Disabling overheat https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3835 |
Page 1 of 2 |
Author: | convict0 [ Thu Feb 14, 2008 6:02 pm ] |
Post subject: | Disabling overheat |
im try to Disable the over heating shut it off on my Stationary_mg42 i read through the search nothing |
Author: | Why Two Kay [ Thu Feb 14, 2008 6:12 pm ] |
Post subject: | Re: Disabling overheat |
Based on your other problems too, I suggest you start here: tutorial.php |
Author: | convict0 [ Thu Feb 14, 2008 6:32 pm ] |
Post subject: | Re: Disabling overheat |
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 |
Author: | ZOOMER [ Thu Feb 14, 2008 6:39 pm ] |
Post subject: | Re: Disabling overheat |
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. |
Author: | convict0 [ Thu Feb 14, 2008 6:49 pm ] |
Post subject: | Re: Disabling overheat |
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 |
Author: | ZOOMER [ Thu Feb 14, 2008 7:03 pm ] |
Post subject: | Re: Disabling overheat |
Author: | convict0 [ Thu Feb 14, 2008 7:09 pm ] |
Post subject: | Re: Disabling overheat |
that dont werk lol im trying just to disable the overhetaing on the stationary_mg42 |
Author: | ZOOMER [ Thu Feb 14, 2008 7:19 pm ] |
Post subject: | Re: Disabling overheat |
ObjectTemplate.Active MG42_unlimited objectTemplate.heatAddWhenFire 0.000000000000000000000000000000000000000000000000000000000015 objectTemplate.coolDownPerSec 125000000000000000000000000000000000000000000000000000000000000 objectTemplate.timeDelayOnOverHeat .0000000000000000000000000000000000000000000000000000000002 |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |