边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Blast Forge
   
奖励
收藏
已收藏
取消收藏
Mod, 1.6
文件大小
发表于
更新日期
4.199 MB
8 月 31 日 上午 10:22
9 月 6 日 上午 10:47
3 项改动说明 ( 查看 )

订阅以下载
Blast Forge

描述

💭 This started as a little framework for better particles in another mod idea. It ended with me falling down a rabbit hole and emerging with this: a high-performance, flexible special effects engine.


📜 Core Features

🩹 With a simple, non destructive harmony postfix, the framework allows overriding explosion effects. The system also supports multiple effects per explosion type for random selection.

💥The framework comes with overriding samples for Antigrain Warhead, Bomb, Flame, EMP, Stun, Extinguisher and Smoke explosion types. (They don't include any damaging particles, only visuals. Although the mod allows adding damaging particles to effects as well.)

📰 All effects are producible with XMLs, allowing for easy creation of multi-stage effects, each with unique timing, physics and visual properties.

✨ Hybrid Particle System: Instructions can spawn either purely cosmetic Fleck objects or mechanically functional Projectiles. This allows for a mix of visual flair and damaging components within a single effect definition.

🚀 Performance: Features optinal particle count, projectile count and collision level settings both globally and effect specific; for every needs from silky-smooth performance to an absolute "blast" of an on-screen action.

I haven't seen myself a fps below 60 with the most demanding explosion "Antigrain Warhead" (single blast) with full collision settings (i5-12500H, RTX 3050 Ti laptop).


⚙ Mod Settings ⚙

Harmony patch to override explosion visuals can be turned on and off.

A multiplier to globally increase or decrease the number of particles for performance tuning.

A multiplier to globally increase or decrease the number of projectiles (if they are used).

A slider to limit mod's global collision level: None, Walls, Buildings, Pawns, Plants&Items.


🚧 System Architecture (For Modders)

⚙ SingleTakeDef: The top-level definition for a complete effect sequence. Can contain multiple FleckInstructions.

⚙ FleckInstruction: The data class for a single volley of particles with scale, color, spawn properties, direction, fire arc, collision and projectile properties.

⚙ RunningEffect: The runtime class that executes a SingleTakeDef for a specific launcher.

⚙ BlastMatchDef: Makes it possible to assign multiple SingleTake sequences randomly to a single explosion type.

⚙ Things can change with new updates, but mod .xml files contain tips and updated examples for everything.


🧩 Compatibility

★ The forge utilizes a non-destructive Harmony postfix on Explosion.StartExplosion. It does not alter vanilla explosion damage, sound, or other mechanical behavior, only adding visual effects on top.

★ Effects system can spawn standard Projectile objects using the vanilla Bullet class by default. This ensures high compatibility with mods that alter combat mechanics, including Combat Extended.

★ Can be installed to existing saves. Can be uninstalled on the go with a single error that should be fixed on the next save.


💭 Future Ideas

● Adding sound options.
● Changing that antigrain explosion visuals.


✒️ My other mods:
Anti-Blight and Firefoam Dispensers
Circuit Breaker


‎ ㅤㅤㅤㅤ
13 条留言
June 10 月 20 日 下午 9:57 
really hope you are still working on this, it has soooo much potential
Darius Wolfe 9 月 13 日 上午 9:57 
Very cool. Will give this a shot in my current playthrough.
blues  [作者] 9 月 13 日 上午 3:48 
Thanks for the nice words and support, all.

Darius, the videos are there. Use the horizontal slider under the media section.
MRKS 9 月 12 日 下午 5:45 
This is underrated. Effect feels more cinematic and fits the game better then the other explosion revamps imo.
Darius Wolfe 9 月 9 日 下午 5:21 
Any videos of this in effect? I feel like the static pictures aren't really selling it.
тетеря, блин 9 月 9 日 下午 3:04 
wow.
June 9 月 8 日 上午 1:35 
best mod in a long time. been experimenting with the xmls and just changing a few values gives coplete controll over the explosions. an in game menu would be spectacular but as it stands: great mod biggest fan here xD
MRKS 9 月 6 日 下午 4:34 
beautiful explosion effects
Bayonet 9 月 6 日 上午 11:28 
niiiice
Agent John Smith 9 月 6 日 上午 11:18 
:FireStrike: