钢管猫 Posted 2009年9月8日 17:46 Posted 2009年9月8日 17:46 文件名称: 自己做的HUD FOR 娃骚0.5 上传会员: 钢管猫 上传时间: 2009/09/09 文件目录: 游戏模组 Game Mods 自己参考了国外一些人做的HUD,然后纯手工编辑调试 点击这里下载文件
钢管猫 Posted 2009年9月8日 18:06 Author Posted 2009年9月8日 18:06 放粗代码 huds\prohud.hud // Scripting by d4ncecAt setFont con_fontSystembig include prohud/zoom include prohud/team_info include prohud/ammo include prohud/scores include prohud/times include prohud/obituaries include prohud/powerups include prohud/picked_up_item include prohud/item_timers include prohud/chasing include prohud/health include prohud/armor include prohud/frags include prohud/net include prohud/pointing include prohud/help_message include prohud/fps include prohud/clock include prohud/speed include prohud/weaponlist include prohud/crosshair include prohud/keystate include prohud/awards include prohud/minimap include prohud/download include prohud/damage_indicator_screen [/CODE] [b]huds\inc\prohud[/b] [color=red]fps.hud[/color] [CODE]if %SHOW_FPS setAlign #RIGHT, #TOP setCursor #WIDTH - 4, 4 drawStringNum %FPS endif frags.hud if %SCORE != #NOTSET // TDM, CA, CTF and DM show fragcounter if %RACE == 0 if %INDIVIDUAL == 0 setColor 1, 1, 1, 1 setSize 16 16 setAlign #LEFT, #BOTTOM setCursor 58, 550 drawNum %SCORE setFont "virtue_16" setColor 0 0 0 1 setCursor 56, 552 setAlign #RIGHT, #BOTTOM drawString "Points:" setColor 1 1 1 1 setCursor 56, 550 setAlign #RIGHT, #BOTTOM drawString "Points:" endif endif // DUEL shows spread (difference in score between the 2 players) // Code stolen from kro! props to him ;D \o/ if %TEAMBASED && %INDIVIDUAL setFont "virtue_16" setColor 0 0 0 1 setCursor 70, 552 setAlign #RIGHT, #BOTTOM drawString "Spread:" setColor 1 1 1 1 setCursor 68, 550 setAlign #RIGHT, #BOTTOM drawString "Spread:" setColor 1, 1, 1, 1 setSize 16 16 setAlign #LEFT, #BOTTOM setCursor 70, 550 if %TEAM == #TEAM_ALPHA drawNum %TEAM_ALPHA_SCORE - %TEAM_BETA_SCORE endif if %TEAM == #TEAM_BETA drawNum %TEAM_BETA_SCORE - %TEAM_ALPHA_SCORE endif endif endif [/code] [color=red]health.hud[/color] [code]if %RACE == 0 if %HEALTH != #NOTSET // draws the black border setAlign #LEFT, #BOTTOM setColor 0, 0, 0, 0.3 setCursor 138, 595 setSize 250, 40 drawPicByName gfx/ui/white // draws the different opacities (of the bar) if %HEALTH > 100 setColor 0.5, 0, 0.5, 0.4 endif // if health 100 green if %HEALTH == 100 setColor 0 , 1 , 0, 0.8 endif // health bar yellow-green if %HEALTH < 100 if %HEALTH > 75 setColor 0.5, 1, 0, 0.8 endif endif // health bar yellow if %HEALTH <= 75 if %HEALTH > 50 setColor 1, 1, 0, 0.8 endif endif // health bar orange if %HEALTH <= 50 if %HEALTH > 25 setColor 1, 0.5, 0, 0.8 endif endif // health bar red if %HEALTH <= 25 setColor 1, 0 , 0, 0.8 endif // draws the healthbar (0-100) setCursor 138, 592 setSize 250, 35 drawBar %HEALTH 100 // draws the overlaying healthbar (101-200) if %HEALTH > 100 setColor 1, 0, 1, 0.7 setCursor 138, 590 setSize 250, 30 drawbar %HEALTH - 100, 100 endif // draws the health number setAlign #LEFT, #BOTTOM setColor 1, 1, 1, 1 setSize 26, 26 setCursor 159, 590 drawNum %HEALTH endif endif help_message.hud // match message setFont con_fontSystemSmall setColorAlpha 0.5 setSize #WIDTH, 32 setAlign #CENTER #TOP setCursor #WIDTH / 2, #HEIGHT * 0.22 drawHelpString setFont con_fontSystemMedium setColorAlpha 1 [/code] [color=red]item_timers.hud[/color] [code]/* default hud item timers with adjusted positions - uses another way of showing team items (by colored numbers) - highlites available items, ghosts picked up items (if drawPicByItemIndex would use setcolor/setalpha) (commented out) */ if %SHOW_ITEM_TIMERS setAlign #RIGHT, #MIDDLE if %ITEM_TIMER0 setCursor #WIDTH - 37, 195 setColor 1, 1, 1, 1 if %ITEM_TIMER0_COUNT setSize 14, 14 if %ITEM_TIMER0_TEAM setColorToTeamColor %ITEM_TIMER0_TEAM endif drawNum %ITEM_TIMER0_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER0_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER0 endif if %ITEM_TIMER1 setCursor #WIDTH - 37, 230 setColor 1, 1, 1, 1 if %ITEM_TIMER1_COUNT setSize 14, 14 if %ITEM_TIMER1_TEAM setColorToTeamColor %ITEM_TIMER1_TEAM endif drawNum %ITEM_TIMER1_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER1_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER1 endif if %ITEM_TIMER2 setCursor #WIDTH - 37, 265 setColor 1, 1, 1, 1 if %ITEM_TIMER2_COUNT setSize 14, 14 if %ITEM_TIMER2_TEAM setColorToTeamColor %ITEM_TIMER2_TEAM endif drawNum %ITEM_TIMER2_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER2_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER2 endif if %ITEM_TIMER3 setCursor #WIDTH - 37, 300 setColor 1, 1, 1, 1 if %ITEM_TIMER3_COUNT setSize 14, 14 if %ITEM_TIMER3_TEAM setColorToTeamColor %ITEM_TIMER3_TEAM endif drawNum %ITEM_TIMER3_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER3_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER3 endif if %ITEM_TIMER4 setCursor #WIDTH - 37, 335 setColor 1, 1, 1, 1 if %ITEM_TIMER4_COUNT setSize 14, 14 if %ITEM_TIMER4_TEAM setColorToTeamColor %ITEM_TIMER4_TEAM endif drawNum %ITEM_TIMER4_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER4_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER4 endif if %ITEM_TIMER5 setCursor #WIDTH - 37, 370 setColor 1, 1, 1, 1 if %ITEM_TIMER5_COUNT setSize 14, 14 if %ITEM_TIMER5_TEAM setColorToTeamColor %ITEM_TIMER5_TEAM endif drawNum %ITEM_TIMER5_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER5_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER5 endif if %ITEM_TIMER6 setCursor #WIDTH - 37, 405 setColor 1, 1, 1, 1 if %ITEM_TIMER6_COUNT setSize 14, 14 if %ITEM_TIMER6_TEAM setColorToTeamColor %ITEM_TIMER6_TEAM endif drawNum %ITEM_TIMER6_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER6_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER6 endif if %ITEM_TIMER7 setCursor #WIDTH - 37, 440 setColor 1, 1, 1, 1 if %ITEM_TIMER7_COUNT setSize 14, 14 if %ITEM_TIMER7_TEAM setColorToTeamColor %ITEM_TIMER7_TEAM endif drawNum %ITEM_TIMER7_COUNT endif moveCursor 27, 0 setSize 23, 23 /* if %ITEM_TIMER7_COUNT setColor 1, 1, 1, 0.6 endif */ drawPicByItemIndex %ITEM_TIMER7 endif endif keystate.hud setAlign #CENTER, #BOTTOM setSize 32, 32 setCursor 726, 255 drawKeyState forward setCursor 726, 289 drawKeyState backward setCursor 694, 289 drawKeyState left setCursor 760, 289 drawKeyState right setCursor 694, 255 drawKeyState jump setCursor 760, 255 drawKeyState special setCursor 760, 323 drawKeyState fire setCursor 694, 323 drawKeyState crouch [/code] [color=red]minimap.hud[/color] [code]setAlign #RIGHT #TOP setCursor #WIDTH - 24, 24 setSize 256, 256 SetColor 0.5 0.5 0.5 0.7 drawMiniMap 0 0 net.hud // disconnection icon setAlign #LEFT, #TOP setCursor 0, 64 setColor 1 1 1 1 setSize 32, 32 drawNetIcon [/code] [color=red]obituaries.hud[/color] [code]// draws the kill log in the upper right corner of the screen setAlign #RIGHT, #TOP setCursor #WIDTH - 6, 6 // leaves a space above for fps numbers if %SHOW_FPS > 0 setCursor #WIDTH - 6, 21 endif // always move down while chasing to leave space for the players name if %CHASING != #NOTSET setCursor #WIDTH - 6, 21 endif // character-space vs resolution setSize 260, 340 setFont "virtue_10" if %VIDWIDTH >= 1152 setSize 280, 340 setFont "virtue_12" if %VIDWIDTH > 1280 setSize 300, 340 setFont "virtue_16" endif endif drawObituaries #RIGHT, 15 // aligned to right, iconsize 15 picked_up_item.hud if %SHOW_PICKUP if %PICKUP_ITEM // change color by item if %PICKUP_ITEM == #ITEM_RED_ARMOR // draws the backdrop shadow setFont "virtue_16" setAlign #CENTER, #TOP setCursor 402, 320 setColor 0, 0, 0, 1 setSize 32 32 drawClock // draws clock setAlign #CENTER, #TOP setCursor 400, 318 setColor 1, 0, 0, 1 // red setSize 32 32 drawClock endif if %PICKUP_ITEM == #ITEM_YELLOW_ARMOR // draws the backdrop shadow setFont "virtue_16" setAlign #CENTER, #TOP setCursor 402, 320 setColor 0, 0, 0, 1 setSize 32 32 drawClock // draws clock setAlign #CENTER, #TOP setCursor 400, 318 setColor 1, 1, 0, 1 // yellow setSize 32 32 drawClock endif if %PICKUP_ITEM == #ITEM_GREEN_ARMOR // draws the backdrop shadow setFont "virtue_16" setAlign #CENTER, #TOP setCursor 402, 320 setColor 0, 0, 0, 1 setSize 32 32 drawClock // draws clock setAlign #CENTER, #TOP setCursor 400, 318 setColor 0, 1, 0, 1 // green setSize 32 32 drawClock endif if %PICKUP_ITEM == #ITEM_QUAD // draws the backdrop shadow setFont "virtue_16" setAlign #CENTER, #TOP setCursor 402, 320 setColor 0, 0, 0, 1 setSize 32 32 drawClock // draws clock setAlign #CENTER, #TOP setCursor 400, 318 setColor 1, 0.5, 0, 1 // orange setSize 32 32 drawClock endif if %PICKUP_ITEM == #ITEM_WARSHELL // draws the backdrop shadow setFont "virtue_16" setAlign #CENTER, #TOP setCursor 402, 320 setColor 0, 0, 0, 1 setSize 32 32 drawClock // draws clock setAlign #CENTER, #TOP setCursor 400, 318 setColor 0, 1, 1, 1 // lightblue setSize 32 32 drawClock endif endif endif [/code] [color=red]pointing.hud[/color] [code]// pointing if %VIDHEIGHT >= 768 setFont con_fontSystemMedium endif if %VIDHEIGHT < 768 if %VIDHEIGHT >= 600 setFont bitstream_9 endif if %VIDHEIGHT < 600 setFont bitstream_7 endif endif setColor 1 1 1 1 setAlign #CENTER #MIDDLE setCursor #WIDTH / 2 #HEIGHT / 2 + 32 drawPointing powerups.hud if %POWERUP_QUAD_TIME != 0 setAlign #CENTER, #MIDDLE setSize 30, 30 setCursor 368, 103 drawPicByItemIndex #ITEM_QUAD setColor 1, 1, 1, 1 setAlign #CENTER, #CENTER setCursor 412, 103 drawNum %POWERUP_QUAD_TIME endif if %POWERUP_WARSHELL_TIME != 0 setAlign #CENTER, #MIDDLE setSize 30, 30 setCursor 368, 103 if %POWERUP_QUAD_TIME != 0 setCursor 368, 133 endif drawPicByItemIndex #ITEM_WARSHELL setColor 1, 1, 1, 1 setAlign #CENTER, #CENTER setCursor 412, 103 if %POWERUP_QUAD_TIME != 0 setCursor 412, 133 endif drawNum %POWERUP_WARSHELL_TIME endif [/code] [color=red]scores.hud[/color] [code]// team ALPHA (lower opacity for enemy team) if %TEAM_ALPHA_SCORE != #NOTSET setColorToTeamColor #TEAM_ALPHA setSize 18 18 setAlign 2 1 setCursor 325, 12 if %TEAM == #TEAM_ALPHA setColorAlpha 1 endif if %TEAM != #TEAM_ALPHA setColorAlpha .5 endif drawNum %TEAM_ALPHA_SCORE endif // team BETA (lower opacity for enemy team) if %TEAM_BETA_SCORE != #NOTSET setColorToTeamColor #TEAM_BETA setSize 18 18 setAlign 2 1 setCursor 475, 12 if %TEAM == #TEAM_BETA setColorAlpha 1 endif if %TEAM != #TEAM_BETA setColorAlpha .5 endif drawNum %TEAM_BETA_SCORE endif speed.hud // speed (with shadow) if %SHOW_SPEED if %WEAPON_ITEM setFont "virtue_16" setColor 0 0 0 1 setAlign #RIGHT, #TOP setCursor 100, 282 drawStringNum %SPEED setColor 0.5 1 0.5 1 setAlign #RIGHT, #TOP setCursor 100, 280 drawStringNum %SPEED endif endif [/code] [color=red]team_info.hud[/color] [code]if %TEAM >= #TEAM_ALPHA // draw the locations if %VIDHEIGHT >= 768 setFont con_fontSystemMedium endif if %VIDHEIGHT < 768 if %VIDHEIGHT >= 600 setFont bitstream_9 endif if %VIDHEIGHT < 600 setFont bitstream_7 endif endif setColor 1 1 1 0.7 setCursor 0, 545 - 20 setAlign #LEFT, #BOTTOM drawTeamInfo endif // self status pic (Quad, flag carrier), center, lower side of screen if %IMAGE_SELF setColorToTeamColor %TEAM setCursor 360, 450 setAlign #RIGHT, #MIDDLE setSize 64 64 drawPicByIndex %IMAGE_SELF endif // enemy's info. Right side of screen. Smaller if %IMAGE_OTHER setColorToTeamColor %TEAM_ENEMY setCursor 440, 450 setAlign #LEFT, #MIDDLE setSize 64 64 drawPicByIndex %IMAGE_OTHER endif if %IMAGE_ALPHA setColorToTeamColor #TEAM_ALPHA setCursor 300, 40 setAlign #RIGHT, #BOTTOM setSize 32 32 drawPicByIndex %IMAGE_ALPHA endif if %IMAGE_BETA setColorToTeamColor #TEAM_BETA setCursor 500, 40 setAlign #LEFT, #BOTTOM setSize 32 32 drawPicByIndex %IMAGE_BETA endif //======================================================= // team progress stats are used to indicate the state // of team actions in gametypes, as flag unlocks in ctf //======================================================= if %PROGRESS_OTHER setSize 64, 64 setCursor 416, 460 setAlign #CENTER, #MIDDLE // we draw positive value charts in green color and negative value charts in red if %PROGRESS_OTHER < 0 setColor 1 0 0 1 drawPicVar %PROGRESS_OTHER, -1, -100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif if %PROGRESS_OTHER > 0 setColor 0 1 0 1 drawPicVar %PROGRESS_OTHER, 1, 100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif // eye candy layer setSize 82, 82 setColor 1, 0.95, 0.825, 0.4 if %VIDHEIGHT <= 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish_lowres" endif if %VIDHEIGHT > 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish" endif endif if %PROGRESS_SELF setSize 64, 64 setCursor 384, 440 setAlign #CENTER, #MIDDLE // we draw positive value charts in green color and negative value charts in red if %PROGRESS_SELF < 0 setColor 1 0 0 1 drawPicVar %PROGRESS_SELF, -1, -100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif if %PROGRESS_SELF > 0 setColor 0 1 0 1 drawPicVar %PROGRESS_SELF, 1, 100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif // eye candy layer setSize 82, 82 setColor 1, 0.95, 0.825, 0.4 if %VIDHEIGHT <= 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish_lowres" endif if %VIDHEIGHT > 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish" endif endif if %PROGRESS_ALPHA setSize 48, 48 //setCursor 330, 450 setAlign #CENTER, #MIDDLE setCursor 286 - 20, 24 + 38 // we draw positive value charts in team color and negative value charts in enemy color if %PROGRESS_ALPHA < 0 setColorToTeamColor #TEAM_BETA drawPicVar %PROGRESS_ALPHA, -1, -100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif if %PROGRESS_ALPHA > 0 setColorToTeamColor #TEAM_ALPHA drawPicVar %PROGRESS_ALPHA, 1, 100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif // eye candy layer setSize 64, 64 setColor 1, 0.95, 0.825, 0.4 if %VIDHEIGHT <= 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish_lowres" endif if %VIDHEIGHT > 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish" endif endif if %PROGRESS_BETA setSize 48, 48 //setCursor 470, 450 setAlign #CENTER, #MIDDLE setCursor 514 + 20, 24 + 38 // we draw positive value charts in team color and negative value charts in enemy color if %PROGRESS_BETA < 0 setColorToTeamColor #TEAM_ALPHA drawPicVar %PROGRESS_BETA, -1, -100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif if %PROGRESS_BETA > 0 setColorToTeamColor #TEAM_BETA drawPicVar %PROGRESS_BETA, 1, 100, 1, 33, "gfx/hud/kuhjoe/ctf_pie/tortenschlacht_##" endif // eye candy layer setSize 64, 64 setColor 1, 0.95, 0.825, 0.4 if %VIDHEIGHT <= 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish_lowres" endif if %VIDHEIGHT > 600 drawPicByName "gfx/hud/kuhjoe/middle_toyish" endif endif //======================================================= // team message stats are used to give messages to the players about the state of things in gametypes //======================================================= if %MESSAGE_SELF setColor 1, 1, 1, 1 setCursor #WIDTH / 2, 380 setAlign #CENTER, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_SELF endif // in race the messages are used for the top scores, so they use a different layout if %RACE == 0 if %MESSAGE_OTHER setColor 1, 1, 1, 1 setCursor #WIDTH / 2, 504 setAlign #CENTER, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_OTHER endif if %MESSAGE_ALPHA setColorToTeamColor #TEAM_ALPHA setCursor 400 - 100, 482 + 8 setAlign #RIGHT, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_ALPHA endif if %MESSAGE_BETA setColorToTeamColor #TEAM_BETA setCursor 400 + 100, 482 + 8 setAlign #LEFT, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_BETA endif endif // in race the messages are used for the top scores, so they use a different layout if %RACE if %MESSAGE_OTHER setColor 1, 1, 1, 1 setCursor 8, 80 setAlign #LEFT, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_OTHER endif if %MESSAGE_ALPHA setColor 1, 1, 1, 1 setCursor 8, 96 setAlign #LEFT, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_ALPHA endif if %MESSAGE_BETA setColor 1, 1, 1, 1 setCursor 8, 112 setAlign #LEFT, #TOP setFont con_fontSystemsmall drawStatString %MESSAGE_BETA endif endif times.hud if %TIME_SELF != #NOTSET if %RACE // current time setFont "virtue_16" setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 402, 492 drawString "Time:" setColor 0.8 0.8 0.8 1 setAlign #CENTER, #BOTTOM setCursor 400, 490 drawString "Time:" endif // current time (+shadow) setFont "virtue_16" setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 402, 522 drawTimer %TIME_SELF setColor 1 1 1 1 setAlign #CENTER, #BOTTOM setCursor 400, 520 drawTimer %TIME_SELF endif if %TIME_BEST != #NOTSET if %RACE // player best time (best lap in the race) setFont "virtue_12" setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 102, 522 drawString "Best:" setColor 0.8 0.8 0.8 1 setAlign #CENTER, #BOTTOM setCursor 100, 520 drawString "Best:" endif // player best time (best lap in the race) (+shadow) setFont "virtue_12" setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 102, 542 drawTimer %TIME_BEST setColor 1 1 1 1 setAlign #CENTER, #BOTTOM setCursor 100, 540 drawTimer %TIME_BEST endif if %TIME_RECORD != #NOTSET if %RACE // best time (best lap in the race) setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 702, 522 drawString "Srv Best:" setColor 0.8 0.8 0.8 1 setAlign #CENTER, #BOTTOM setCursor 700, 520 drawString "Srv Best:" endif // best time (best lap in the race) (+shadow) setColor 0 0 0 1 setAlign #CENTER, #BOTTOM setCursor 702, 542 drawTimer %TIME_RECORD setColor 1 1 1 1 setAlign #CENTER, #BOTTOM setCursor 700, 540 drawTimer %TIME_RECORD endif if %TIME_ALPHA != #NOTSET setFont "virtue_16" setColor 0 0 0 1 setAlign #RIGHT, #BOTTOM setCursor 786, 392 drawString "Alpha Time:" setColor 0.8 0.8 0.8 1 setAlign #RIGHT, #BOTTOM setCursor 784, 390 drawString "Alpha Time:" // current time (+shadow) setFont "virtue_16" setColor 0 0 0 1 setAlign #RIGHT, #BOTTOM setCursor 786, 408 drawTimer %TIME_ALPHA setColor 1 1 1 1 setAlign #RIGHT, #BOTTOM setCursor 784, 406 drawTimer %TIME_ALPHA endif if %TIME_BETA != #NOTSET setFont "virtue_16" setColor 0 0 0 1 setAlign #RIGHT, #BOTTOM setCursor 786, 444 drawString "Beta Time:" setColor 0.8 0.8 0.8 1 setAlign #RIGHT, #BOTTOM setCursor 784, 442 drawString "Beta Time:" // current time (+shadow) setFont "virtue_16" setColor 0 0 0 1 setAlign #RIGHT, #BOTTOM setCursor 786, 460 drawTimer %TIME_ALPHA setColor 1 1 1 1 setAlign #RIGHT, #BOTTOM setCursor 784, 468 drawTimer %TIME_ALPHA endif [/code] [color=red]weaponlist.hud[/color] [code]if %INSTAGIB == 0 if %WEAPON_ITEM setAlign #CENTER, #MIDDLE setCursor 16, 270 drawWeaponIcons 0, 36, 34, 34 setCursor 38, 259 setAlign #LEFT, #TOP drawWeaponStrongAmmo 0, 36, 11 setCursor 38, 281 setAlign #LEFT, #BOTTOM drawWeaponWeakAmmo 0, 36, 11 endif endif zoom.hud if %ZOOM && %SHOW_ZOOM_EFFECT setSize #WIDTH, #HEIGHT setCursor #WIDTH / 2, #HEIGHT / 2 setAlign #CENTER, #MIDDLE setColor 1, 1, 1, 1 drawPicByName gfx/hud/zoomscreen setSize 512, 512 drawPicByName gfx/hud/zoomscreencross endif [/code]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new account登录
Already have an account? Sign in here.
现在登录