.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Obsession Software Ltd. (http://forums.bots-united.com/forumdisplay.php?f=26)
-   -   Time to make some decisions? (http://forums.bots-united.com/showthread.php?t=1353)

TruB 10-06-2004 08:10

Re: Time to make some decisions?
 
i luved the way they did in call of duty.. and i have never heard any one complain about it..

FrostyCoolSlug 10-06-2004 14:24

Re: Time to make some decisions?
 
I've not played CoD yet, maybe when my incapacity benefit comes thru next week, i'll go out shopping :p

TruB 10-06-2004 16:44

Re: Time to make some decisions?
 
download the demo?

FrostyCoolSlug 10-06-2004 16:48

Re: Time to make some decisions?
 
downloading now :p

Brainz 11-06-2004 01:45

Re: Time to make some decisions?
 
I think something like 'ragdoll' physics should be implemented, even when the target is alive. A high caliber hit to the shoulder or arm, if not leathal, will spin them round, very much like I imagine it would IRL.

If you think people won't play the game with realism like this, add a server side variable to disable it. perhaps a binary type variable, 1+2+4+8 etc for each realism feature.

*Is there a name for this type of variable?*

Pierre-Marie Baty 11-06-2004 06:23

Re: Time to make some decisions?
 
Yes, what you mean is a bitmask variable. :)

TruB 11-06-2004 09:07

Re: Time to make some decisions?
 
actually.. if there is not an exploasion.. a bullet wont make you fly back like in the movies.. if you get shoot with a deadly bullet you would likely just fall on your knees..

but i think it would be cool.. maybe aim for cool animations where you use different animation all the time.. i mean.. when you run.. you dont run like the next guy.. different classes run different.. or something.. same for climbing and such..

sfx1999 12-06-2004 03:05

Re: Time to make some decisions?
 
Quote:

Originally Posted by Pierre-Marie Baty
Yes, what you mean is a bitmask variable. :)

Yeah that is such a great idea. To bad it took me 2 years to figure out how adminmod knew which one's were on.

Here is an example (tested to work with http://nickciske.com/tools/binary.php). WARNING: may be endian dependant!

Code:

#include <iostream>
 #include <stdlib.h>
 
 #define BIT0 1
 #define BIT1 2
 #define BIT2 4
 #define BIT3 8
 #define BIT4 16
 #define BIT5 32
 #define BIT6 64
 #define BIT7 128
 
 using namespace std;
 
 int main(void)
 {
  char AsciiStorageArray[256];
  cout << "Insert the phrase to be translated: ";
  cin.getline(AsciiStorageArray, 255);
  cout << endl << "Streaming: ";
 
  int i;
  for (i=0; i < 256; i++)
  {
        if (AsciiStorageArray[i] == 0)
          break;
        if (AsciiStorageArray[i] & BIT7)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT6)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT5)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT4)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT3)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT2)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT1)
          cout << 1;
        else
          cout << 0;
        if (AsciiStorageArray[i] & BIT0)
          cout << 1;
        else
          cout << 0;
        cout << " ";
  }
 
  cout << endl << "Thank you and have a very safe day" << endl;
 
  system("PAUSE");       
  return 0;
 }

Hooray for bit manipulation!

sPlOrYgOn 12-06-2004 03:10

Re: Time to make some decisions?
 
whats stdlib.h included for?

Pierre-Marie Baty 12-06-2004 04:00

Re: Time to make some decisions?
 
Quote:

Originally Posted by TruB
actually.. if there is not an exploasion.. a bullet wont make you fly back like in the movies.. if you get shoot with a deadly bullet you would likely just fall on your knees..

What I was referring to was this
http://www.temple.edu/photo/photogra...pa/RCapa1D.jpg
(honor to the memory of Frederico Garcia from the International Militias against the fascists in the Spanish civil war. Photo (c) Robert Capa)

Bullets caught on some point of your body make this part flinch. If you catched a bullet in your right arm, your right arm would flinch back. Ragdolls physics are needed for that.

@SFX: instead of using this
Code:

#define BIT0 1
#define BIT1 2
#define BIT2 4
#define BIT3 8
#define BIT4 16
#define BIT5 32
#define BIT6 64
#define BIT7 128

you can do
Code:

#define BIT0 (1 << 0)
#define BIT1 (1 << 1)
#define BIT2 (1 << 2)
#define BIT3 (1 << 3)
#define BIT4 (1 << 4)
#define BIT5 (1 << 5)
#define BIT6 (1 << 6)
#define BIT7 (1 << 7)

it's easier :)


All times are GMT +2. The time now is 12:44.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.