MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
83 stars 90 forks source link

Make spikes damage enemies only(not teammates, not yourself) #1021

Closed farooqkz closed 1 year ago

farooqkz commented 2 years ago

Depends on https://github.com/minetest/minetest/issues/8265

LoneWolfHT commented 1 year ago

Fixed by https://github.com/MT-CTF/capturetheflag/commit/186ef8a142bbf4eb966786141828cb23e7af3387

farooqkz commented 1 year ago

Fixed by 186ef8a

Nice but I think if we had engine support, it could be better?

LoneWolfHT commented 1 year ago

Fixed by 186ef8a

Nice but I think if we had engine support, it could be better?

The merged method makes it easy to see what spikes will damage who, and also allows map editors to place team & teamless spikes. It's probably the best approach even with an engine change