Handsup! Posted September 7, 2014 Report Share Posted September 7, 2014 Hey. Quick, simple question, is there any way I can reduce how fast fires spread? Because as soon as a fire hits a tree, the whole neighbourhood is burnt to a crisp. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted September 7, 2014 Report Share Posted September 7, 2014 Hey. Quick, simple question, is there any way I can reduce how fast fires spread? Because as soon as a fire hits a tree, the whole neighbourhood is burnt to a crisp. Thanks!I want to know this too, I can't find anything anywhere :/ I also want to know how to make fires take longer time to put out like in the Fire Academy mod. Quote Link to comment Share on other sites More sharing options...
mariuswww Posted September 7, 2014 Report Share Posted September 7, 2014 Specs - Materials.xml. If none exsist in the mod "steal" one from mods like La 2.1 or from the Base folder. Quote Link to comment Share on other sites More sharing options...
Handsup! Posted September 7, 2014 Author Report Share Posted September 7, 2014 Specs - Materials.xml. If none exsist in the mod "steal" one from mods like La 2.1 or from the Base folder. Which one do we edit? I've found the tree lines, but which do I change Quote Link to comment Share on other sites More sharing options...
mariuswww Posted September 8, 2014 Report Share Posted September 8, 2014 Which one do we edit? I've found the tree lines, but which do I change I usually edit Combustion and Burntime. I found this in the "Editor Manual" that came with the game: Quote Link to comment Share on other sites More sharing options...
Handsup! Posted September 9, 2014 Author Report Share Posted September 9, 2014 I usually edit Combustion and Burntime. I found this in the "Editor Manual" that came with the game: I see. I can edit the trees to not light up so damn quickly, thanks! Quote Link to comment Share on other sites More sharing options...
Hoppah Posted September 10, 2014 Report Share Posted September 10, 2014 You can either assign a new material to the object or change the original parameters (that materials.xml file) for your mod, in combination with decreasing the fire objects radius. That also seems to affect the fire spreading. Quote Link to comment Share on other sites More sharing options...
Justin Miller Posted October 8, 2014 Report Share Posted October 8, 2014 but how do we change how long it takes to extinguish an object Quote Link to comment Share on other sites More sharing options...
itchboy Posted October 8, 2014 Report Share Posted October 8, 2014 You want it longer or shorter?The extinguish script contains this line:float Energy;if(v.GetVehicleType()==VT_FIREFIGHTERS_TLF) Energy = 25.0f;elseif(v.GetVehicleType()==VT_FIREFIGHTERS_FLB) Energy = 30.0f;elseif(v.GetVehicleType()==VT_FIREFIGHTERS_LPF) Energy = 25.0f;else Energy = 70.0f;Increase the value if you want fires out quickly. This only affects the TLF, FLB, LPF, and Fire Fighting Airplane.float Energy = (Caller->GetEquipment()==EQUIP_FIREHOSE) ? 20.0f : 12.5f;This value controls the extinguish for the persons. The first value (20.0f) is the strength of firehoses. The second value is the strength of fire extinguishers. The higher the number the better extinguishing power. Quote Link to comment Share on other sites More sharing options...
The Loot Posted October 8, 2014 Report Share Posted October 8, 2014 The second value is the strength of fire extinguishers. That has been bugging me since I messed around with those values; never knew why there were two values there. I wonder why the extinguishers aren't defined separately. Quote Link to comment Share on other sites More sharing options...
itchboy Posted October 8, 2014 Report Share Posted October 8, 2014 They are. The line of code that is used is a ternary operator. Note the question mark. It is basically a heavilly shortened if - else condition.float Energy = (Caller->GetEquipment()==EQUIP_FIREHOSE) ? 20.0f : 12.5f;This means...If the caller's equipment is a firehose, then float Energy is 20.0f. Otherwise it is 12.5f Quote Link to comment Share on other sites More sharing options...
The Loot Posted October 9, 2014 Report Share Posted October 9, 2014 Ah, that makes sense, though really weird when you get used to other code, and then a curveball gets thrown. Quote Link to comment Share on other sites More sharing options...