Skip to content

Commit

Permalink
Add gametitles sprite sources, update hud.txt to use gametitles sprit…
Browse files Browse the repository at this point in the history
…e, update fgd to change gametitle key

twhl-community/halflife-unified-sdk#334
  • Loading branch information
SamVanheer committed Jul 17, 2022
1 parent 2d155bb commit 498f7f8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
6 changes: 1 addition & 5 deletions fgdsrc/halflife-unified.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,7 @@
0 : "No"
1 : "Yes"
]
gametitle(choices) : "Display game title" : 0 =
[
0 : "No"
1 : "Yes"
]
gametitle(string) : "Game whose title to display"
newunit(choices) : "New Level Unit" : 0 =
[
0 : "No, keep current"
Expand Down
Binary file added spritesrc/gametitles/gametitles.bmp
Binary file not shown.
5 changes: 5 additions & 0 deletions spritesrc/gametitles/gametitles.qc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$spritename gametitles
$type vp_parallel
$texture additive
$load gametitles.bmp
$frame 0 0 256 256
Binary file added spritesrc/gametitles/gametitles.xcf
Binary file not shown.
12 changes: 7 additions & 5 deletions spritesrc/hud.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
96
98

selection 640 640hud3 0 180 170 45

Expand Down Expand Up @@ -55,10 +55,12 @@ train_forward3 640 640hud6 170 72 72 72

autoaim_c 640 crosshairs 96 0 24 24

title_half 640 640hud4 0 226 256 30
title_life 640 640hud5 0 226 220 30
title_opposing 640 640hudof05 0 0 256 32
title_force 640 640hudof06 0 0 256 32
title_half 640 gametitles 0 0 256 30
title_life 640 gametitles 0 96 220 30
title_opposing 640 gametitles 0 0 256 64
title_force 640 gametitles 0 96 256 64
title_blue 640 gametitles 0 64 256 30
title_shift 640 gametitles 0 160 220 30

d_crowbar 640 640hud1 192 0 48 16
d_9mmhandgun 640 640hud1 192 16 32 16
Expand Down

0 comments on commit 498f7f8

Please sign in to comment.