New gameplay modes in the SVN (version 560+)

Ask questions and share info about GunGame 5

New gameplay modes in the SVN (version 560+)

Postby satoon101 » Tue Aug 23, 2011 2:13 am

We just wanted to give a quick note to everyone on some additions made recently to the newest unreleased version of GunGame5.1. We finally have a working version of gg_teamplay as well as we have another addon (the brain child of XE_ManUp) called gg_teamwork. Below is a brief description of each. If you wish to test them out, please feel free to download them using the SVN. We would appreciate any/all feedback we can get to make sure these are ready to be officially released.

GG TeamPlay
    When playing gg_teamplay, teams will always level up together. At the end of every round, the winning team (whether they win by killing the entire other team, completing the objective, ect...) will have their MultiKill value increased. The MultiKill value is then compared to the MultiKill value for the current Level that the team is on. If the MultiKill equals the current Level's MultiKill, the team is then leveled up.

GG TeamWork
    When playing gg_teamwork, players level up like they normally would throughout the round. At the end of each round, every player on each team is set to the level of the highest leveled player on their team. So, if your team starts out the first round on level 1, and one player on your team gets up to level 4 by the end of that round, all players on your team will then be set to level 4.

Both of these scripts require a lot of teamwork, and both end in a Team winning the match. No individual player will be given a 'win'.

If you have any basic questions about either of these, feel free to post them here. If you are testing either of these addons for us, please provide your feedback in their respective thread:
GG TeamWork
GG TeamPlay

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: New gameplay modes in the SVN (version 560+)

Postby XE_ManUp » Tue Aug 23, 2011 6:02 pm

Just to elaborate -

GG TeamWork:
The cool part about this game mode is the amount of effort and tactics that are used by a team. For example, Satoon and I pair up together, and I damage the players, but he kills them, gaining the level. This can be done with a single player on your team, or multiple to increase the overall likelihood of maximum level potential. So, you can choose one player to level up for the round, or multiple. However, if the other team has a tactic that works better, you will lose. Then, there is also the option of adding the (ever-so-cool) complication of a custom addon such as GG_Assist. Therefore, the players can gain assist points, and use them to level up later in the game, and be the top player for that round which maximizes the levels gained. This mode MAKES you think in a team-oriented fashion, which sets it apart from ANY other mode.

Do you respawn? Not unless you enable elimination. Deathmatch will not work with this mode. Once the round ends, your team will start on the highest level that your team achieved on the previous round. This is VERY good for competitive game modes.

GG TeamPlay:
This is the "classic" version, originally created by RideGuy. Whichever team wins the round gains a level. It is as simple as that. Or, if you have multikill enabled for that level, it increases the multikill value by 1. Not much more that I can say on this that Satoon didn't already cover above.


...

Personally, I am excited to see BOTH game modes introduced, but I am really excited to see gg_teamplay in action.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby daggerclan » Tue Aug 23, 2011 10:36 pm

Can gg_teamwork and gg_teamplay be enabled at the same time? I get an error when I do. Also, the errors aren't being captured in the gungame error log file.

Is gg_warmup a conflict with either of these?

Suggestion: In each of the 2 config files include in the notes section what addons conflict.
Example: * Will not load with "gg_handicap" enabled.

No errors showing:
*******************************************************************************
*                                                                             *
*                          GUNGAME v5.1 ERROR LOGGING                         *
*                          HTTP://FORUMS.GUNGAME.NET/                         *
*                                                                             *
*       GG VERSION: 5.1.562                           IP: 192.168.1.101       *
*      SPE VERSION: 1.5.0f r85                      PORT: 27025               *
*         PLATFORM: NT                              DATE: 08-23-2011          *
*       ES VERSION: 2.1.1.370            ES CORE VERSION: 2.1.1.336           *
*       MM VERSION: 1.8.7V                    SM VERSION: 0                   *
*     MANI VERSION: 1.2.22.6 VSP             EST VERSION: 0                   *
*                                                                             *
*******************************************************************************



Errors from console log:

Loaded: gg_join_message
Loaded: gg_winner_display
Loaded: gg_cheap_equip
Loaded: gg_buylevel
L 08/23/2011 - 15:58:35: server_cvar: "gg_teamwork" "0"
 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 178, in tick
_executenode(task)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/core/addons/__init__.py", line 744, in load
AddonManager().load(*a, **kw)
File "../eventscripts/gungame51/core/addons/__init__.py", line 289, in load
self.add_dependencies_conflicts(addon, name)
File "../eventscripts/gungame51/core/addons/__init__.py", line 462, in add_dependencies_conflicts
'sub-addon "%s"' % (name))
DependencyError: Loaded sub-addon(s) "gg_teamplay" conflict with sub-addon "gg_teamwork"
# ================================================



Is this because gg_warmup is enabled?
L 08/23/2011 - 15:58:37: server_cvar: "gg_deathmatch" "1"
L 08/23/2011 - 15:58:37: server_cvar: "gg_deathmatch" "0"
 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 178, in tick
_executenode(task)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/scripts/included/gg_warmup_round/gg_warmup_round.py", line 390, in load_warmup_addons
addon_load("gg_deathmatch")
File "../eventscripts/gungame51/core/addons/__init__.py", line 744, in load
AddonManager().load(*a, **kw)
File "../eventscripts/gungame51/core/addons/__init__.py", line 289, in load
self.add_dependencies_conflicts(addon, name)
File "../eventscripts/gungame51/core/addons/__init__.py", line 462, in add_dependencies_conflicts
'sub-addon "%s"' % (name))
DependencyError: Loaded sub-addon(s) "gg_teamplay" conflict with sub-addon "gg_deathmatch"

gg_addon_loaded: 'gg_assist' of type 'custom'
gg_addon_loaded: 'gg_nade_bonus' of type 'included'
autokick is disabled for {iFaRt}Sarge
 
# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
_executenode(first)
File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
function(*a, **kw)
File "../eventscripts/gungame51/core/addons/__init__.py", line 744, in load
AddonManager().load(*a, **kw)
File "../eventscripts/gungame51/core/addons/__init__.py", line 289, in load
self.add_dependencies_conflicts(addon, name)
File "../eventscripts/gungame51/core/addons/__init__.py", line 462, in add_dependencies_conflicts
'sub-addon "%s"' % (name))
DependencyError: Loaded sub-addon(s) "gg_teamplay" conflict with sub-addon "gg_deathmatch"
# ================================================



EDIT: Additional errors

L 08/23/2011 - 16:30:48: World triggered "Round_End"
L 08/23/2011 - 16:30:48: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats" (weapon "aug") (shots "6") (hits "3") (kills "1") (headshots "0") (tks "0") (damage "68") (deaths "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats2" (weapon "aug") (head "0") (chest "1") (stomach "1") (leftarm "0") (rightarm "1") (leftleg "0") (rightleg "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Sarge<5><BOT><CT>" triggered "weaponstats" (weapon "m249") (shots "20") (hits "5") (kills "1") (headshots "0") (tks "0") (damage "121") (deaths "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Sarge<5><BOT><CT>" triggered "weaponstats2" (weapon "m249") (head "0") (chest "0") (stomach "1") (leftarm "1") (rightarm "0") (leftleg "2") (rightleg "1")
Round MVP disabled: sv_nomvp is set.
 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 532, in round_end
gg_teams[winner].increase_multikill()
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 162, in increase_multikill
if self.multikill >= get_level_multikill(self.level):
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_level_multikill
return get_weapon_order(weaponOrderName).get_multikill(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 316, in get_multikill
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get multikill value for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 551, in player_spawn
gg_teams[team].set_player_level(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 226, in set_player_level
ggPlayer.levelup(levels, reason=info.name)
File "../eventscripts/gungame51/core/players/levels.py", line 114, in levelup
userid=victim, loser=victim, round=0)
File "../eventscripts/gungame51/core/events/eventlib/__init__.py", line 279, in __init__
setattr(self, key, value)
File "../eventscripts/gungame51/core/events/eventlib/__init__.py", line 287, in __setattr__
value = evField.to_python(value)
File "../eventscripts/gungame51/core/events/eventlib/fields.py", line 149, in to_python
self.run_validators(value)
File "../eventscripts/gungame51/core/events/eventlib/fields.py", line 55, in run_validators
raise ValidationError(errors)
ValidationError: ['The value given (0) must be greater than or equal to 2.']
# ================================================
 

 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

L 08/23/2011 - 16:31:18: World triggered "Round_Start"
Terrorist bot spawned outside of a buy zone (-504, 1415, -255)
Terrorist bot spawned outside of a buy zone (-567, 1414, -255)
CT bot spawned outside of a buy zone (-1066, 132, -255)
CT bot spawned outside of a buy zone (-1223, 127, -255)
L 08/23/2011 - 16:31:31: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "23") (damage_armor "0") (health "77") (armor "100") (hitgroup "right leg")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "48") (armor "95") (hitgroup "stomach")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "prop_physics" (damage "41") (damage_armor "7") (health "7") (armor "87") (hitgroup "generic")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "prop_physics" (damage "15") (damage_armor "2") (health "85") (armor "97") (hitgroup "generic")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "0") (armor "82") (hitgroup "stomach")
L 08/23/2011 - 16:31:58: World triggered "killlocation" (attacker_position "-519 720 -256") (victim_position "-806 943 -192")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" killed "{iFaRt}Sarge<5><BOT><CT>" with "m249"
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "23") (damage_armor "3") (health "77") (armor "96") (hitgroup "chest")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "27") (damage_armor "5") (health "58") (armor "91") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "23") (damage_armor "0") (health "54") (armor "96") (hitgroup "right leg")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "21") (damage_armor "4") (health "37") (armor "86") (hitgroup "left arm")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "25") (armor "91") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "21") (damage_armor "4") (health "16") (armor "81") (hitgroup "chest")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "0") (armor "86") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: World triggered "killlocation" (attacker_position "-701 295 -256") (victim_position "-747 673 -192")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" killed "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249"
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats" (weapon "aug") (shots "3") (hits "3") (kills "0") (headshots "0") (tks "0") (damage "69") (deaths "0")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats2" (weapon "aug") (head "0") (chest "1") (stomach "1") (leftarm "1") (rightarm "0") (leftleg "0") (rightleg "0")
L 08/23/2011 - 16:32:10: Team "TERRORIST" triggered "Terrorists_Win" (CT "33") (T "29")
L 08/23/2011 - 16:32:10: Team "CT" scored "33" with "2" players
L 08/23/2011 - 16:32:10: Team "TERRORIST" scored "29" with "2" players
L 08/23/2011 - 16:32:10: World triggered "Round_End"
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" triggered "weaponstats" (weapon "m249") (shots "21") (hits "7") (kills "2") (headshots "0") (tks "0") (damage "185") (deaths "0")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" triggered "weaponstats2" (weapon "m249") (head "0") (chest "1") (stomach "4") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "2")
Round MVP disabled: sv_nomvp is set.
 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 532, in round_end
gg_teams[winner].increase_multikill()
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 162, in increase_multikill
if self.multikill >= get_level_multikill(self.level):
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_level_multikill
return get_weapon_order(weaponOrderName).get_multikill(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 316, in get_multikill
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get multikill value for level: "24". Level is out of range (1-23).
# ================================================
 

 
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby daggerclan » Tue Aug 23, 2011 11:14 pm

Update # 2

After turning off gg_teamplay and gg_warmup none of the above errors occur.

p.s. If a mod wants to move my posts to one of the other 2 threads please do so. I've cluttered up this one enough. :oops:
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby satoon101 » Wed Aug 24, 2011 12:54 am

We are definitely going to need to revamp gg_warmup_round to work properly with these new addons.

In the first one, did you try to enable "both" gg_teamplay and gg_teamwork at the same time? That will not work as the 2 are completely incompatible with each other.

The same goes with the second Traceback. gg_teamplay and gg_deathmatch are incompatible. I am "thinking" about creating a Custom gg_teamplay_deathmatch addon. We just felt it best not to muddy up the gg_teamplay addon with deathmatch capabilities.

The last set of errors I will definitely move to the specific addons thread. Thank you for those. I have yet to actually play all the way through a match to test. I'll look to get those errors fixed as soon as possible.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby daggerclan » Wed Aug 24, 2011 5:48 am

Yes, I enabled teamplay and teamwork. Definately a no no.
In the second traceback, I had I had gg_deatmatch disabled but had gg_warmup enabled with the deatmatch option.
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby satoon101 » Wed Aug 24, 2011 5:52 am

Yeah, for now, gg_warmup_round will definitely cause issues, unfortunately. We know about these issues and are still working on figuring out the best way to handle them. For now, when you are testing the new Team addons, either do not use deathmatch in warmup round or don't use warmup round at all. Sorry for the inconvenience.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests

cron