Powered by Invision Power Board [ Resend Validation Email ]
Welcome Guest [ Log In · Register ]
Forum Rules HelpSearchMembersCalendar


Pages: 12  [ Go to first unread post ]
Closed TopicStart new topicStart Poll
[ Track this topic · Email this topic · Print this topic ]
> Dualies Redone
|2enegade
Posted: January 30, 2005 04:02 am
Quote Post


Last hope of Mankind
*****

Group: Members
Posts: 752

Joined: November 29, 2004



QUOTE (Immoral Sniper @ Jan 23 2005, 04:46 PM)
CODE
if(player -> weapon -> ammo1 > player ->weapon -> ammo2)
    player -> weapon -> ammo2 -> reload
else
    player -> weapon -> ammo1 -> reload


- fixed -
CODE
if(weapon2.ammo > weapon1.ammo) reload.weapon = weapon2;
else reload.weapon = weapon1;


that is assuming that the weapon and reloads are declared as typedefs....

anyways, I thought you could reload as long as you had less than a full ammo count?... or did they change this in the last patch?


--------------------
PMEmail PosterUsers Website
Top
Immoral Sniper
Posted: January 30, 2005 10:07 am
Quote Post


The force is strong in me
Group Icon

Group: BB Betatesters
Posts: 1177

Joined: December 10, 2004



QUOTE (|2enegade @ Jan 29 2005, 10:02 PM)
anyways, I thought you could reload as long as you had less than a full ammo count?... or did they change this in the last patch?

I think they meant that you have to have a less than full ammo count in both in order to reload. And as for my code, last time I checked, the HL engine was chock full of lovely pointers, hence my usage of the -> operator rather than the dot operator.


--------------------
BB Maps I've made...
bb_stronghold {Beta 9}
bb_shootingrange {Beta 1}

Threads you should read before posting...
Immoral's List of Things Not to Suggest
Immoral's Mapping Guide

Forum Spammers
Name (Number of spamming citations issued)

Nikku (3), -KRUX- (2), Mitchell (2), hunter (2), Gneralas (2), CHAY (2), vyvu (2), Rustie1821 (1), w00t (1), dagny (1), Nandu666 (1), The.Raver(1), moecomputer (1), -=Jouni=- (1), santa_kills (1), DarknessGlams (1)
PMEmail PosterUsers WebsiteAOL
Top
-KRUX-
Posted: February 05, 2005 01:08 am
Quote Post


Zombie Hunter
***

Group: Members
Posts: 228

Joined: January 20, 2005



i smelt a pistol once......


--------------------
user posted image

-----------------------------------------------------------------------
When nagotiating with zombies you let the
gun do the talking.
PMEmail Poster
Top
Immoral Sniper
Posted: February 05, 2005 01:21 am
Quote Post


The force is strong in me
Group Icon

Group: BB Betatesters
Posts: 1177

Joined: December 10, 2004



KRUX, your post is both:
- inane
- completely off topic

I feel this is justified: *Issues spamming citation*

And as this thread has derailed into code and resurrected with spam...

Closed.

Have a wonderful week.


--------------------
BB Maps I've made...
bb_stronghold {Beta 9}
bb_shootingrange {Beta 1}

Threads you should read before posting...
Immoral's List of Things Not to Suggest
Immoral's Mapping Guide

Forum Spammers
Name (Number of spamming citations issued)

Nikku (3), -KRUX- (2), Mitchell (2), hunter (2), Gneralas (2), CHAY (2), vyvu (2), Rustie1821 (1), w00t (1), dagny (1), Nandu666 (1), The.Raver(1), moecomputer (1), -=Jouni=- (1), santa_kills (1), DarknessGlams (1)
PMEmail PosterUsers WebsiteAOL
Top
Pages: 12
Topic Options Closed TopicStart new topicStart Poll