Raised This Month: $ Target: $400
 0% 

Grenades for a CSDM mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 09-17-2023 , 18:34   Grenades for a CSDM mod
Reply With Quote #1

I'm using BAILOPAN's CSDM mod. This is the mod i'm talking about: https://forums.alliedmods.net/showthread.php?t=79583

So, when i spawn or respawn, i get the menu to choose weapons from, but no grenades are given to me or other players. I saw than in other CSDM servers, you get your primary and secondary weapons and grenades like the HE grenade.

I want to make my server give the HE grenade to players once they get their primary and secondary weapons.

Is the HE grenade in CSDM enabled by the built-in settings of the CSDM mod, or by the addition of a third-party plugin?
GlobalPlague is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 09-18-2023 , 12:44   Re: Grenades for a CSDM mod
Reply With Quote #2

check csdm.cfg, there you must have a grenades option where you can choose which grenades a player gets..

Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;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 = psa

;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
something like this maybe
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
TribalBlood
Member
Join Date: Oct 2020
Old 09-19-2023 , 08:07   Re: Grenades for a CSDM mod
Reply With Quote #3

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

try add this to "autoitems" -> "g" | g = grenades

ex: autoitems = ahg

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

if you want to add more grenades then to: grenades = h + whatever you want.

ex: grenades = hs | now we added smoke to it.
__________________
My Steam Profile

- Online Rarely -
TribalBlood is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 09-21-2023 , 17:16   Re: Grenades for a CSDM mod
Reply With Quote #4

Quote:
Originally Posted by TribalBlood View Post
;Autoitem flags:
; a - armor
; h - helmet
; g - grenades
; d - defusekit (CTs only!)
; n - nightvision
autoitems = ah

try add this to "autoitems" -> "g" | g = grenades

ex: autoitems = ahg

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

if you want to add more grenades then to: grenades = h + whatever you want.

ex: grenades = hs | now we added smoke to it.
Thanks. Now it works.
GlobalPlague is offline
Reply



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 19:13.


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