Less Laggy Nuke

This is the place to request new mods or give ideas about what could be done.
Post Reply
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Less Laggy Nuke

Post by Ranakastrasz »

The nuke is, admittedly, very impressive. However, it seems to involve creating a lot of entities, each of while move away from the epicenter to create the smoke cloud, and presumably all deal damage in a small radius constantly as they move. This, naturally, tends to cause the game to lag when lots of entities are in range, at least for my computer.

I would like a mod that just deals the damage in two radiuses, possibly without the expanding special effect, so it runs smoothly.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

Re: Less Laggy Nuke

Post by PFQNiet »

The graphics would not be the cause of the uneven lag, because the number of graphics doesn't change. Sounds to me like your computer is just struggling to deal with damaging many entities at once.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Less Laggy Nuke

Post by Ranakastrasz »

I might have not communicated correctly.
I believe all of the entities created that move outward radially to simulate the blast wave all individually deal damage as they pass over other damage-able entities, meaning a constant effect of "select all entities in radius" and "Deal damage" every tick for the duration. I think that this might be what causes the lag. However, I am uncertain.

I doubt it is the graphics that are the problem.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Post Reply

Return to “Ideas and Requests For Mods”