DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

[Code] Display Different Ammo Types on Statusbar-BrotherTank
Page 1 of 1
DieHard Wolfers Forum Index -> Code Tutorials View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
BrotherTank
Forum Administrator
<B>Forum Administrator</B>


Joined: 01 Mar 2003
Last Visit: 07 Feb 2010

Topics: 142
Posts: 2071
Location: Ontario
canada.gif

PostPosted: Fri Apr 18, 2003 1:56 am
   Subject: [Code] Display Different Ammo Types on Statusbar-BrotherTank
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

::: CODE :::

Void DrawAmmo ()
{
   switch (gamestate.chosenweapon)
     {
        case wp_specialgunusingsecondammo:
           LatchNumber (26,16,3,gamestate.ammo2);
           break;
        default:
           LatchNumber (26,16,3,gamestate.ammo);
      }
}


Want to add a third ammo... Just add the case wp_weaponammo3 etc... before the default.

Greg
BrotherTank
Zombie_Plan
DieHard Wolfer
DieHard Wolfer


Joined: 13 Oct 2004
Last Visit: 11:36 ago.

Topics: 90
Posts: 1463
Location: A hole in the wall
australia.gif

PostPosted: Sat Feb 12, 2005 5:18 am
   Subject: Re: [Code] Display Different Ammo Types on Statusbar-Brother
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

Bugger that no-one replied here. It is a really smart way to handle this.

_________________
BLOGS
WolfingTime - RSS Feed

HELP ME
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> Code Tutorials View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 1 of 1
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts [Code] Blood Splatz Tutorial - Blood Splatters
Author: Dugtrio17
45 3210 Tue Mar 11, 2008 7:02 am
AlumiuN View latest post
No new posts [Code] Adding a Frames per Second Counter - Darkone
Author: BrotherTank
0 426 Sat Mar 13, 2004 10:07 pm
BrotherTank View latest post
No new posts [Code] Changing an Enemies Attack Strength - BrotherTank
Author: BrotherTank
0 570 Tue Jan 27, 2004 6:29 pm
BrotherTank View latest post
No new posts [Code] Changing Weapons -CheckWeaponChange- BrotherTank
Author: BrotherTank
2 902 Sun Oct 26, 2003 8:21 am
Guest View latest post
No new posts [Help] Different Enemy Dying Frames/Views
Author: Guest
7 579 Tue Jul 29, 2003 10:00 pm
Codetech84 View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subSilver Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group