after some discussion with Sirius about D2's CTF flaws (which I hadn't had a clue of), I have updated my D2X-W32 version so that it now fully supports CTF games:
Flags will now always respawn in their "home" segment after scoring.
A team can only score if their flag is "at home".
Flags can now be picked up by their own teams. If a team picks up their own flag, it will be returned to its "home" segment.
If a segment containing a player start position is marked as flag goal, it will become a spawn point exclusive to the team owning the goal. The segment will be marked as team-exclusive and then turned into a normal (non-goal) segment, so that it cannot be (ab)used as flag goal.
Additionally, D2X-W32 will allow to have powerups always respawn at their initial locations (with the limitation that if a level contains several powerups of the same type - e.g. several Plasma cannons - they will randomly respawn in one of the segments that initially held a powerup of that type. If possible, a segment will be used not currently containing another powerup of that type).
How does that sound?
Caveats if mixing D2X-W32 with other D2-Versions: In that case, the features mentioned above may not work, depending on which client choses spawn locations.
I just cannot understand why it doesn't work for some people. I haven't messed around with the code all that much. I wish I had access to your machines so that I could debug it there.
To tell you the truth, I haven't tried it on this particular machine; I know it didn't work on my family PC. I'll have to get around to it one of these days.
Ah, so the player starts will have to be in the flag base. Shouldn't be a problem, it just means that has to be accommodated for when designing the level.
DarkHorse wrote:Ah, so the player starts will have to be in the flag base. Shouldn't be a problem, it just means that has to be accommodated for when designing the level.
Not so. If a player start location is placed in a segment of type "flag goal", my D2X version will turn that segment into a normal (non-flag goal) segment and mark it as exclusive spawn point for the team owning the flag goal (i.e. if the spawn point is in a red flag goal, only players of the red team will spawn there). Ofc, this does not work in other D2 versions, but you might work around having undesired flag goals by putting the spawn points behind a one way door. I don't know whether D2 might place flags in such segments occasionally however - but mixing my D2X version with others and trying to play my CTF mode doesn't make much sense anyway.