AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS][Surf] Redie (https://forums.alliedmods.net/showthread.php?t=129735)

rambomst 06-16-2010 09:11

[CSS][Surf] Redie
 
6 Attachment(s)
Description:
  • This plugin is mainly meant for surf maps but can be used on any. It allows a player to respawn as a ghost to walk/surf around the map so you aren't stuck in spectator mode waiting for the round to end.
  • Ghosts are not able to block players movements but players are able to block ghosts if they get in the way. To stop this for happening the use of a no-block plugin will help.
ConVars:
  • sm_redie_version - Plugin version.
  • sm_redie - !redie in chat to spawn as a ghost.
  • sm_redie_adverts - set to 0 to disable the advert.
Requirements:
Credits:
  • ATAMAH - Original ES addon here.
Changelog:
  • 1.0 - release.
  • 1.1 - Fixed 2 bugs.
  • 1.2 - Added sm_redie_adverts and fixed issue with ghost blocking players.
  • 1.3 - Added a message sent to player on death reminding them of !redie and fixed an issue with ghosted players emitting blood when shot at.
Special Thanks:

meng 06-16-2010 15:46

Re: [CSS] Redie
 
NiCe :up:.




PHP Code:

version "PLUGIN_VERSION"

should be...
PHP Code:

version PLUGIN_VERSION

line 73... ?
PHP Code:

PrintToChat(client"\x01[\x03Redie\x01] \x04 TEST."); 


Maybe add noblock for ghosts with a CVar? A simple visual effect would be cool as well.

rambomst 06-16-2010 17:28

Re: [CSS] Redie
 
Argh, I uploaded it at like 12:30am and missed those :( lol well I have fixed those 2 things and I will add noblock when I got home today. When you say visual effect do you mean making it so the player can just be seen (255, 255, 255, 5) or something more like the ES version where a cloud follows around the person who is a ghost?

rambomst 06-17-2010 23:41

Re: [CSS] Redie
 
I tried to add noblock for ghosts only but after doing so I found out that m_CollisionGroup has to be set for both the ghost and the person touching the ghost or else people will be able to walk through the ghosts but ghosts wont be able to walk through people. If someone walks through the ghost then the ghost would get stuck so useless you know of a way to get around this I guess this plugin will only really work on servers with noblock.

Cleric 06-18-2010 06:34

Re: [CSS] Redie
 
I would advise you to add that info to the desc. That you need a noblock plugin to make the ghosts "walk-through". When I read "ghost" and "without interfering with gameplay" I thought they would be noblock.

They did indeed interfere with the gameplay on my server, a lot of pissed off dead players blocking everything :P. Otherwise, nice plugin.

rambomst 06-18-2010 06:42

Re: [CSS] Redie
 
I will upload a new version in a sec which allow players to walk through ghosts but ghosts can't walk through players so there is no player blocking by the ghosts. I will also mention that for better functionality the use of a no-block plugin is advised.

CTS_AE 06-25-2010 01:45

Re: [CSS] Redie
 
anyone able to get this to work on the orangebox CSS?

rambomst 06-25-2010 01:48

Re: [CSS] Redie
 
I just tested this on my CSS surf server after updating everything and it works fine. Make sure you have the OB version of SDKHooks and are you getting any errors about redie in your sm error logs?

CTS_AE 06-25-2010 03:56

Re: [CSS] Redie
 
sweet got it working thanks!

bouncer 06-25-2010 15:34

Re: [CSS] Redie
 
Is it possible to somehow make the smoke lighter? Because if you have a 64 slot server or even a 32, this could cause problems and give players very little visibility.

Better yet, what about making the smoke completely disappear? or maybe make like something appear on the floor thats moving? like a moving spray? idk just some idea.
I think it's kinda bad to use smoke because it could block players view.


All times are GMT -4. The time now is 04:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.