AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Simple Ball Plugin (Soccerjam) (https://forums.alliedmods.net/showthread.php?t=283311)

mottzi 05-30-2016 16:50

[CS:GO] Simple Ball Plugin (Soccerjam)
 
2 Attachment(s)
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.

LenHard 05-30-2016 18:07

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Nice release, this would be handy to use in Jailbreak servers since there is the worst ball physics that they have.

mottzi 05-30-2016 18:42

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Yes, thats the main reason I made this plugin, to play soccer was the best in jailmod back in cs 1.6.

mottzi 05-31-2016 11:41

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Made some minor adjustments.

shanapu 05-31-2016 17:18

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Quote:

Originally Posted by LenHard (Post 2423369)
Nice release, this would be handy to use in Jailbreak servers since there is the worst ball physics that they have.

+1

mottzi 06-01-2016 15:47

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Thanks.


Fixed a small bug that could lead to the server crashing when the first ball ever was spawned.

my11 06-01-2016 20:37

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
the menu does not appear

yash1441 06-02-2016 02:21

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Quote:

Originally Posted by my11 (Post 2424029)
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?

r3D w0LF 06-02-2016 08:56

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
Quote:

Originally Posted by my11 (Post 2424029)
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

mottzi 06-02-2016 09:47

Re: [CS:GO] Simple Ball Plugin (Soccerjam)
 
2. You need to attack the ball holder, he will drop it then.
3. What do you mean. Removing the default prop_physics entities?


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

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