AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Grenades for a CSDM mod (https://forums.alliedmods.net/showthread.php?t=343954)

GlobalPlague 09-17-2023 18:34

Grenades for a CSDM mod
 
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?

Nutu_ 09-18-2023 12:44

Re: Grenades for a CSDM mod
 
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

TribalBlood 09-19-2023 08:07

Re: Grenades for a CSDM mod
 
;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.

GlobalPlague 09-21-2023 17:16

Re: Grenades for a CSDM mod
 
Quote:

Originally Posted by TribalBlood (Post 2810248)
;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.


All times are GMT -4. The time now is 10:24.

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