I have recently started a new coding project - I am trying to create a min-game mode for the map mml minastirith. The idea would be for an unarmed axis team to sneak past heavily armed allied guards, and eventually capture the palantir.
There are two parts to making this happen:
-
Lua: This would be used to disarm axis players, give allied players extra perks, special abilities, etc. This part is simple enough - although if anyone has suggestions please feel free to post something.
-
Mapscripting: In order to make this playable in the new mode, the axis players will need a way of getting to the top of the tower without dynamiting gates. This has proved to be a little more troublesome. I have come of with two ways of doing this, but ran into issues with each one:
a) Make the gates vulnerable to grenades. I have seen (and tested) other mapscripts which use this technique. However, it doesn’t seem to work on Minas. When the gates are left dynamitable, only axis can damage them - this works properly. But when the gates are switched to satchel or grenades, both teams can damage them (this is still acceptable), and the death block is never called in the script (unnacceptable, since I need this to swap the spawn). Could anyone shed light on why this is happening? Does it involve an additional definition in the .bsp file?
b) Remove the gates completely. I would then add in capturable spawn flags, or some kind of highlighted trigger cube if this is not possible. This works fine, with one minor issue - the gate tooltip text (You are near the…) does not disappear, and neither do the map icons. Any ideas?
Any help with the map scripting is much appreciated - I am just starting out. Here is a link to the entire map file:
http://boa-clan.awardspace.info/etserver/etmain/mml_minastirith_fp3.pk3

