-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ff6f6f2
Showing
108 changed files
with
5,347 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* made by adem | ||
Credz: Warsow Team, Scratch, joki, kuhjoe, clownFart, nasa | ||
cg_showSpeed 1 - draws speed at the center bottom | ||
cg_showSpeed 2 - draws speed between weaponlist and crosshair | ||
cg_showSpeed 3 - draws clock between weaponlist and crosshair moves speed back to the center bottom | ||
*/ | ||
|
||
setFontFamily con_fontSystem | ||
setFontSize con_fontSystemSmall | ||
|
||
setScale #DEFAULTSCALE | ||
if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
include zoom | ||
include damage_indicator_screen | ||
include crosshair | ||
|
||
if %TUTORIAL == 0 | ||
include adem/clock | ||
endif | ||
|
||
if %RACE == 0 | ||
include adem/health_armor | ||
include adem/weaponlist | ||
include adem/stunned | ||
include adem/ammo_warning | ||
include adem/obituaries | ||
include adem/powerups | ||
|
||
if %TUTORIAL == 0 | ||
|
||
include adem/scores | ||
include adem/team_info | ||
include adem/team_image | ||
include adem/team_message | ||
include adem/team_progress | ||
include minimap | ||
include adem/item_timers | ||
|
||
endif //if %TUTORIAL == 0 | ||
endif //if %RACE == 0 | ||
|
||
include strafe | ||
include adem/chasing | ||
include pointing | ||
include adem/download | ||
include net | ||
include adem/speed | ||
include adem/fps | ||
include help_message | ||
include adem/picked_up_item | ||
include keystate | ||
include default/race_records | ||
|
||
endif //if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
|
||
include awards | ||
include adem/chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
// Scripting by ETR ([email protected]) | ||
// I've commented most of the .hud files, | ||
// to make it semi-understandable. | ||
// This hud supports all .hud features. | ||
|
||
// This HUD uses modified scripts from: | ||
// - kro (pwn hud) - spread in fragcounter - (basewsw) | ||
// - mapi (wa-wa-hud) - health/armor bars - http://www.warsow.net/forum/viewtopic.php?id=12716 | ||
// - warsow hud (basewsw) | ||
|
||
setFontFamily con_fontSystem | ||
setFontSize con_fontSystemSmall | ||
|
||
include zoom | ||
include damage_indicator_screen | ||
include crosshair | ||
|
||
include team_info | ||
include ammo | ||
include ammo_warning | ||
|
||
if %TUTORIAL == 0 | ||
include scores | ||
include times | ||
endif | ||
|
||
include obituaries | ||
include powerups | ||
include picked_up_item | ||
include item_timers | ||
include chasing | ||
include health | ||
include armor | ||
|
||
if %TUTORIAL == 0 | ||
include frags | ||
endif | ||
|
||
include net | ||
include pointing | ||
include help_message | ||
include fps | ||
|
||
if %TUTORIAL == 0 | ||
include clock | ||
endif | ||
|
||
include speed | ||
include weaponlist | ||
include keystate | ||
include awards | ||
include minimap | ||
include weaponcross | ||
include download | ||
include chat | ||
include strafe | ||
include stunned | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* | ||
Credz: | ||
- Warsow Team | ||
- Scratch | ||
- joki | ||
- kuhjoe | ||
- Jihnsius 4EXTREME BRA1NZ | ||
- IRC for <3 and feedback | ||
- clownFart for most of the work | ||
- SiPlus for the touchscreen version | ||
*/ | ||
|
||
setFontFamily con_fontSystem | ||
setFontSize con_fontSystemSmall | ||
|
||
setScale #DEFAULTSCALE | ||
if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
include zoom | ||
include damage_indicator_screen | ||
include crosshair | ||
|
||
if %TUTORIAL == 0 | ||
include default/clock | ||
endif | ||
|
||
if %RACE == 0 | ||
include default/health_armor | ||
include default/weaponlist | ||
include default/ammo | ||
|
||
if %TUTORIAL == 0 | ||
|
||
include default/scores | ||
include default/scores_individual | ||
|
||
endif //if %TUTORIAL == 0 | ||
|
||
include ammo_warning | ||
include default/stunned | ||
include default/obituaries | ||
include default/powerups | ||
include default/picked_up_item | ||
|
||
if %TUTORIAL == 0 | ||
|
||
include default/team_info | ||
include default/team_image | ||
include default/team_message | ||
include default/team_progress | ||
include default/item_timers | ||
include minimap | ||
|
||
endif //if %TUTORIAL == 0 | ||
|
||
endif //if %RACE == 0 | ||
|
||
include default/chasing | ||
|
||
/* Race */ | ||
include default/race_records | ||
|
||
include strafe | ||
include default/speed | ||
include default/fps | ||
include help_message | ||
include download | ||
include default/net | ||
include default/pointing | ||
include keystate | ||
include weaponcross | ||
endif //if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
|
||
include awards | ||
include chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
/* | ||
Credz: | ||
- Warsow Team | ||
- Scratch | ||
- joki | ||
- kuhjoe | ||
- Jihnsius 4EXTREME BRA1NZ | ||
- IRC for <3 and feedback | ||
- clownFart for most of the work | ||
- SiPlus for the touchscreen version | ||
|
||
The touch version is designed for 4:3 screens and up, not 5:4, since there are no 5:4 mobile devices. | ||
*/ | ||
|
||
setFontFamily con_fontSystem | ||
setFontSize con_fontSystemSmall | ||
|
||
setScale #DEFAULTSCALE | ||
if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
include zoom | ||
include damage_indicator_screen | ||
include crosshair | ||
|
||
if %TUTORIAL == 0 | ||
include default/clock | ||
endif | ||
|
||
if %RACE == 0 | ||
include default/health_armor_touch | ||
include default/weaponlist_touch | ||
include default/instagun_icon_touch // instead of ammo display for which there's no free space | ||
|
||
if %TUTORIAL == 0 | ||
|
||
include default/scores | ||
//include default/scores_individual | ||
include default/obituaries_touch // don't move out of this conditional - must not display in tutorial | ||
|
||
endif //if %TUTORIAL == 0 | ||
|
||
include ammo_warning | ||
include default/stunned_touch | ||
include default/powerups | ||
include default/picked_up_item | ||
|
||
if %TUTORIAL == 0 | ||
|
||
//include default/team_info | ||
include default/team_image | ||
include default/team_message | ||
include default/team_progress | ||
include default/item_timers | ||
include default/minimap_touch | ||
|
||
endif //if %TUTORIAL == 0 | ||
|
||
endif //if %RACE == 0 | ||
|
||
include default/chasing_touch | ||
include default/actions_touch | ||
include default/menubuttons_touch | ||
|
||
endif //if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
|
||
//Must be the last touch include when controlling the player because it will consume events on the whole low half of the screen | ||
include controls_touch | ||
|
||
if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
/* Race */ | ||
setCursor 250, 470 | ||
include default/race_records | ||
|
||
include strafe | ||
include default/speed | ||
include default/fps | ||
include help_message | ||
include download | ||
include default/net | ||
include default/pointing | ||
include keystate | ||
include weaponcross | ||
endif //if %MATCH_STATE < #MATCH_STATE_POSTMATCH | ||
|
||
include awards | ||
include chat_touch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// thanks to nasa | ||
if %SCOREBOARD == 0 | ||
if %INSTAGIB == 0 | ||
if %WEAPON_ITEM | ||
if %WEAPON_ITEM != #WEAP_GUNBLADE | ||
|
||
setAlign #CENTER #MIDDLE | ||
setColor 1 1 1 1 | ||
|
||
// === low ammo warning === | ||
if %LOW_AMMO > %AMMO | ||
setCursor #WIDTH / 2, 50 + #HEIGHT / 2 | ||
moveCursor -16 * 1.3333333333 * %VIDHEIGHT / %VIDWIDTH, 0 | ||
setSize 32 * 1.3333333333 * %VIDHEIGHT / %VIDWIDTH, 32 | ||
drawWeaponIcon | ||
|
||
moveCursor 32 * 1.3333333333 * %VIDHEIGHT / %VIDWIDTH, 0 | ||
setSize 16 * 1.3333333333 * %VIDHEIGHT / %VIDWIDTH, 16 | ||
drawNum %AMMO | ||
endif | ||
|
||
endif | ||
endif | ||
endif | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if %CHASING != #NOTSET | ||
setAlign #RIGHT #BOTTOM | ||
setCursor #WIDTH - 4 * 1.3333 * %VIDHEIGHT / %VIDWIDTH, #HEIGHT + 2 | ||
setFontFamily "Virtue" | ||
setFontSize %VIDHEIGHT / 30 | ||
|
||
//pro outline | ||
setColor 0 0 0 1 | ||
drawCleanPlayerName %CHASING | ||
moveCursor 0, -1 | ||
drawCleanPlayerName %CHASING | ||
moveCursor 1, 0 | ||
drawCleanPlayerName %CHASING | ||
moveCursor 0, 1 | ||
drawCleanPlayerName %CHASING | ||
moveCursor -0.5, -0.5 | ||
|
||
setColor 1 1 1 1 | ||
drawPlayerName %CHASING | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
setFontFamily con_fontSystem | ||
if %SOFTKEYBOARD | ||
setFontSize %VIDHEIGHT / 35 | ||
endif | ||
ifnot %SOFTKEYBOARD | ||
setFontSize %VIDHEIGHT / 50 | ||
endif | ||
|
||
setAlign 1 1 | ||
setSize -300 + #WIDTH, 180 | ||
setCursor 15 * 1.3333 * %VIDHEIGHT / %VIDWIDTH, 310 | ||
|
||
if %CHAT_MODE > 0 | ||
setColor 0 0 0 0.25 | ||
endif | ||
if %CHAT_MODE == 0 | ||
setColor 0 0 0 0 | ||
endif | ||
|
||
drawChat 4 * 1.3333 * %VIDHEIGHT / %VIDWIDTH, 8, *whiteImage | ||
setColor 1 1 1 1 // here cause bugs; don't remove |
Oops, something went wrong.