Raised This Month: $ Target: $400
 0% 

Spawn Creator v1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   VEN (29)
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-27-2007 , 00:35   Spawn Creator v1.2
Reply With Quote #1

Spawn Creater

Description
Have you ever played a map that didn't have enough spawn points for 32 players? Well, this plugin tries to remedy that. It can either dynamically add more spawns, or it can do it manually through config files.

Installation
Install like any other plugin, then create a directory in configs called "spawncreater". In here, create a file called "default.ini". Add this into the file:

Code:
; This is the amount of terrorist spawns the plugin aims to get
; Note that these will be added dynamically at map load, no origins required
; You can also use a value (like 18) if you want there to be 18 spawns for terrorists
; Using "players" as the parameter uses the max players (a 24 slot server will have 13
; for terrorists, 32 slot will have 17 spawns, etc.)
t_spawns players

; This is the amount of counter-terrorist spawns the plugin aims to get
ct_spawns players

; This will specify whether to enable or disable buyzones
; Setting this to 1 will make spawns appear only with the actual spawn point,
; users will not be able to buy
buyzone_disable 0

; This is the maximum distance a point can be from the original spawn points
; Set to higher for a very tight map with little room
distance_limit 500
If you want to add any specific spawns for any map, you can create a file called "<map>.ini" (i.e. de_dust would be "de_dust.ini") and use the following:

Code:
; x y z = origin (i.e. "32 924 192")
; team = 0/1 (i.e. "0" for terrorist, "1" for ct)
spawn "x y z" team
You can also do crazy stuff like this:

Code:
buyzone_disable 1
Code:
spawn "2813 123 1283" 0
buyzone_disable 0
spawn "132 154 895" 1


Note that any settings from default.ini are overrided by the map's settings. Thus, if you set "buyzone_disable 1" in default.ini, but then to "0" in a map's config, it will end up as 0. The same is true for "ct_target", "t_target" and "distance_limit".

Usage
There is an in game menu included, which provides some basic functions for dealing with this. Simply use the command "spawnmenu" in your console or bound to a key to use it. It includes the settings for the default.ini and <map>.ini, an option to place a spawn in the spot you're standing, and a display of how many spawns are currently on the map, as well as how many of them were created by the plugin.
Attached Files
File Type: sma Get Plugin or Get Source (spawn_creater.sma - 6466 views - 11.4 KB)
__________________

Last edited by Hawk552; 02-01-2007 at 21:31. Reason: upgraded to v1.2
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 22:32.


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