围攻
评价数不足
Thermal Fire
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.405 MB
2021 年 1 月 24 日 下午 12:11
2023 年 5 月 23 日 下午 1:00
20 项改动说明 ( 查看 )

订阅以下载
Thermal Fire

描述
Fire is a little OP in Besiege.

This is especially true in Multiverse, as a single puff from a Flamethrower or tap from a Torch can catch a wooden block on fire and spread to the rest of the machine, destroying it in seconds. This is mitigated by fire's short range, but as a result most PVP either is long-range or has strict rules on the use of fire.

This is my remedy to that dilemma. Thermal Fire removes fire's ability to instantly ignite and spread, replacing them with a rough simulation of temperature on each combustible block. To burn a block, that block must be exposed to heat from another block for an extended period of time until it ignites.

If you are looking for a mod that removes fire entirely, please look at AntiFire by ITR:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1493031901

This mod is intended for use in PVP combat exclusively. It disables vanilla fire, including sources from the campaign, the God tools, and possibly other mods. I do not plan to implement an integration for these, although you are more than welcome to make one yourself.

This mod may have some bugs and/or issues. If you find any, please report them with as much detail as you can include in the comments below or on the #modding channel of the Besiege Discord.

If you have any ideas or suggestions as to how fire should or could behave in this mod, please provide a detailed explanation of your idea in the comments below or in the #modding channel of the Besiege Discord.

Advanced users only
A console command is used to alter fire's behaviour. To use it, open the developer console, and type in "sfm" (Set Fire Mechanics) followed by a space, one of the following keys below, a second space and either "true" or "false".
Example: sfm if true

Keys:
  • dhb (Disable heated Blocks) disables Flying Blocks, Powered Wheels/Cogs and Crossbows when they're heated.
  • ch (Conductive Heating) means that burning blocks heat themselves up just enough to continue burning, and heat up other nearby blocks through the particles they release.
  • rbf (Reduce Break Force) means that partially-burned blocks will have a weaker connection to the rest of the machine. This is most noticeable with Irresolute Fire.
  • uhb (Use Health Bar) This setting does nothing if Reduce Break Force is off, but is essentially a different way of doing the same thing, except damage shows on the machine's health bar in Multiverse and is blockable by Block Health Removal Tool, another mod of mine.
  • bjae (Break Joints At End) Causes blocks to actually fall off the machine when completely burned out. If this is off while Reduce Break Force is on, then blocks will barely hang on until force is applied.
  • uctc (Use Collisions to Conduct) Causes blocks to transfer some heat when they come in contact with one another. Note that this doesn't work if two blocks are connected(jointed) or if either block is asleep after being inactive for a while.
  • ujtc (Use Joints To Conduct) Causes blocks to transfer some heat between one another when they are connected(jointed)
  • uptc (Use Pulses To Conduct) Causes blocks to transfer some heat between one another under the same circumstances as when they would otherwise instantly ignite one another in vanilla.

After executing this command and every time you enter singleplayer or multiplayer thereafter, Thermal fire will tell you what number FireMechanicsBitFlags has been set to. This is representative of your current combination of settings, and you can set this number directly using the sfmbf command. (Set Fire Mechanics Bit Flags)
Example: sfmbf 191

If you do not have the combination of features enabled that you expected, then this command can be used to rectify that.
Combustive Heating, Reduce Break Force, Use Health Bar, Break Joints At End, and Use Joints To Conduct are the settings enabled by default, with a corresponding FireMechanicsBitFlags of 189.

Thank you, and I hope you enjoy this mod.
12 条留言
Forte 10 月 29 日 下午 12:50 
Unfortunately this mod doesn't work now and I can't try it.
drdevapriya 2022 年 5 月 26 日 下午 12:34 
Can you make it so fire can spread but it's very unlikely or possibly based on temperature?
displacedyooper 2021 年 9 月 5 日 下午 5:15 
The new update has fixed the issue. Thanks.
Xefyr0  [作者] 2021 年 8 月 20 日 下午 8:53 
Displacedyooper and Juicy America, it was likely that you were loading in machines with Build Surfaces, which as Besiege warns is an experimental feature. Possibly as a result of their being experimental, Build Surfaces happened to have some inconsistencies under-the-hood as compared to the other blocks, which caused some adverse reactions with Thermal Fire. I have just pushed a patch that should resolve your issues, but if they are still present please provide more detail in your error reports. "This breaks my game when I spawn in machines" is not very helpful, at the very least please provide the output of the debug console.
Juicy America 2021 年 8 月 7 日 下午 9:09 
This also broke my game. It only spawns in half of machines followed by freezing completely.
displacedyooper 2021 年 6 月 29 日 上午 5:02 
This completely broke my game. it didnt allow things to be spawned, deleted blocks and breaks surface blocks.
Xefyr0  [作者] 2021 年 3 月 30 日 下午 3:41 
Big Mathis, I do not have the time to create a mod only one person will enjoy. I suggest you learn modding and create such a mod yourself. If you contact me on the Besiege Discord then I wouldn't mind providing you the source files of Block Health Removal Tool to help you, though.
Big Mathis 2021 年 2 月 23 日 下午 1:57 
Thanks but do you think you could make a mod that only does that as a default? Just for me. I really need a mod like that.
Kenny19942 2021 年 2 月 20 日 下午 10:42 
Wow, this really nerfed my long-range microwave radar (flame thrower radar that detects planes and burns it). I agree with you, that flame throwers are one of the cheapest and most savage way of destroying vehicles far away, its extremely OP. I remember annoying players with this method. Great job at making it realistic!
Xefyr0  [作者] 2021 年 2 月 20 日 下午 8:20 
Big Mathis, I already have. It's called Block Health Removal Tool.