This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

AlterCollisionTile able to change Fire and Explosion hit

Give us your input on how we may improve the game in future versions.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
Jovani
Fighter
Fighter
Posts: 55
Joined: Sun Sep 18, 2016 2:49 am
Title: Heroe
SFD Account: Jovani
SFD Alias: Johnny
Started SFD: 2014
Location: Mexico
Gender:

AlterCollisionTile able to change Fire and Explosion hit

Post by Jovani » Fri Apr 19, 2019 7:56 am

When I use AlterCollisionTile with this configuration to convert objects such as barrels, tables, crates, etc., in background tiles form, it does not work with wheels, the wheel is in front of the player.
Image

With other objects, this works, but there is a problem with objects that can be destroyed.
When you use fire or explosives against these objects with this AlterCollisionTile configuration, the object is destroyed by fire and explosions.
Image
0 x

User avatar
Ol1vver
Superfighter
Superfighter
Posts: 69
Joined: Mon Nov 19, 2018 4:55 pm
SFD Account: olv
SFD Alias: olv
Started SFD: PreAlpha 1.6.4
Gender:

Post by Ol1vver » Sun Apr 21, 2019 3:36 pm

it isn't a bug, you're just removing the collisions from an object. it will not in any way change their layer, ex. wheels will always be in front of the player, and walls will always be behind the player.

basically you can't turn a breakable object into unbreakable background using AltrerCollisionTile.
0 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Mon Apr 22, 2019 10:08 pm

Fire and Explosions can only be disabled through the ScriptAPI if I recall correctly. You can also enable bitwise collisions from the ScriptAPI. AlterCollisionTile is only used to disable collision between objects directly through the map editor, not change Z-order or Fire. Will move this to the suggestion topics instead.
0 x
Gurt

Locked