Jump to content
templargfx

Random Dynamic 'Battle' Smoke and Ground Units

Recommended Posts

If you are like me you spend most of your time in this game playing quick battles, and maybe like me you find the backgrounds to be somewhat boring at times.

Other than the dogfight in the sky, its like the world below you is peaceful.    I wanted to have it look like there is a war raging right below me for more awesome backdrops to my dogfighting.

 

It turns out you can spawn units as well. flyable/drivable units don't work, however things like AA turrets and ships do!

 

Now when you fly around any map, there will be machine guns and AA canons randomly spawned on the ground, or battle ships and AA gunships in the water.  Combined with the smoke and fire it really makes it feel like there is a battle going on as there are things that will shoot at you if you fly low enough.  The spawned units will also shoot at any ally units spawned on the map too which looks really cool!

 

 

HjsISpt.jpg

Unfortunately for some reason, despite using the same particle effect, they go a different way to the ones that normally spawn at Stalingrad, oh well its not too noticable

xuqOXfC.jpg

nCqMHRg.jpg

 

Works even better with the Extended Emitter draw distance mod available on this forum

 

 

 

I have added a new download with alot of improvements and fixes

 

This is a copy of the readme :

 

Dynamic Warzone
IL-2 Great Battles Mod
By TemplarGFX

Installation
Copy the Data folder from one of the options into your game installation folder

Uninstallation
Delete Data\LuaScripts\WorldObjects\staticexplosions.txt
Delete Data\LuaScripts\WorldObjects\Bots\
Delete Data\LuaScripts\WorldObjects\Emitters\
Delete Data\LuaScripts\WorldObjects\TemplarGFX\
Delete Data\LuaScripts\WorldObjects\WorldEmitters\

It is Highly recommended to first install 'Draw Distance Increase' mod (both Ships and Emitters)
https://forum.il2sturmovik.com/topic/39549-mod-draw-distance-increase-ships-stalingrad-smoke/
Then install Dynamic Warzone ontop, overwriting the files.

Options
Low Spawn Rate - Much slower build up of effects and units. Good for VR or low performance machines
Medium Spawn Rate - A good balance of large numbers of effects and units with a small performance impact

Effects All Units - Explosions, Fire, Smoke, MG34 Emplacement, Flak36/Flak38/52K/61K/72K Mobile Turrets, Arial Search Light, Destroyer Battleship, Medium AA Gunboat, Small Torpedo Boat
No Ground Units - Explosions, Fire, Smoke, Destroyer Battleship, Medium AA Gunboat, Small Torpedo Boat
No Water Units - Explosions, Fire, Smoke, MG34 Emplacement, Flak36/Flak38/52K/61K/72K Mobile Turrets, Arial Search Light


Notes :
The staticexplosions file was originally used to create dynamic artillery strikes at specific points on the various maps in game.
Instead of being restricted to these small areas, it now spawns everywhere on all maps without restriction
It is in no way a 'smart' spawning system, and placement is completely random and therefore can sometimes spawn things in unrealistic locations
such as Destroyers in lakes and rivers or enemy Flak turrets on friendly runways.
All Units have AI gunners and will fire at you when in range but they do not move
Finally spawning is constant, and the units will just keep on building up if you stay in one area.

 

 

DynamicWarzoneIL2GB.zip

Edited by templargfx
Uploaded correct file!
  • Like 10
  • Thanks 2
  • Confused 1
  • Upvote 4

Share this post


Link to post
Share on other sites

That’s crazy I was literally just thinking about how boring the quick mission maps are! 

So does this work on all the maps?

Share this post


Link to post
Share on other sites

Hi rodyb00t

 

I have Stalingrad and Moscow DLC and every map in my game shows it everywhere

  • Thanks 1

Share this post


Link to post
Share on other sites

That’s really interesting.  Nice one! 

Do they stay visible or disappear and reappear like the default ones?

Share this post


Link to post
Share on other sites

They sometimes disappear and re-appear, unfortunately it is the exact same particle effect and it acts just like it normally does, just spawned at random locations

  • Thanks 1

Share this post


Link to post
Share on other sites

Hi templargfx.

I put this file to LuaScripts folder, but it does't work.

In side this staticexplosions.txt file is path to folder with Emitters and some files  (LuaScripts\WorldObjects\Emitters\DummyGroundExpl_0.txt)

I don't have that Emitters folder in my Box.

Where to get these files  ?

Share this post


Link to post
Share on other sites
3 hours ago, Synchro said:

Hi templargfx.

I put this file to LuaScripts folder, but it does't work.

In side this staticexplosions.txt file is path to folder with Emitters and some files  (LuaScripts\WorldObjects\Emitters\DummyGroundExpl_0.txt)

I don't have that Emitters folder in my Box.

Where to get these files  ?

 

I have only been modding this game for about a day so Im not exactly sure how this all works :P

 

These files are included in the game so I didnt think I needed to include the extracted versions of these files.

 

Attached you will find an updated version that uses more effects (that are included).  Extract into your DATA folder.

DynamicBattleSmoke.zip

 

Edit-- Probably should say whats changed!

 

I added the Building Explosion and Building Detonation effects into the mix as well and rebalanced the frequency at which they spawn.  You now get smaller explosions and smoke plumes spawning near you with the larger effects generally spawning at a greater distance away.

Hopefully this will stop the Airfield your taking off from having smoke effects on the runway before you've taken off.  No guarentees when you come to land lol

Edited by templargfx
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Very cool mod. One thing I noticed which maybe people should be aware of is that it also generates random water plums and explosions out in the seas too which when there isn't any naval activity nearby can look a little odd. Still, this is a minor issue and the overall effect of this mod is greater immersion and a sense that we are flying over live battlefields instead of sterile landscapes.

 

Madmatt

  • Like 1

Share this post


Link to post
Share on other sites

Cheers Madmatt!

 

I have reduced the amount of water explosions that occur in the new version (see OP), and combined with dynamic boat spawning it makes the sea a warzone too!

20190119083341_1.jpg

20190119083518_1.jpg

20190119083608_1.jpg

Edited by templargfx

Share this post


Link to post
Share on other sites

Just to be sure; the mod works in 'quick missions' only?

Share this post


Link to post
Share on other sites

Hi, great looking MOD but I have a question.

 

In the OP it states that there are options for "low spawn rate", medium spawn rate" etc. How are these options changed to suit a persons taste or PC capabilities?

 

Thanks in advance.

Share this post


Link to post
Share on other sites
12 hours ago, vonGraf said:

Just to be sure; the mod works in 'quick missions' only?

 

Hi vonGraf, This is a modification to a map effect, and as far as I understand it will work on any game mode that uses a map (IE all modes)

 

7 hours ago, keeno said:

Hi, great looking MOD but I have a question.

 

In the OP it states that there are options for "low spawn rate", medium spawn rate" etc. How are these options changed to suit a persons taste or PC capabilities?

 

Thanks in advance.

 

Perhaps I don't understand your question correctly, but Low Spawn Rate has a lower, or slower rate at which items are spawned, meaning it will take longer for the game to max out its object and effect count.

Share this post


Link to post
Share on other sites
10 hours ago, templargfx said:

Hi vonGraf, This is a modification to a map effect, and as far as I understand it will work on any game mode that uses a map (IE all modes)

 

Everything is ok now, there was the 'data' folder missing in my JSGME installation of this mod. Thanks.

 

Had to land on an airfield between these fires and impacts everywhere but they didn't do any damage to the plane. Good immersion though.

 

And I as well would like to know where you can change the settings/options to 'low spawn rate', for example. It was mentioned in the OP.

Edited by vonGraf

Share this post


Link to post
Share on other sites
15 hours ago, templargfx said:

Perhaps I don't understand your question correctly, but Low Spawn Rate has a lower, or slower rate at which items are spawned, meaning it will take longer for the game to max out its object and effect count.

 

Hi, great MOD. I think he asks how he can switch between the options you mentioned:

 

Quote

 

Options
Low Spawn Rate - Much slower build up of effects and units. Good for VR or low performance machines
Medium Spawn Rate - A good balance of large numbers of effects and units with a small performance impact

Effects All Units - Explosions, Fire, Smoke, MG34 Emplacement, Flak36/Flak38/52K/61K/72K Mobile Turrets, Arial Search Light, Destroyer Battleship, Medium AA Gunboat, Small Torpedo Boat
No Ground Units - Explosions, Fire, Smoke, Destroyer Battleship, Medium AA Gunboat, Small Torpedo Boat
No Water Units - Explosions, Fire, Smoke, MG34 Emplacement, Flak36/Flak38/52K/61K/72K Mobile Turrets, Arial Search Light

 

 

You also mentioned MG emplacements, Flak etc, but the zip-file does not contain the folder "Data\LuaScripts\WorldObjects\Bots\" yet. I take it you plan to integrate that in the future?

 

Share this post


Link to post
Share on other sites
13 hours ago, vonGraf said:

 

Everything is ok now, there was the 'data' folder missing in my JSGME installation of this mod. Thanks.

 

Had to land on an airfield between these fires and impacts everywhere but they didn't do any damage to the plane. Good immersion though.

 

And I as well would like to know where you can change the settings/options to 'low spawn rate', for example. It was mentioned in the OP.

 

8 hours ago, sevenless said:

 

Hi, great MOD. I think he asks how he can switch between the options you mentioned:

 

 

You also mentioned MG emplacements, Flak etc, but the zip-file does not contain the folder "Data\LuaScripts\WorldObjects\Bots\" yet. I take it you plan to integrate that in the future?

 

 

I am so very sorry everyone, I am not sure how but I uploaded the wrong file!

 

You should now see a file called DynamicWarzoneIL2GB.zip on the OP and this one has the low and medium spawn rates.   again I am so sorry for putting up the wrong file!

  • Upvote 1

Share this post


Link to post
Share on other sites
39 minutes ago, templargfx said:

 

 

I am so very sorry everyone, I am not sure how but I uploaded the wrong file!

 

You should now see a file called DynamicWarzoneIL2GB.zip on the OP and this one has the low and medium spawn rates.   again I am so sorry for putting up the wrong file!

No need to be sorry.

 

It is a very cool Mod. I just flew a quick groundpounding mission in my A5 Career and having all these effects on adds a lot to immersion. I only disabled the large stalingradlike groundfire (too much for my taste). I also like the spawning MGs and Flaks. I got a few hits from them close to my home airfield which brings a "friendly fire" aspect into the game which wasn´t there before. I like it a lot. Thanks for this great MOD.  

  • Like 1

Share this post


Link to post
Share on other sites
9 hours ago, sevenless said:

No need to be sorry.

 

It is a very cool Mod. I just flew a quick groundpounding mission in my A5 Career and having all these effects on adds a lot to immersion. I only disabled the large stalingradlike groundfire (too much for my taste). I also like the spawning MGs and Flaks. I got a few hits from them close to my home airfield which brings a "friendly fire" aspect into the game which wasn´t there before. I like it a lot. Thanks for this great MOD.  

 

Thanks for the feedback!   I guess I got the right file this time :P

 

You can customise the experience to your own preferences by playing with the P value for each effect.  Higher values give a higher chance to spawn, with 0.4 being over-the-top everywhere and 0.001 being almost never spawn.   This is inside the staticexplosions.txt file

 

Be careful with raising the numbers too much, here I raised a few to 0.2 and it was waaay too much!  the game couldnt really handle it. Looked epic tho

20190124130105_1.jpg

 

Something else to keep in mind is that these units will attack any allied unit and not just the player, so if you find a good location with allied units in quick missions you will get some actual fighting happening on the ground or in the sea which is pretty awesome to see. 

It works in all modes so it can add a new twist to old missions!

20190124173609_2.jpg

Edited by templargfx
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Sevenless,

 

can I ask, how did you get this to work? There seems to be a data folder missing from the MOD to make it work in JSGME, the first version of this MOD i got to work ok by adding the data folder but this version doesn't seem to work for me.

 

Any ideas?

Share this post


Link to post
Share on other sites
8 hours ago, keeno said:

Sevenless,

 

can I ask, how did you get this to work? There seems to be a data folder missing from the MOD to make it work in JSGME, the first version of this MOD i got to work ok by adding the data folder but this version doesn't seem to work for me.

 

Any ideas?

 

Inside the ZIP you download is two folders, Low Spawnrate and Medium Spawnrate.  You cannot just copy these into JSGME.  You need to copy the folders under one of these (such as all the folders under Medium Spawnrate) into JSGME.   These folders have the data folder in them that will work with JSGME, although you should only activate one

Share this post


Link to post
Share on other sites

Thanks for the reply, I’ll try again. I really love the MOD (the early version I go to work ok), it adds a lot of immersion, like there really is a war raging below! 

 

Cheers!

Share this post


Link to post
Share on other sites

Thanks templargfx,

 

I see where I was going wrong, great MOD, adds a ton of immersion and a lot more challenging. 

 

Magic!

Share this post


Link to post
Share on other sites

a bit out of subject but if you are the same person that made the overhaul of alien colonial marines, great job ! also great job for making the maps feel a bit more of a battlefield ! I'm gonna start believing that you are the midas of modding

Share this post


Link to post
Share on other sites

Love this mod but find even on low effects only that it eventually overpowers my connection while hosting a coop MP game for a few friends and so we can't use it as we'd like to. I understand you can change the probability of spawning but is it possible to make it so that when it reaches a certain number of spawned smokes etc it will stop spawning more of that type until some have despawned? A population limit for each type I guess is what I am thinking.

Share this post


Link to post
Share on other sites
57 minutes ago, No457_Stonehouse said:

Love this mod but find even on low effects only that it eventually overpowers my connection while hosting a coop MP game for a few friends and so we can't use it as we'd like to. I understand you can change the probability of spawning but is it possible to make it so that when it reaches a certain number of spawned smokes etc it will stop spawning more of that type until some have despawned? A population limit for each type I guess is what I am thinking.

 

Hey There,

 

Unfortunately I am not sure if thats possible, Im no guru on IL2 modding as this is the first and only mod I've done, but from my understanding this file was intended to generate continual random short lasting effects.

 

It may be possible to set the effects themselves to not repeat, but just last for a minute or so and they remove themselves.  I'll have a look

Share this post


Link to post
Share on other sites

Thanks! One more question if I can, I notice that some of the individual effects have a network = false line which doesn't appear in other effect files - would I be correct in thinking that if not mentioned network defaults to true? If that is true, when interacting with a MP server should only the host be running the mod? or at least only be running parts where there is no network = false line? Just that for my group we were all running the low effects only mod (we started with the med effects only mod but that only lasted a couple of mins before being too much) and the smoke effects built up really quite quickly with 4 players and we probably only got about 10 mins into the mission before we had to stop as it had got unplayable.

Share this post


Link to post
Share on other sites

I just copied the effects from other places so Im not 100% sure, but I would guess from your report that network=true means your computer tells other computers to also create the effect.

 

If thats so, it would explain why you hit low fps so fast. I would suggest (if you have the incling) to get rid of any network=false lines from the effects that are used, and then only run this mod on the host.  If I am correct, the host will generate the effects and then transfer those effects to each client, so everyone gets it but only 1 person is actually generating new effects.

Share this post


Link to post
Share on other sites

Just reporting back that changing/adding network = true in the non bot files and NetworkEnabled = true in the bot files in the mod and only running the mod on the host did fix all the issues. Several missions this evening without frame rate issues and also no longer was swamped in smoke and fire. So you may want to update the mod release version and add the advice to only run the mod on the host for MP. I assume SP will be unaffected by setting the network transmission on.

 

edit: added an example in case it assists someone

low Effects plus Units.7zip

Edited by No457_Stonehouse
add example
  • Like 1

Share this post


Link to post
Share on other sites

Wonderful addition to the game . . .  it adds a great deal of immersion, especially in VR.

 

Q.:  I'm using Low Spawn Rate already. How and where can I lower the effect even more to "Extra Low Spawn Rate" 😉

 

       After half an hour in quick mission, I feel like flying in hell, because it is adding up more and more . . . smoke and fire is everywhere.

 

Thanks a lot, great idea  templargfx

 

 

the little Guardian

 

  • Upvote 1

Share this post


Link to post
Share on other sites
7 hours ago, -=[]=-little-Guardian said:

Wonderful addition to the game . . .  it adds a great deal of immersion, especially in VR.

 

Q.:  I'm using Low Spawn Rate already. How and where can I lower the effect even more to "Extra Low Spawn Rate" 😉

 

       After half an hour in quick mission, I feel like flying in hell, because it is adding up more and more . . . smoke and fire is everywhere.

 

Thanks a lot, great idea  templargfx

 

 

the little Guardian

 

There's a folder 'worldobjects' containing a text file 'staticexplosions', in this file are several P=0.00.. values. Lower the values or disable unwanted effects by setting the value to 0.

Share this post


Link to post
Share on other sites

@ Templargfx

 

Is there a way to get sound to the explosions?

I noticed that even if a 1000 pound bomb goes off close to the runway where I start, there is no sound . . .

Several times I heard a distant "pouff", but nothing that fits the might of the explosion see. Which looks awesome even from very close!

 

I already looked into the effect files, but it seems to be a language that I don't understand  ;-)

 

Anyway, I thought I ask you . . .

 

Greetings

 

little Guardian

Share this post


Link to post
Share on other sites

I am having some problems from using this mod. For some reason, only enemy AIs are generated on our territory. They shot me down 5 minutes after takeoff.

20190501000820-1.jpg
20190501000927-1.jpg
20190501001126-1.jpg
20190501001154-1.jpg
20190501001403-1.jpg

Share this post


Link to post
Share on other sites

 WOW well it looks like quick missions are a thing of the past THANKS to this MOD, its just BRILLIANT just make sure you have plenty lead on board its strafe heaven out there, i couldnt ask for a better way to practice my flying with the rudder pedals, BRILLIANT work thanking you kindly.:good:  

Share this post


Link to post
Share on other sites

I have been thinking while on my long flights over featureless land, that just a few more sporadic random flashes and smoke stacks here and there would help add a better feel of Russia at war and the oncoming enemy. If done right it shouldn`t kill the fps. This looks about right. Will try the low cpu\vr version.

 

Cheers.

Share this post


Link to post
Share on other sites

I have been using this mod for a couple of days now in Tank Crew, and it really adds to the immersion factor.  A really excellent mod, thank you for doing it.

 

Barry

Share this post


Link to post
Share on other sites

is there any way to spawn random flights of planes, like what happens in career mode?
I like the idea of flying around without a mission to worry about fighting whomever i meet

Share this post


Link to post
Share on other sites
Posted (edited)

this is so damn cool. Watched a big naval battle take place
Don't know whether it's possible, but it would be amazing if it could stop generating stuff as long as it's at a max number of units in any given area, till you go someplace else or kill something...

Edited by von_Michelstamm

Share this post


Link to post
Share on other sites

Is there a way somebody could put a video up on the step by step process to download this? I'm not very computer literate and I've never dealt with modding an existing game. Any help would be greatly appreciated!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...