Editing and Customization > Community Releases
[Gameplay] Arsenal
Troy:
I've updated the download link. The game mode now uses localization. This now belongs to the GE:S team. :D
Troy:
KM took too long to do this:
http://forums.geshl2.com/index.php/topic,7534.msg78404.html#msg78404
I decided to code it:
--- Code: ---
def PrintWeapons( self, player ):
if not player:
return
arWeapons = ""
for i in range( self.GetLevel( player ), len( weaponList ) ):
name = GEWeapon.WeaponPrintName( weaponList[i][0] )
arWeapons += "Level %i: %%%s\n" % ( i + 1, name )
if arWeapons.count( ":" ) == 5:
break
if arWeapons:
finalWeapon = GEWeapon.WeaponPrintName( weaponList[-1][0] )
if not arWeapons.count( finalWeapon ):
arWeapons += "Level %i: %%%s\n" % ( len( weaponList ), finalWeapon )
GEUtil.PopupMessage( player, "#GES_GP_ARSENAL_NAME", arWeapons )
--- End code ---
Download link updated. ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version