Talk:Func tanktrain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Code Bug == | == Code Bug == | ||
:{{bug|This entity has a hard-coded damage filter for BLAST damage and is not even properly configured to take damage in the first place.}} | :{{bug|hidetested=1|This entity has a hard-coded damage filter for BLAST damage and is not even properly configured to take damage in the first place.}} | ||
Even if you comment out the hacky damage filter on line 80, the Spawn() function sets m_takedamage to true (on line 73) which is an inappropriate value. The true, or 1, will be interpreted as DAMAGE_EVENTS_ONLY and since the only damage-related output it has is OnDeath this can never happen since it's health will never change until takedamage is set to DAMAGE_YES. | Even if you comment out the hacky damage filter on line 80, the Spawn() function sets m_takedamage to true (on line 73) which is an inappropriate value. The true, or 1, will be interpreted as DAMAGE_EVENTS_ONLY and since the only damage-related output it has is OnDeath this can never happen since it's health will never change until takedamage is set to DAMAGE_YES. | ||
[[User:BitMage|Bit Mage]] ([[User talk:BitMage|talk]]) 00:42, 3 June 2015 (UTC) | [[User:BitMage|Bit Mage]] ([[User talk:BitMage|talk]]) 00:42, 3 June 2015 (UTC) | ||
Line 8: | Line 8: | ||
Portal 2 uses TeleportToPathNode, idk about any other games, but this page only lists TeleportToPathTrack. [[User:Coding Ethan|Coding Ethan]] ([[User talk:Coding Ethan|talk]]) 15:14, 21 February 2019 (UTC) | Portal 2 uses TeleportToPathNode, idk about any other games, but this page only lists TeleportToPathTrack. [[User:Coding Ethan|Coding Ethan]] ([[User talk:Coding Ethan|talk]]) 15:14, 21 February 2019 (UTC) | ||
:That's a func_''track''train input. It shouldn't be on this page in the first place... [[User:Loudslappingsounds|Loudslappingsounds]] ([[User talk:Loudslappingsounds|talk]]) 12:38, 22 February 2019 (UTC) | :That's a func_''track''train input. It shouldn't be on this page in the first place... [[User:Loudslappingsounds|Loudslappingsounds]] ([[User talk:Loudslappingsounds|talk]]) 12:38, 22 February 2019 (UTC) | ||
::Func_tanktrain inherits func_tracktrain, so actually, it probably works.<br/>— [[User:SirYodaJedi|SirYodaJedi]] ([[User_talk:SirYodaJedi|talk]]) 18:22, 15 July 2024 (PDT) |
Latest revision as of 07:16, 20 May 2025
Code Bug
Bug:This entity has a hard-coded damage filter for BLAST damage and is not even properly configured to take damage in the first place.
Even if you comment out the hacky damage filter on line 80, the Spawn() function sets m_takedamage to true (on line 73) which is an inappropriate value. The true, or 1, will be interpreted as DAMAGE_EVENTS_ONLY and since the only damage-related output it has is OnDeath this can never happen since it's health will never change until takedamage is set to DAMAGE_YES. Bit Mage (talk) 00:42, 3 June 2015 (UTC)
TeleportToPathTrack vs TeleportToPathNode
Portal 2 uses TeleportToPathNode, idk about any other games, but this page only lists TeleportToPathTrack. Coding Ethan (talk) 15:14, 21 February 2019 (UTC)
- That's a func_tracktrain input. It shouldn't be on this page in the first place... Loudslappingsounds (talk) 12:38, 22 February 2019 (UTC)
- Func_tanktrain inherits func_tracktrain, so actually, it probably works.
— SirYodaJedi (talk) 18:22, 15 July 2024 (PDT)
- Func_tanktrain inherits func_tracktrain, so actually, it probably works.