Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: QuantumDelta on August 29, 2009, 06:41:34 am
-
Can I has make fred request too pretty please (I thought it'd probably be better to use an existing thread than plonk another one down)..?
A "Force respawn" timer, either in events for specific ships, or mission wide in something like mission specs.
The reason being is three fold;
a) The functionality doesn't seem to be in (or if it is no one I've quizzed on the subject seems to be aware of it) and it'd be kinda cool generally.
b) The multi guys (well, cc, E and I) have been working on a mission I sorta put together a concept for and it's kinda 'broken as a concept' if the players are allowed to sit on the respawn screen and go afk for 10 minutes.
c) Not respawning was an abused tactic in squad wars on occasion, if we're to re-construct SW, I'd like to see the abuse of that 'tactic' removed, cuz it's really not intended..
So....with sugar on top? and maybe a strawberry? :p
-
Adding this to mission specs as a mission flag looks like a 10-15 minute job to me. Adding it with a timer would take a little while longer. Adding for specific ships might be a little harder though.
Which would you rather have? It seems to me that something like this should be in mission specs.
-
I would say mission specs, with a timer. Makes is easier for everyone involved.
-
It's most ideal really indeed, even prevents people from building skewed missions by accident.
But a timer is really needed, if that can be done in mission specs it would be great
-
I figured this was going to get confusing in the original topic.
I should have some time to code today so I'll look into it. It does mean doing some things with timestamps that I haven't tried before but this should be a good learning experience. :D
EDIT : Done. Seems to work in multiplayer mode with only a single player, don't have another PC to test it in multiplayer yet (although I will soonish).
Download here (http://www.freespacefaq.com/Misc-Downloads/Builds/Max_Respawn_Delay_Build.7z). FRED build included.
-
Works brilliantly with clients too, could do with a "Forced respawn in xyz" timer if possible though for people who aren't ready for it, it can be quite disorientating ;D
-
Oh, just something we noticed while playing this yesterday: The respawn timer needs to default to infinity, not zero, if no respawn timeout is given.
-
Yup, or it goes insta-respawn
-
Nah, it just needs me to actually check whether it's 0 or not. I kinda forgot to. :D
Unless people actually want there to be an option for no respawn delay. In that case a -1 default would make sense.
-
In that case, I'm all for -1. Respawn time of 0 has its uses.
-
On a related note, can we possibly make it so that dying does NOT temporarily prevent you from sending messages?
Like, when I die, if I was typing a message which admittedly is most often the cause of my death, in such cases, I have to wait until the respawn dialog displays before I can finish typing it and send it.
-
:bump: fixed a couple of bugs and added a message so people know how long before auto-respawn.
Link is the same as before.
-
Don't suppose it'd be possible to add a flag/checkbox for tvt missions that'd stop respawns until an entire team was smoked. . . .like in counter strike?
-
That would require a hell of a lot more work.
-
Also depending on how you use it, very boring for some people.
If I was flying with a total newbie on my side (*I often end up with the weakest, or a couple of the weaker pilots on my team in TvT to make it fair if the sides are numerically balanced) they wouldn't be able to do things for ages... >.>
-
Yep, that sort of thing only works in missions where everyone dies very quickly no matter how skillful. Something like FPS TvTs where everyone has rocket launchers with unlimited ammo. :D