IPB

Welcome Guest ( Log In | Register )

> Re-supply for marines in Combat
Gruuunt
post Jun 25 2004, 05:44 AM
Post #1


Advanced Moron
****

Group: Waypointers
Posts: 286
Joined: 21-December 03
From: Droitwich Spa, Worcestershire, Uk
Member No.: 143



Have been watching a few games, and it seems that the 'rines are spending too much time turning back when out of ammo at a hive.

I cant remember, but I have a feeling they used to try and knife it if out of ammo previously, but I dont see them doing that now.

Anyway back on track, if they took resupply as an upgrade earlier, I think they would survive longer?

unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
LordSkitch
post Jun 26 2004, 08:46 PM
Post #2


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



Could you give each bot class a combat bitfield, and have all the upgrades theyve gotten put into this bitfield, so you know like..


damage 1 = 1
damage 2 = 2
damage 3 = 4
shotgun = 8
GL = 16
HMG = 32

etc
then when they decide on an upgrade, have it in a switch so its somethin like

CODE
switch ( get_upgrade )
  {
     case whatever-it-is-for-damage-1:
         if ( whatever-you-gotta-do-to-check-bitfields != 1)
         {
            bot_say_team ("Getting Damage 1 Upgrade");
            bot_getimpulse (whatever it is for damage 1);
            bot_marine_COBitfield += 1;
          }
         else
           choose_another_impulse;
     break;
     
     case ...
     break;
   
    case whatever-it-is-for-hmg:
         if ( whatever-you-gotta-do-to-check-bitfields != 32)
         {
            bot_say_team ("Getting HMG Upgrade");
            bot_getimpulse (whatever it is for HMG);
            bot_marine_COBitfield += 32;
          }
         else
           choose_another_impulse;
    break;
   }




That's no doubt a really crappy way to program, but as I've said a bunch of times, my C++ sucks lol

But if it were done that way, we could tell what the bots are getting and whatnot, it'd be tracked by a bitfield that could be expanded and contracted as necessary, and other such goodies... I dunno, I'm tired and I got a headache lol
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
Gruuunt   Re-supply for marines in Combat   Jun 25 2004, 05:44 AM
Cheeseh   re-supply upgrade is not on their list atm, thats ...   Jun 25 2004, 10:55 AM
Gruuunt   Good question as to impulse, will have a mooch on ...   Jun 25 2004, 08:57 PM
LordSkitch   A guy who frequents my server says he has a list o...   Jun 26 2004, 09:07 AM
Cheeseh   I can proabbly make a good guessat what it is, but...   Jun 26 2004, 11:50 AM
LordSkitch   Could you give each bot class a combat bitfield, a...   Jun 26 2004, 08:46 PM
Cheeseh   I've already done that and had that for the pa...   Jun 26 2004, 10:12 PM
LordSkitch   ohhh yeah huh... <--- moron :huh: Oh! Co...   Jun 26 2004, 11:11 PM
Cheeseh   hmm I guess. It's still a bit of a manual type...   Jun 27 2004, 12:27 AM
LordSkitch   I dunno what the hell a iuser4 bitmask is, but can...   Jun 27 2004, 03:54 AM
Gruuunt   Found this info on the NS Forums, if its useful to...   Jun 27 2004, 05:19 AM
LordSkitch   Deeeeeamn, thats printed, and stuck on my wall now...   Jun 27 2004, 07:44 AM
LordSkitch   So Cheesehpooh, what pray tell is an iuser4 bitmas...   Jun 28 2004, 06:16 AM
Cheeseh   Can I ask how Resupply upgrade works? Do you just...   Jul 1 2004, 05:14 PM
link2002   when you have uhh... a think when you have 1/2 of ...   Jul 1 2004, 06:04 PM
LordSkitch   Yeah, its all automatic, if you need health, it...   Jul 1 2004, 08:51 PM
zodiac   I do see resupply act the way you guys have it her...   Jul 24 2004, 07:06 PM
LordSkitch   Resupply is like.. a required immediate upgrade, c...   Jul 24 2004, 11:07 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 8th August 2025 - 07:15 AM