The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

389 个评价
[Rep] Enemy Bullet Trails
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
368.725 KB
2023 年 3 月 20 日 上午 4:04
2 月 10 日 下午 1:02
11 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
[Rep] Enemy Bullet Trails

在 catinsurance 的 1 个合集中
catinsurance classics
9 件物品
描述
This mod increases projectile/bullet visibility by giving them a pretty trail. It's extremely customizable through the "Dead Sea Scrolls" menu in game. Access it by pressing [C]!

Note for non-REPENTOGON users: For the option that changes the color to be the color of the bullet (which is now the default), it won't work 100% of the time due to technical limitations. In these cases, it'll default to red. I've only found this to be noticeable on Mega Satan. With REPENOTOGON, this issue should not exist.

/////

Modders, this mod has an api!

--- Assign a custom trail color to a projectile sender. ---@param entity integer @EntityType ---@param variant integer ---@param color Color | function @A Color object or a function that returns a Color object. The function is provided the entity. Don't use Color.Default, it's mutable and may cause issues. function BulletTrails:AddEntityTrailColor(entity, variant, color)

/////

--- Blacklist the entity from having any projectile trails. --- If no variant is provided, all variants of the entity will be blacklisted. (Overwriting any previous variant blacklist) --- If no subType is provided, all subtypes of the variant of the entity will be blacklisted. (Overwriting any previous subtype blacklist) ---@param bool boolean @Enable/disable ---@param entity integer @EntityType ---@param variant integer? ---@param subType integer? function BulletTrails:BlacklistEntity(bool, entity, variant, subType)

/////

--- Get a Color object using RGB values. ---@param red number ---@param green number ---@param blue number function BulletTrails:RGBToColor(red, green, blue)

/////

Additionally, you can check if a trail is a trail from the mod by seeing if this is true:
trail:GetData().B_BulletTrail

You can access the blacklist with:
BulletTrails.EntityTrailBlacklist

You can access the entity projectile trail color table with:
BulletTrails.TypeToColors

Make sure you never use Color.Default as one of the colors! This is a mutable color and will have its transparency altered!

--

Please leave feedback in the comments. Bug reports are expected to be detailed, with any errors (red text appearing in the developer console) included.
Thanks to Luni on Discord for the idea to make this mod.
110 条留言
KiTTiE-K@T 3 月 28 日 上午 6:35 
Most useful mod of all time
catinsurance  [作者] 2 月 10 日 下午 1:09 
update: If using REPENTOGON, bullets that previously could not have their trail sync colors now can!
DogeTOM 2024 年 12 月 8 日 上午 3:39 
too laggy
Lumos [FR] 2024 年 10 月 29 日 下午 4:54 
I noticed that the blue flames from the urn of soul are replaced by red bullets. May be from another mod but this one seems to be the problem. But likes the mod anyway, great work :D
Vincent 2024 年 8 月 8 日 上午 9:53 
press L instead of c
g*y r*tard 2024 年 4 月 28 日 上午 6:47 
pressing c to open dead sea scrolls only opens this mods menu, theres no way to config other mods
n0moreCRY | Graphical Designer 2024 年 1 月 28 日 上午 9:10 
I like this mod. Sometimes it's hard to notice the red bullets from mobs because your bullets are also red, and when they hit an obstacle, they split. This makes it more difficult to avoid taking damage.
sbruzzboi 2024 年 1 月 2 日 上午 3:13 
what if you had an option where trail length synced with bullet speed :D
admc 2023 年 9 月 3 日 上午 8:21 
montezuma's corn projectiles have trails
catinsurance  [作者] 2023 年 8 月 27 日 上午 1:12 
gonna release an update soon that fixes a lot of issue with falling rock projectiles, along with missing trail colors