Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:42

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: here's some C++ to munch on.
PostPosted: 13 Apr 2009 00:22 

Joined: 08 Jun 2008 05:57
Posts: 24
Here is code and this is basicly what is happening. Red team has a scope on thier screen. Blue team does not. Can anyone fix this so that both teams can get the scope on thier screen.

Code:
#define CG_SHOW_ANYTEAMGAME               0x00000001
#define CG_SHOW_ANYNONTEAMGAME            0x00000002
#define CG_SHOW_ONREDTEAM              0x00000004
#define CG_SHOW_ONBLUETEAM              0x00000004

#define CG_SHOW_HUD_WEAPONINFO           0x00000010
#define   CG_SHOW_PLAYER_ALT_WEAPONINFO     0x00000040
#define CG_HIDE_PLAYER_ALT_WEAPONINFO     0x00000080

#define CG_SHOW_HUD_NIGHTVISION           0x00000100
#define CG_SHOW_HUD_THERMAL              0x00000200

#define CG_SHOW_HUD_SNIPERSCOPE           0x00000400
#define CG_SHOW_HUD_SNIPERCLIP           0x00000800

///RxCxW - 11.18.06 - 05:55pm
#define CG_SHOW_HUD                    0x00001000
#define CG_HIDE_IF_AWARDS              0x00002000
#define CG_HIDE_IF_SCOREBOARD           0x00004000
#define CG_HIDE_IF_SCOPE              0x00008000
#define CG_TEAMCOLOR                 0x00020000
#define CG_HIDE_IF_CHAT                 0x00040000
///End  - 03.18.07 - 05:55pm

#define UI_SHOW_LEADER                  0x00000001
#define UI_SHOW_NOTLEADER              0x00000002
#define UI_SHOW_FAVORITESERVERS           0x00000004
#define UI_SHOW_ANYNONTEAMGAME           0x00000008
#define UI_SHOW_ANYTEAMGAME              0x00000010
#define UI_SHOW_NEWHIGHSCORE           0x00000020
#define UI_SHOW_DEMOAVAILABLE           0x00000040
#define UI_SHOW_NEWBESTTIME              0x00000080
#define UI_SHOW_NETANYNONTEAMGAME         0x00000400
#define UI_SHOW_NETANYTEAMGAME            0x00000800
#define UI_SHOW_NOTFAVORITESERVERS        0x00001000

// owner draw types
// ideally these should be done outside of this file but
// this makes it much easier for the macro expansion to
// convert them for the designers ( from the .menu files )
#define CG_OWNERDRAW_BASE            1
                              
#define CG_PLAYER_SCORE               2
                              
#define CG_BLUE_SCORE               3
#define CG_RED_SCORE               4
#define CG_RED_NAME                  5
#define CG_BLUE_NAME               6
#define CG_PLAYER_LOCATION            8
#define CG_TEAM_COLOR               9                                       
#define CG_GAME_TYPE               10
#define CG_GAME_STATUS               11
#define CG_1STPLACE                  13
#define CG_2NDPLACE                  14
#define CG_WEAPON_LIST               15

#define   CG_PLAYER_HEALTH            16
#define CG_PLAYER_HEALTH_FADE         17
#define CG_PLAYER_ARMOR               18
#define CG_PLAYER_ARMOR_FADE         19
#define CG_PLAYER_WEAPON_NAME         20
#define CG_PLAYER_WEAPON_AMMO         21
#define CG_PLAYER_WEAPON_CLIP         22
#define CG_PLAYER_WEAPON_MODE         23
#define   CG_PLAYER_ALT_WEAPON_NAME      24
#define CG_PLAYER_ALT_WEAPON_AMMO      25
#define CG_PLAYER_ALT_WEAPON_AMMOICON   26


#define CG_TEAMINFO                  27

#define CG_PLAYER_SNIPER_BULLET_1      28
#define CG_PLAYER_SNIPER_BULLET_2      29
#define CG_PLAYER_SNIPER_BULLET_3      30
#define CG_PLAYER_SNIPER_BULLET_4      31
#define CG_PLAYER_SNIPER_BULLET_5      32
#define CG_PLAYER_SNIPER_BULLET_6      33

#define   CG_USE_ICON                  34
#define   CG_PLAYER_GAMETYPE_ITEMS      35
#define CG_PLAYER_SNIPER_MAGNIFICATION   36

#define CG_PLAYER_WEAPON_IMAGE         37

///RxCxW - 03.10.06 - 03:41pm #Hud
#define CG_PLAYER_HUD               38
#define   CG_PLAYER_RADAR               39
#define   CG_DRAW_CHAT               40
#define   CG_DRAW_CLOCK               41
#define   CG_DRAW_CP                  42
#define   CG_DRAW_GTM                  43
#define   CG_DRAW_NOTIFY               44
#define   CG_DRAW_VOTE               45
#define   CG_DRAW_HUDINFO               46
#define   CG_DRAW_NVDEAHTMESSAGES         47
#define   CG_DRAW_ROUNDTIMER            48
#define CG_DRAW_NVPRINTMESSAGES         49
#define CG_DRAW_NUMERICAL_HEALTH      50
#define CG_DRAW_NUMERICAL_ARMOR         51
#define CG_DRAW_WEAPON_IMAGE         52
#define CG_DRAW_GRENADE_IMAGE         53
#define CG_RED_ALIVE               54
#define CG_BLUE_ALIVE               55
#define CG_DRAW_FPS                  56
#define CG_DRAW_LAGOMETER            57
///End  - 03.10.06 - 03:41pm

#define UI_OWNERDRAW_BASE 200
#define UI_EFFECTS 201
#define UI_PLAYERMODEL 202
#define UI_GAMETYPE 205
#define UI_MAPPREVIEW 206
#define UI_SKILL 207
#define UI_NETSOURCE 220
#define UI_NETMAPPREVIEW 221
#define UI_NETFILTER 222
#define UI_ALLMAPS_SELECTION 236
#define UI_VOTE_KICK 238
#define UI_BOTNAME 239
#define UI_BOTSKILL 240
#define UI_REDBLUE 241
#define UI_CROSSHAIR 242
#define UI_SELECTEDPLAYER 243
#define UI_MAPCINEMATIC 244
#define UI_NETGAMETYPE 245
#define UI_NETMAPCINEMATIC 246
#define UI_SERVERREFRESHDATE 247
#define UI_SERVERMOTD 248
#define UI_GLINFO  249
#define UI_MAP_TIMETOBEAT 252
#define UI_JOINGAMETYPE 253
#define UI_PREVIEWCINEMATIC 254
#define UI_STARTMAPCINEMATIC 255
#define UI_MAPS_SELECTION 256
#define UI_VERSIONDOWNLOAD_PROGRESS 257

#define UI_REDTEAM_IDENTITY            260
#define UI_BLUETEAM_IDENTITY         261

#define UI_OUTFITTING_SLOT            270
#define UI_OUTFITTING_SLOT_RENDER      271
#define UI_OUTFITTING_SLOT_NAME         272
#define UI_OUTFITTING_SLOT_COST         273
#define UI_OUTFITTING_SLOT_BACKGROUND   274

#define UI_OBJECTIVE_PHOTOS            275


//#define VOICECHAT_GETFLAG         "getflag"            // command someone to get the flag
//#define VOICECHAT_OFFENSE         "offense"            // command someone to go on offense
//#define VOICECHAT_DEFEND         "defend"            // command someone to go on defense
//#define VOICECHAT_DEFENDFLAG      "defendflag"         // command someone to defend the flag
//#define VOICECHAT_PATROL         "patrol"            // command someone to go on patrol (roam)
//#define VOICECHAT_CAMP            "camp"               // command someone to camp (we don't have sounds for this one)
//#define VOICECHAT_FOLLOWME         "followme"            // command someone to follow you
//#define VOICECHAT_RETURNFLAG      "returnflag"         // command someone to return our flag
//#define VOICECHAT_FOLLOWFLAGCARRIER   "followflagcarrier"      // command someone to follow the flag carrier
//#define VOICECHAT_YES            "yes"               // yes, affirmative, etc.
//#define VOICECHAT_NO            "no"               // no, negative, etc.
//#define VOICECHAT_ONGETFLAG         "ongetflag"            // I'm getting the flag
//#define VOICECHAT_ONOFFENSE         "onoffense"            // I'm on offense
//#define VOICECHAT_ONDEFENSE         "ondefense"            // I'm on defense
//#define VOICECHAT_ONPATROL         "onpatrol"            // I'm on patrol (roaming)
//#define VOICECHAT_ONCAMPING         "oncamp"            // I'm camping somewhere
//#define VOICECHAT_ONFOLLOW         "onfollow"            // I'm following
//#define VOICECHAT_ONFOLLOWCARRIER   "onfollowcarrier"      // I'm following the flag carrier
//#define VOICECHAT_ONRETURNFLAG      "onreturnflag"         // I'm returning our flag
//#define VOICECHAT_INPOSITION      "inposition"         // I'm in position
//#define VOICECHAT_IHAVEFLAG         "ihaveflag"            // I have the flag
//#define VOICECHAT_BASEATTACK      "baseattack"         // the base is under attack
//#define VOICECHAT_ENEMYHASFLAG      "enemyhasflag"         // the enemy has our flag (CTF)
//#define VOICECHAT_STARTLEADER      "startleader"         // I'm the leader
//#define VOICECHAT_STOPLEADER      "stopleader"         // I resign leadership
//#define VOICECHAT_TRASH            "trash"               // lots of trash talk
//#define VOICECHAT_WHOISLEADER      "whoisleader"         // who is the team leader
//#define VOICECHAT_WANTONDEFENSE      "wantondefense"         // I want to be on defense
//#define VOICECHAT_WANTONOFFENSE      "wantonoffense"         // I want to be on offense
//#define VOICECHAT_KILLINSULT      "kill_insult"         // I just killed you
//#define VOICECHAT_TAUNT            "taunt"               // I want to taunt you
//#define VOICECHAT_DEATHINSULT      "death_insult"         // you just killed me
//#define VOICECHAT_KILLGAUNTLET      "kill_gauntlet"         // I just killed you with the gauntlet
//#define VOICECHAT_PRAISE         "praise"            // you did something good

#define OUTFITTING_GROUP_PRIMARY   0
#define OUTFITTING_GROUP_SECONDARY   1
#define OUTFITTING_GROUP_PISTOL      2
#define OUTFITTING_GROUP_GRENADE   3
#define OUTFITTING_GROUP_ACCESSORY   4
#define OUTFITTING_GROUP_MAX      5
#define OUTFITTING_GROUP_KNIFE      6


Top
 Profile  
 
 
 Post subject: Re: here's some C++ to munch on.
PostPosted: 13 Apr 2009 16:02 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
uhmmm these are only #defines.
anyway as far as I have understood from your past threads seems that (at least for the moment) there are no people here which can help you in the modding of that game


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


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 post attachments in this forum

Search for: