add grenade in middle of gun order

Ask questions and share info about GunGame 5

add grenade in middle of gun order

Postby nad » Mon Apr 12, 2010 12:50 am

I am setting a server up for a friend, he wants it to be reverse with a grenade half way through the order of weapons.

We had this working on gg5 but when I add hegrenade in the gun order with gg5.1 it doesnt work. you do not get given a grenade, it works as though I had never put the grenade in the weapon order file.

is there any way i can make this work?
nad

Private
Private
 
Posts: 57
Joined: Thu Oct 08, 2009 3:32 pm
Steam Friends Name: nadroj20

Postby Warren » Mon Apr 12, 2010 1:11 am

Can you paste your ../cfg/gungame51/gg_en_config.cfg and the weapon order file selected in it here? Use
[code]code here[/code]
tags on each.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: add grenade in middle of gun order

Postby nad » Mon Apr 12, 2010 3:31 am

here is my gg_en_config
// ****************************************************************************
// *             gg_en_config.cfg -- English Server Configuration             *
// *                                                                          *
// *                   This file controls GunGame settings.                   *
// *                                                                          *
// *  Note: Any alteration of this file requires a server restart or a        *
// *           reload of GunGame.                                             *
// ****************************************************************************


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                             WEAPON SETTINGS                              |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


// ============================================================================
// >> WEAPON ORDER FILE
// ============================================================================
// Notes:
//    * The file must be located under "cfg/gungame5/weapon_orders/".
//    * Changing this variable in-game will result in arestart.
//    * If gg_weapon_order_random = 1, this will be the starting weapon
//      order.
// Default Value: "default_weapon_order"

// The file that will be used for the weapon order.
   gg_weapon_order_file "default_weapon_order"

// ============================================================================
// >> RANDOM WEAPON ORDER FILE
// ============================================================================
// Options:
//    0 = (Disabled) use gg_weapon_order for a static weapon order.
//    1 = (Enabled) get a new weapon order each map change.
// Default Value: 0

// Randomly select a new weapon order file each map.
   gg_weapon_order_random 0

// ============================================================================
// >> WEAPON ORDER SORT TYPE
// ============================================================================
// Options:
//    #default  = Order will go Top -> Bottom.
//    #reversed = Order will go Bottom -> Top.
//    #random   = Order will be randomly shuffled.
// Default Value: "#default"

// The order in which the weapons and levels will be sorted.
   gg_weapon_order_sort_type "#random"

// ============================================================================
// >> MULTIKILL OVERRIDE
// ============================================================================
// Notes:
//    * Keep this variable set to 0 unless you want to override the
//      values you have set in your weapon order file.
//    * This will not override hegrenade and knife, these are always 1.
// Default Value: 0

// The amount of kills a player needs to level up per weapon.
   gg_multikill_override 0

// ============================================================================
// >> WEAPON REMOVAL
// ============================================================================
// Note:
//    * Only weapon_* entities are supported.
// Default Value: "hegrenade,flashbang,smokegrenade"

// The weapons that will not be removed from the map.
   gg_map_strip_exceptions "hegrenade,flashbang,smokegrenade"


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                               MAP SETTINGS                               |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// ============================================================================
// >> MULTI-ROUND
// ============================================================================
// Notes:
//    * Only set this variable if you want more than one round per map
//      change.
//    * The map vote will only trigger on the final round.
// Options:
//    0 = Disabled.
//    # = The number of rounds that need to be played before a map
//        change.
// Default Value: 0

// The number of rounds that need to be played before a map change.
   gg_multi_round 0

// ============================================================================
// >> MULTI-ROUND INTERMISSION
// ============================================================================
// Notes:
//    * This option is only valid if "gg_multi_round" is set to a value
//      higher than "0".
//    * This will load "gg_warmup_round" based off of the "gg_warmup timer"
//      between rounds.
//    * Without an intermission, the next GunGame round will start immediately after a win.
// Options:
//    0 = Do not have an intermission.
//    1 = Enable the intermission.
// Default Value: 0

// The amount of time (in seconds) that the intermission lasts between rounds.
   gg_multi_round_intermission 0

// ============================================================================
// >> DYNAMIC END OF MAP CHAT TIME
// ============================================================================
// Notes:
//    * Dynamic chat time is based on the end of round winner music.
//    * When enabled, the players will be able to chat for the length
//      of the winner music.
//    * If disabled, the "mp_chattime" variable will be used.
// Options:
//    0 = (Disabled) Use the server's mp_chattime variable.
//    1 = (Enabled) Use the length of the individual audio file.
// Default Value: 0

// Enables dynamic end of round chat time based on the winner music.
   gg_dynamic_chattime 0


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                             PLAYER SETTINGS                              |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


// ============================================================================
// >> DEFUSERS
// ============================================================================
// Options:
//    0 = Disabled
//    1 = Enabled
// Default Value: 0

// Automatically equip Counter-Terrorist players with defusal kits on bomb maps.
   gg_player_defuser 0

// ============================================================================
// >> ARMOR
// ============================================================================
// Options:
//    0 = No armor
//    1 = Kevlar only
//    2 = Assaultsuit (Kevlar + Helmet)
// Default Value: 2

// The type of armor players are equipped with when they spawn.
   gg_player_armor 2


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                              SOUND SETTINGS                              |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


// ============================================================================
// >> SOUND PACK
// ============================================================================
// Notes:
//    * Sound packs are located in "../cstrike/cfg/gungame5/sound_packs".
//    * The INI file names located in the "sound_packs" directory minus
//      the ".ini" extension are what you would use when declaring the
//      default sound pack that players will hear when sounds are played.
// Default Value: "default"

// The controls which sound pack will be used by default.
   gg_soundpack "mine"
 


Here is my default weapon order file
//----------------------------------------------------------------------------
// Weapon order file -- Defines what weapon goes with each level.
//
// The order of the weapons below will define what order the weapons will go
// in on a #default weapon order rotation.
//
// #reverse makes the weapon order go bottom to top, with the knife and
// hegrenade being last.
//
// #random makes the weapon order a random order, being re-randomized on
// every map change.
//
// The first line of each weapon order must be:
// => Weapon order name here
//
// Format: <weapon name> <multikill>
//
// Options:
//
// PISTOLS:
// glock            usp
// p228             deagle
// fiveseven        elite
//
// SHOTGUNS:
// m3               xm1014
//
// SUB MACHINE GUNS:
// tmp              mac10
// mp5navy          ump45
// p90
//
// RIFLES:
// galil            famas
// ak47             scout
// m4a1             sg550
// g3sg1            awp
// sg552            aug
//
// MACHINE GUN:
// m249
//
// OTHER:
// hegrenade        knife
//----------------------------------------------------------------------------

@ Default Weapon Order
glock
usp
p228
deagle
fiveseven
elite
m3
xm1014
tmp
mac10
hegrenade
mp5navy
ump45
p90
galil
famas
ak47 2
scout
m4a1 2
sg552
aug
m249
g3sg1
awp 2
hegrenade
knife
nad

Private
Private
 
Posts: 57
Joined: Thu Oct 08, 2009 3:32 pm
Steam Friends Name: nadroj20

Postby Warren » Mon Apr 12, 2010 11:43 am

Alright. Well gg_weapon_order_sort_type #reversed and #random always put hegrenade and knife at the end of the order. #reversed is really meant for quick-switching to. In your situation, you should have gg_weapon_order_sort_type #default and just modify the weapon order, or use reverse_weapon_order.

I'll add a note about this in the cfg next time I commit.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby nad » Mon Apr 12, 2010 3:45 pm

Thanks!
nad

Private
Private
 
Posts: 57
Joined: Thu Oct 08, 2009 3:32 pm
Steam Friends Name: nadroj20

Postby Warren » Mon Apr 12, 2010 8:25 pm

I have added an extra explanation explaining what I said above to ../cfg/gungame51/gg_en_config.cfg in r413.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

cron