Raised This Month: $12 Target: $400
 3% 

Jail Mod [ENTITY VERSION]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grrrrrrrrrrrrrrrrrrr
Senior Member
Join Date: Oct 2007
Plugin ID:
223
Plugin Version:
2.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This jail mod works for servers that just want jail mod or servers that have mods like WC3, Superheromod, or any other plugin that allows users to have special powers that must be disabled when they are in jail.
    Old 11-28-2007 , 17:28   Jail Mod [ENTITY VERSION]
    Reply With Quote #1

    JAILMOD

    BY Grrrrrrrrrrrrrrrrrrr

    Command Lines:
    jailmod_on (defualt 1) : 1 turns the plugin on; 0 is off
    jailmod_eyes (defualt 1) : 0 allows players to look around the whole map (like a dead person does) while in Jail

    How It Works:
    1. Jail Mod finds a jail point auto-magically (its some crazy advanced algorithm using some crazy advanced number that isn't even on my keyboard*). So, you do not need to specify jail spawn points.
    2. player dies and goes to jail!
    3. someone on the players team comes and touches the jail cell.
    4. players in jail are saved!!
    5. Celebrate by killing the other team!!!!
    * You should be thinking: "How did she/he type it then?"

    Installation:
    jailmod.sp (put in sourcemod/scripting)
    jailmod.amx (put in sourcemod/plugins)

    ENJOY!

    Updates:
    1.9 - released
    2.0 - removed need for sdk loading. The new sourcemod has both the "
    CS_RespawnPlayer" and the "SetEntityModel." (thanks for the information BAILOPAN)
    2.1 -
    Clear Spawning point so jailed players don't spawn inside of live players.
    Attached Files
    File Type: sp Get Plugin or Get Source (jailmod.sp - 7184 views - 13.8 KB)
    __________________
    Note: "r" letters = 19 ; CHEESE: I LIKE CHOCOLATE MILK

    Last edited by Grrrrrrrrrrrrrrrrrrr; 12-07-2007 at 03:26.
    Grrrrrrrrrrrrrrrrrrr is offline
    Send a message via AIM to Grrrrrrrrrrrrrrrrrrr
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 11-28-2007 , 17:36   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #2

    Neat idea!! Ill let u know when i get a chance to check it out!!

    Thank you for your work!

    TechKnow
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    BAILOPAN
    Join Date: Jan 2004
    Old 11-28-2007 , 21:03   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #3

    Congrats on finishing this ;)
    I would recommend two things:
    1. Call the gamedata file jailmod.games.txt instead (that convention is to prevent name clashes with translation files).
    2. Use CS_RespawnPlayer() from cstrike.inc, so updates are less likely to kill your plugin.
    __________________
    egg
    BAILOPAN is offline
    Grrrrrrrrrrrrrrrrrrr
    Senior Member
    Join Date: Oct 2007
    Old 11-28-2007 , 21:06   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #4

    thanks. I have finally got props_physics_multiplayer to work. Drove me nuts, but I made the mass higher and the problem was solved.
    (made your fixes BAILOPAN)

    ( @TechKnow: I stole your picture and name layout for posting new plugins. -thanks )
    __________________
    Note: "r" letters = 19 ; CHEESE: I LIKE CHOCOLATE MILK

    Last edited by Grrrrrrrrrrrrrrrrrrr; 11-28-2007 at 21:52.
    Grrrrrrrrrrrrrrrrrrr is offline
    Send a message via AIM to Grrrrrrrrrrrrrrrrrrr
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 11-29-2007 , 01:23   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #5

    How does a player get put in Jail? Duh... Nevermind I see it now.
    __________________
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    Grrrrrrrrrrrrrrrrrrr
    Senior Member
    Join Date: Oct 2007
    Old 11-29-2007 , 01:54   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #6

    Quote:
    Originally Posted by Grrrrrrrrrrrrrrrrrrr
    (its some crazy advanced algorithm using some crazy advanced number that isn't even on my keyboard*).
    Apply that to all of my coding - .
    __________________
    Note: "r" letters = 19 ; CHEESE: I LIKE CHOCOLATE MILK

    Last edited by Grrrrrrrrrrrrrrrrrrr; 11-29-2007 at 20:14.
    Grrrrrrrrrrrrrrrrrrr is offline
    Send a message via AIM to Grrrrrrrrrrrrrrrrrrr
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 12-01-2007 , 07:38   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #7

    so the jail cell is placed by a solid entity...when does this occur? (I'm worried about players spawning within the jail)
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 12-01-2007 , 09:19   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #8

    Nice work !
    __________________
    Rebell is offline
    Grrrrrrrrrrrrrrrrrrr
    Senior Member
    Join Date: Oct 2007
    Old 12-01-2007 , 14:14   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #9

    @FlyingMongoose: Test out the script. It works well. Users do not get stuck in the jail. I've tried it with over 20 people and theres no problem.

    Still, im not sure what you mean exactly by
    Quote:
    so the jail cell is placed by a solid entity
    . Explain further.
    __________________
    Note: "r" letters = 19 ; CHEESE: I LIKE CHOCOLATE MILK

    Last edited by Grrrrrrrrrrrrrrrrrrr; 12-01-2007 at 14:18.
    Grrrrrrrrrrrrrrrrrrr is offline
    Send a message via AIM to Grrrrrrrrrrrrrrrrrrr
    SWE_Bert
    Junior Member
    Join Date: Oct 2006
    Old 12-01-2007 , 16:08   Re: Jail Mod [ENTITY VERSION]
    Reply With Quote #10

    The problem is that you get stuck in jail if you are released and doesn't move from the jail. The next player that die will than get stuck in you. One way to fix this, is to make so can walk through all players that are in jail.

    Also, I think there should be settings so you can remove bomb/hostages.

    Last edited by SWE_Bert; 12-01-2007 at 16:11.
    SWE_Bert is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 09:48.


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