GoldenEye: Source Forums

  • November 26, 2024, 09:30:59 am
  • Welcome, Guest
Advanced search  

News:

Pages: 1 [2]  All   Go Down

Author Topic: [Gameplay] Arsenal  (Read 25240 times)

0 Members and 1 Guest are viewing this topic.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Gameplay] Arsenal
« Reply #15 on: May 05, 2013, 09:55:43 pm »

I've updated the download link.  The game mode now uses localization.  This now belongs to the GE:S team. :D
« Last Edit: May 06, 2013, 03:20:13 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Gameplay] Arsenal
« Reply #16 on: May 17, 2013, 08:19:12 am »

KM took too long to do this:

http://forums.geshl2.com/index.php/topic,7534.msg78404.html#msg78404

I decided to code it:

Code: [Select]
    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 )

Download link updated. ;)
« Last Edit: May 17, 2013, 08:42:58 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.
Pages: 1 [2]  All   Go Up