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

[CS:GO] Simple Ball Plugin (Soccerjam)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Plugin ID:
5218
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Modified soccerjam plugin. Let's you add a real ball to your server.
    Old 05-30-2016 , 16:50   [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #1

    Description

    This plugins let's you spawn a simple ball on your servers. The ball can be kicked by pressing the use (E) button. When the ball holder is attacked, he will drop the ball.



    Commands
    • !ball : Admin-Menu to set/refresh/remove the ball

    Customization

    You can customize certain things. Open the source code, at the top you'll find:
    Quote:
    // ***
    // only modify if you know what you're doing
    #define BALL_ENTITY_NAME "simpleball"
    #define BALL_CFG_FILE "configs/ballspawns.cfg"
    #define BALL_PLAYER_DISTANCE 55.0
    #define BALL_KICK_DISTANCE 55.0
    #define BALL_KICK_POWER 600.0
    #define BALL_HOLD_HEIGHT 15
    #define BALL_KICK_HEIGHT_ADDITION 25
    #define BALL_RADIUS 16.0
    #define BALL_AUTO_RESPAWN 35.0
    #define BALL_ADMIN_MENU_FLAG ADMFLAG_BAN
    // thanks.
    // ***
    Installation

    Simply export the contents of the .zip file to your server's csgo folder.

    Known Bugs

    When you set your first ball ever, the server might crash. After this one crash, the plugin works flawless. The issue lies with the key valus file, but in the moment I can't seem to understand what is causing the crash.

    Credits

    Credits go to t.sang. His soccerjam mod is the base of this simplified plugin.
    Attached Files
    File Type: zip Simple Ball CSGO v1.1.zip (1.75 MB, 529 views)
    File Type: zip Simple Ball CSGO v1.2.zip (1.74 MB, 1389 views)
    __________________
    Quote:
    #define true ((rand() % 2)? true: false) //Happy debugging suckers

    Last edited by mottzi; 06-14-2016 at 16:43.
    mottzi is offline
    Send a message via MSN to mottzi
    LenHard
    Senior Member
    Join Date: Jan 2016
    Old 05-30-2016 , 18:07   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #2

    Nice release, this would be handy to use in Jailbreak servers since there is the worst ball physics that they have.
    LenHard is offline
    mottzi
    Veteran Member
    Join Date: May 2010
    Location: Switzerland
    Old 05-30-2016 , 18:42   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #3

    Yes, thats the main reason I made this plugin, to play soccer was the best in jailmod back in cs 1.6.
    __________________
    Quote:
    #define true ((rand() % 2)? true: false) //Happy debugging suckers
    mottzi is offline
    Send a message via MSN to mottzi
    mottzi
    Veteran Member
    Join Date: May 2010
    Location: Switzerland
    Old 05-31-2016 , 11:41   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #4

    Made some minor adjustments.
    __________________
    Quote:
    #define true ((rand() % 2)? true: false) //Happy debugging suckers
    mottzi is offline
    Send a message via MSN to mottzi
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 05-31-2016 , 17:18   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #5

    Quote:
    Originally Posted by LenHard View Post
    Nice release, this would be handy to use in Jailbreak servers since there is the worst ball physics that they have.
    +1
    __________________
    coding & free software
    shanapu is offline
    mottzi
    Veteran Member
    Join Date: May 2010
    Location: Switzerland
    Old 06-01-2016 , 15:47   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #6

    Thanks.


    Fixed a small bug that could lead to the server crashing when the first ball ever was spawned.
    __________________
    Quote:
    #define true ((rand() % 2)? true: false) //Happy debugging suckers
    mottzi is offline
    Send a message via MSN to mottzi
    my11
    Member
    Join Date: Feb 2015
    Location: Argentina
    Old 06-01-2016 , 20:37   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #7

    the menu does not appear
    __________________
    my11 is offline
    yash1441
    Senior Member
    Join Date: Feb 2015
    Location: Illuminati HQ
    Old 06-02-2016 , 02:21   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #8

    Quote:
    Originally Posted by my11 View Post
    the menu does not appear
    • Is the plugin loaded? (sm plugins info sm_ball)
    • Are there any error messages?
    • Are you an admin in the server?
    __________________
    yash1441 is offline
    Send a message via Skype™ to yash1441
    r3D w0LF
    Senior Member
    Join Date: Dec 2013
    Location: Albania
    Old 06-02-2016 , 08:56   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #9

    Quote:
    Originally Posted by my11 View Post
    the menu does not appear
    1. Make sure u have ban access, not only Z

    2. How do I take ball from someone who has it?

    3. Remove entity ball on some maps

    Last edited by r3D w0LF; 06-02-2016 at 09:30.
    r3D w0LF is offline
    mottzi
    Veteran Member
    Join Date: May 2010
    Location: Switzerland
    Old 06-02-2016 , 09:47   Re: [CS:GO] Simple Ball Plugin (Soccerjam)
    Reply With Quote #10

    2. You need to attack the ball holder, he will drop it then.
    3. What do you mean. Removing the default prop_physics entities?
    __________________
    Quote:
    #define true ((rand() % 2)? true: false) //Happy debugging suckers
    mottzi is offline
    Send a message via MSN to mottzi
    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 05:05.


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