[SSGM 4.0 Plugin] Unstuck Command [message #478634] |
Sun, 13 January 2013 07:38 |
|
zunnie
Messages: 2959 Registered: September 2003 Location: Netherlands
Karma: 0
|
General (2 Stars) |
|
|
DOWNLOAD: http://multiplayerforums.com/index.php?/files/file/169-unstuck-command-plugin/
This plugin allows players to type !stuck or !unstuck to teleport them to the last known good location when they get stuck for some reason.
The last known good location is usually the location where they spawned at or last changed character. This includes the location of a crate in case they get the character crate.
If they are inside a vehicle while stuck it will be destroyed, they will be refunded the cost of that vehicle, and then teleported back to the last known good location.
You can configure a timer in the configuration for this command. The player must wait that time before they are actually teleported, you want to set this above 10 seconds usually to prevent them from 'quickly going back base' after a beacon has been placed for example.
Edit: Forgot to add that the plugin checks their current and stuck position, if they moved too much they wont be teleported back to their last good position. They are not really stuck then.
To use the plugin add it to your [Plugins] section like for example below:
[Plugins]
00=BanSystem.dll
01=Mute.dll
02=mpf_unstuck_plugin.dll
At the bottom of ssgm.ini add a section containing this to configure a global setting:
[Unstuck]
Unstuck_Timer=15
You can also configure it per map by adding entries like this for every map (mapnames are ALL lowercase):
[c&c_field.mix_Unstuck]
Unstuck_Timer=30
[Updated on: Sun, 13 January 2013 10:47] Report message to a moderator
|
|
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478648 is a reply to message #478634] |
Sun, 13 January 2013 17:22 |
Troll King
Messages: 56 Registered: June 2012 Location: Netherlands
Karma: 0
|
Recruit |
|
|
The all known '!unstuck' / '!stuck' command.
I suggest you use Find_Teleport_Location and Can_Teleport(_Here) (dunno what it was again).
Instead of the current method you're using like what SirXeno said is true and will be abused.
EDIT: also Can_Teleport_And_Stand would be a good idea too...
Also Known As: Neijwiert
[Updated on: Sun, 13 January 2013 17:23] Report message to a moderator
|
|
|
|
Re: [SSGM 4.0 Plugin] Unstuck Command [message #478672 is a reply to message #478648] |
Mon, 14 January 2013 11:13 |
|
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
|
|
Troll King wrote on Sun, 13 January 2013 18:22 | The all known '!unstuck' / '!stuck' command.
I suggest you use Find_Teleport_Location and Can_Teleport(_Here) (dunno what it was again).
Instead of the current method you're using like what SirXeno said is true and will be abused.
EDIT: also Can_Teleport_And_Stand would be a good idea too...
|
Listen to this man. Can_Teleport_And_Stand is what Renegade's stock spawn system uses, and I don't know if you've noticed, but if you have enough spawn points on a map in Renegade, you never get stuck it's because of that function.
P.S. It may very well be a specific variant of the "Can_Teleport" functions, but I think it is indeed Can_Teleport_And_Stand.
-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 | Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade
|
[Updated on: Mon, 14 January 2013 11:14] Report message to a moderator
|
|
|