Hammerwatch Forum
Custom mapping and Mods => Editor Discussion => Topic started by: Dai Tou Zai on November 23, 2014, 07:27:45 PM
-
Without using triggers can you make a pushable box just by using the XML coding?
-
You have to make it a creature and use a toggle invulnerability script.
-
You have to make it a creature and use a toggle invulnerability script.
im guessing have it set as stationary too?
-
I think you might get an idea if you check out the Requiem for Hammerwatch campaign, there's some NPCs that are pushable in the beginning area.
-
im guessing have it set as stationary too?
No movement, no attacks.
-
No need for any of that, just use <collision static="false"> and anything will be pushable.
-
No need for any of that, just use <collision static="false"> and anything will be pushable.
Right, but then you can't do other cool things with the move ai script when you want to.
-
Thanks guys, anybody know if its possible to make a collision that only effects the boxes though?
-
As far as I know, no.
-
Something to note with this pushing - it doesn't mirror on all clients. So if its single player, push mechanics are fine, but for multiplayer or coop it won't mirror on the other players' screens. Myran knows how to explain it better
-
Yea, also strange bugs can occur, you can see it when you play the desert campaign, that sometimes some coins get stuck for the server but not the client and vise versa.