[Rep] Enemy Bullet Trails 预览图

以撒的结合:重生 (The Binding of Isaac: Rebirth)

[Rep] Enemy Bullet Trails

TweaksGraphicsLua

最后更新 2025/02/11文件 360.1 KBID 2949656747

模组简介

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 ! 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.

详情图片

条目信息

所属游戏
以撒的结合:重生 (The Binding of Isaac: Rebirth)
创意工坊 ID
2949656747
文件名
2949656747.bin
文件大小
360.1 KB
最后更新
2025/02/11
内容版本
v1739221367-62d495295af4f4a3
作者与来源
由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。