Commit graph

172 commits

Author SHA1 Message Date
hackgrid efb81034c2
don't require all supported subtitle language files 2023-11-28 21:31:26 +01:00
James Lambert 20e9beaa0f Implement triple sign state 2023-11-24 21:54:27 -07:00
James Lambert b275813dcd Use liberation mono for credits font 2023-11-22 09:48:09 -07:00
James Lambert 456efb37fa Start work on credits menu 2023-11-21 21:09:48 -07:00
James Lambert 67d99e1bd3 Start work for animating portal gun 2023-11-20 21:55:09 -07:00
James Lambert 58f851d3d4 Add bad google translate placeholder translations 2023-11-12 21:35:02 -07:00
James Lambert dd05a3897e build out video options tab 2023-11-11 14:08:19 -07:00
hackgrid 2377ac55b7
Update Makefile for new valve_* files 2023-11-10 10:41:25 +01:00
James Lambert 9d07965582 translate controls menu 2023-11-09 21:42:50 -07:00
James Lambert 7a37be91c9 Translate load and save game menu 2023-11-08 21:49:27 -07:00
James Lambert 60a0e39d1d Add translations for new game menu 2023-11-07 22:10:41 -07:00
James Lambert 1b3c1c9aa4 Translate most of the option tabs 2023-11-06 22:02:38 -07:00
James Lambert 00bdc90861 Finish up audio options using the menu builder 2023-11-05 08:48:58 -07:00
James Lambert 9ec21b9c1a Start migrating audio options to use a menu builder 2023-11-04 22:52:25 -06:00
hackgrid 202ee5cb3d
oops 2023-11-04 10:12:03 +01:00
hackgrid fb0cd333c2
Update Makefile to require at least one closecaption and gameui language file 2023-11-04 10:08:45 +01:00
hackgrid fd35a587b5
require at least english gameui texts to build subtitles 2023-11-04 10:01:09 +01:00
James Lambert bab60422bf Add some translations to the audio menu 2023-11-03 22:15:01 -06:00
James Lambert 94f9622861 Add main menu translations 2023-11-02 21:56:36 -06:00
James Lambert 3ee77ffc71 Added cheat to unlock portal gun 2023-11-02 19:03:51 -06:00
James Lambert f2f94ed7af Finish up non english fonts 2023-10-28 19:24:21 -06:00
James Lambert 3bfe6f4a76 Add support for fonts with more than 256 chracters 2023-10-28 12:31:30 -06:00
James Lambert e9a72bc967 Get translation loading mostly working 2023-10-26 22:32:18 -06:00
James Lambert 93d99d6cb5 Build translations into separate files 2023-10-26 22:00:02 -06:00
James Lambert b38c920525 Work on intro cutscene 2023-10-26 18:56:49 -06:00
westonCoder 4c5c23315b Added Ambient Sound to Game
- simply added the ambient_base sound to the game. its actually a very small sound file, so we could layer on other ambient sounds on top that are queued by different parts of the level in the future if we wanted.
- because this is an activeSound it is also effected by the bug where if you save and reload it is no longer playing (just like the current glados voice line activeSound)
- tested in entire game seems to work well.
2023-10-26 12:40:14 -05:00
James Lambert f075892f33 Triangulate meshes in blender when exporting to fbx 2023-10-24 22:30:37 -06:00
hackgrid 0098405262 fix Makefile and update docs 2023-10-20 11:56:31 +02:00
James Lambert e0d0b7d0ea Add valve intro 2023-10-19 22:52:58 -06:00
James Lambert b737f3a84e Use symbolic link to portal instead of copying individual files 2023-10-19 21:33:39 -06:00
James Lambert 74e02269e8 Fix a build problem around subtitles 2023-10-16 21:45:01 -06:00
hackgrid 550c79dfb0
Update Makefile 2023-10-15 11:14:11 +02:00
hackgrid 44217fb546 Implement modular multi-audio-language support. 2023-10-14 15:13:13 +02:00
James Lambert 4e79c243b9 Add observation room decor to test chamber 01 2023-10-13 16:37:59 -06:00
James Lambert 4445cca8c1 Add desk and chair decor 2023-10-12 18:46:46 -06:00
James Lambert c61a8a802b Add monitor decor object 2023-10-11 21:47:26 -06:00
westonCoder 255cbbad4b Slight Fixes to Subtitles Making
- added subtitles.h as dependency in a few places in makefile
- moved making a directory for the subtitles.h/.c to inside the python script
- fixed pathing for a #include

building is now working for me.
2023-10-11 12:23:21 -05:00
hackgrid ebc5b112d1
Fix Makefile 2023-10-11 10:59:07 +02:00
James Lambert 1228850440 Better integrate subtitle generation into the build process 2023-10-10 22:13:48 -06:00
lambertjamesd b88d4d1192
Merge pull request #275 from westonCoder/subtitles-dynamic-enhancements
Dynamic Captions Building and Enhancements
2023-10-10 20:33:37 -06:00
westonCoder b2bde849ba Dynamic Captions Building and Enhancements
- python file added and invoked at make that produces a subtitles.c and subtitles.h synamically based on the closed captions files present inside of the resource/ folder
- added an in-game  slider to choose from the languages which were dynamically loaded at time of building.
- if no closecaption files are present at the time of building, the script will still make the subtitles.c/.h but it just wont have any data. This will also result in the two menu items relating to closed captions being removed.
- the names of subtitles in the .yaml files are the upercase versions of the names of subtitles in each subtitle file, so that they are easy to find.
- fixed margins on sides of subtitles
- fixed color of subtitles to be more visible
- sped up the fade in and out animations.
- automated new-line breaks.

Issues I have seen:
- if you load more than like 6 closed caption languages into the resource/ folder the game doesnt seem to want to start up once built. I think this is due to the sheer size of the subtitles.c file that is generated. I would love some feedback on how to make this work a little better/be more memory efficient, as it would be nice to have every closed caption language available on every build.
- languages with very unique characters (chinese, japanese, korean, greek, etc.) do not work because the python codec that is used to decode/encode the files doesnt support them. for now that logic is in a try/except so it wont fail, it will simply skip a language that is not supported.
2023-10-09 21:09:22 -05:00
James Lambert c937b43f78 Fail to get rumble pak working right 2023-10-09 18:52:28 -06:00
hackgrid 92f9c0aaea
add french, russian & spanish to Makefile 2023-10-08 13:02:58 +02:00
hackgrid 7982bb408a
Merge branch 'lambertjamesd:master' into german-audio 2023-10-08 12:19:46 +02:00
James Lambert 8887125fe4 Fixup some portal firing logic 2023-10-07 20:50:06 -06:00
hackgrid ea39e18ca1
add new german_audio target to Makefile 2023-10-07 22:22:32 +02:00
James Lambert 5526034235 Work on piston moving sound effects 2023-10-06 22:12:02 -06:00
James Lambert d08cbbb0b8 Improve appearance of light rail endcaps 2023-10-04 21:47:21 -06:00
James Lambert 5bdefbf465 Merge coplanar static meshes to reduce culling load 2023-10-02 21:20:52 -06:00
James Lambert 7dc17db4a8 turn on optimizations 2023-10-01 20:16:05 -06:00