PDA

View Full Version : Config help-me


BackStats
08-26-2010, 20:29
My CSDM configured in this mode respawn "none"

How do I give 16k every time the player back?
How do I get the weapons are not lying on the ground?
How do I get players to buy their guns and not buy the nice menu?

good, need it.

KWo
08-28-2010, 04:06
Read csdm.cfg config file and let me know which setting with the description You don't understand is for.

BackStats
08-29-2010, 11:41
I just need to enable the purchase of weapons in buyzone and disable the CSDM weapon menu, you can shed some light?

KWo
08-30-2010, 03:42
[misc]
;Map objectives are removed by their flags.
; a - as_ maps
; b - buyzones are removed
; c - cs_ maps
; d - de_ maps
remove_objectives = abcd

change the line above to:
remove_objectives = acd


[equip]

;Equip Menu flags:
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = psa


try to change the last line to:
menus = b

BackStats
08-30-2010, 23:40
I did everything what you told me, but still failed.

-see my shared files:

csdm.cfg
;CSDM Configuration File
; Default settings by BAILOPAN

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the Main plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[settings]

;Sets whether CSDM is enabled or not.
enabled = 1

;Sets whether or not players should be stripped of weapons on round start
; (excludes knife)
strip_weapons = 0

;Sets how long weapons should stay on the ground for after being dropped
;in seconds. note that enabling this can create lots of lag for clients
; AND server. 0 is immediate, -1 is infinite.
weapons_stay = 0

;Sets the spawn mode.
; "none" - users spawn at normal map spawn points
; "preset" - csdm_spawn_preset.amxx required, uses predefined spawns in config files
; -- others may be supplied by 3rd party plugins
spawnmode = none

;Sets whether the bomb is removed
remove_bomb = 1

;Sets the spawn waiting time
spawn_wait_time = 0.75

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the FFA plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ffa]
;Set whether free for all mode is enabled by default
enabled = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the Misc plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[misc]
;Map objectives are removed by their flags.
; a - as_ maps
; b - buyzones are removed
; c - cs_ maps
; d - de_ maps
remove_objectives = acd

;Blocks people from using all buy commands
block_buy = 0

;Auto-refills ammo when it gets depleted
ammo_refill = 0

;Says a radio command to a player when they respawn
spawn_radio_msg = 0


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the ticketing plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ticketing]

;Is round ticketing enabled?
enabled = 0

;Number of times a team can have players respawn before they stop
; being able to respawn
tickets = 150


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the protection plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[protection]

;Is spawn protection enabled?
enabled = 1

;Colors of glow shell, leave this in quotes
;The digits are R, G, B, A where A is the alpha transparency
; (as A gets higher, the glow shell is thicker)
colors = "0 255 0 200"

;Number of seconds someone is respawned for.
time = 2


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the equip plugin for these sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[equip]

;Equip Menu flags:
; p - primary
; s - secondary
; a - armor
; g - grenade
; b - buy
menus = b

;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ah

;Grenade flags:
; f - flashbang
; h - he grenade
; s - smoke grenade
grenades = h

;Sets number of flashbangs given if
; grenades are enabled
fnadesnum = 1


;;;;;;;;;;;;;;;;
;;WEAPON MENUS;;
;;;;;;;;;;;;;;;;

;Format for weapon menus is:
;shortname "Display Name" menupage
;Change the '1' to a '0' to block the weapon
;Removing or moving things
; from the list will change the order of the menus!

[secondary]
usp USP 1
glock18 Glock 1
deagle Deagle 1
p228 P228 1
elite Elite 1
fiveseven "Five Seven" 1

[primary]
m4a1 M4A1 1
ak47 AK47 1
aug AUG 1
sg552 SG552 1
galil Galil 1
famas Famas 1
scout Scout 1
awp AWP 1
sg550 SG550 1
m249 M249 1
g3sg1 G3SG1 1
ump45 "UMP 45" 1
mp5navy "MP5 Navy" 1
m3 M3 1
xm1014 XM1014 1
tmp TMP 1
mac10 "Mac 10" 1
p90 P90 1

;List weapons here the bots can randomly have
;The short name must match one in the list above
[botsecondary]
deagle
usp

[botprimary]
ak47
m4a1
awp
galil
aug

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the item mode plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[items]

;Is item mode enabled?
enabled = 0

;If set to 1, players will drop a pack of goodies when they die.
drop_packs = 1

;Sets the number of armor given by a battery. Default is 15.
battery = 15

;Sets the number of health given by a medkit. Default is 15.
medkit = 15

;Sets the time to wait for an item to reappear on its place. Default is 20 (0 = permanent)
item_time = 20

;Sets how long packs stay on the ground. (Max is 30 seconds)
drop_time = 20

;Remove semicolons to restrict any of the following items
; or add the short weapon names of the weapons you want to restrict (m4a1, ak47, awp ...)
[item_restrictions]
;longjump
;medkit
;battery
;pistolammo
;rifleammo
;shotammo
;smgammo
;awpammo
;paraammo
;fullammo
;armor


plugins-csdm.ini
;rename this file to disabled-csdm.ini to turn it off.
;rename it back to plugins-csdm.ini to turn it on.

;put a semi-colon in front of a plugin to disable it.
;add the word debug after a plugin to place it in debug mode
; for example: csdm_main.amxx debug
;remove a semi-colon to re-enable a plugin


;Main plugin, required for most cases
csdm_main.amxx

;Weapons and equipment menus
csdm_equip.amxx

;Enables preset spawning and the preset spawning editor
;Map config files are located in configs/csdm
csdm_spawn_preset.amxx
;spawn_editor.amxx

;Miscellanious extra features, such as ammo refills
; and objective removals
csdm_misc.amxx

;Spawn protection
csdm_protection.amxx

;Adds free-for-all mode (must be enabled in csdm.cfg too)
csdm_ffa.amxx

;Round ticketing mode, like FireArms. First team to use all
; of their death points loses the ability to respawn.
; (must be enabled in csdm.cfg too)
;csdm_tickets.amxx

;Item mode (from CSDM1)
;Must be enabled in csdm.cfg as well (at the very bottom)
;There is currently no item editor!
;csdm_itemmode.amxx

KWo
08-31-2010, 04:23
So - You want to tell me - You disabled CSDM weapon menu but it still appears and You enabled buyzone, but You cannot buy any weapon? Did You restart the map after making those changes in csdm.cfg?

BackStats
08-31-2010, 13:31
I want to disable the menu and enable the purchase of weapons in buyzone.
Not so, since I changed the map, even restarted the server and still the same.

BackStats
08-31-2010, 22:40
problem solved! great.

KWo
09-01-2010, 02:50
Please write here what was the solution...