Hammerwatch Forum
Custom mapping and Mods => Editor Discussion => Topic started by: KptnKook on August 29, 2013, 01:30:43 AM
-
I realized, that i don't even know how to open a door, after taking the bonus_key. how do i trigger, toggle or set this up?
i don't know how to detect that a key was picked up. ???
thanks
-
doors are automatically opened by the corresponding key when you walk into them its hard coded.
it is possible to make custom keys using this string: <entry name="type"><int>4</int></entry>
however there is no way to display the new key on the hud so when i do this i apply and on item destroyed trigger that activates some text.
-
doors are automatically opened by the corresponding key when you walk into them its hard coded.
it is possible to make custom keys using this string: <entry name="type"><int>4</int></entry>
however there is no way to display the new key on the hud so when i do this i apply and on item destroyed trigger that activates some text.
You can actually show them in the hud if you are willing to modify it, take a look at line 52-54 in the menus/gui/hud.xml.
-
great.. i am so willing to do this! 8)
i am also willing to add a new "rope" item, which can be used on some occasions. it should be seen in the hud, also.