Commit graph

490 commits

Author SHA1 Message Date
Matt Penny 52bbd22c61 Fix cube and ball launcher/catcher texture generation
Previously used Imagemagick 7 functionality, but the Ubuntu repos
(and thereby the machines of users following the readme) contain
version 6.
2024-01-21 22:21:33 -05:00
Matt Penny bd3dc02c56 Get all textures from VPK
Some textures cannot be used in their current form, and so they are
transformed at build time by Imagemagick commands (e.g., add shapes,
crop and merge different portions, etc.).

For a very small number of textures, making them usable takes more than
a few simple commands. For example, Chell's eyes and ears are detached
from her face in the texture image, and there are not enough polygons in
her model or pixels in an N64 texture to make a good UV map.

For these few complex textures, James worked around the problem by
checking in pre-edited images. This commit removes those images and
instead performs the necessary transformations at build time. As a result,
some textures are now slightly different (ball launcher/catcher, cube,
Chell). Chell's UV map is redone to accomodate this - for the better.
2024-01-21 00:42:52 -05:00
Matt Penny 94be65409d Update readme with Still Alive info 2024-01-13 11:27:25 -05:00
James Lambert 8d7d047415 Add some more materials 2024-01-06 21:10:31 -07:00
James Lambert 6f1834f742 Touch up some test chambers 2024-01-06 20:55:35 -07:00
James Lambert 33c80b25ee Add lighten material variants 2024-01-06 19:42:24 -07:00
James Lambert 95ca05b846 Build out much of test chamber 09 2024-01-02 21:36:53 -07:00
James Lambert dba8b5d415 Build out static content for test chamber 09 2024-01-01 21:49:21 -07:00
James Lambert 0f4877553c Start on test chamber 09 2023-12-30 21:50:15 -07:00
James Lambert ee42238411 Work on test chamber 08 2023-12-29 21:48:16 -07:00
Alan Jaouen 653dc3e77c
fix french translation 2023-12-30 01:42:02 +01:00
James Lambert e01fa284b7 First draft of test chamber 13 2023-12-28 21:32:03 -07:00
James Lambert a7261cf132 Build out static content for test_chamber_08 2023-12-28 21:32:03 -07:00
VanGorkum 03a6395dce Introduced Portal UI look from Switch version 2023-12-26 16:48:09 +01:00
Mateus Silva Freitas 93aa8bea04
Brazilian translations Fix
Fix of brazilian translation
2023-12-20 13:31:03 -03:00
James Lambert 7fbfcc72ff Simplify autoportal frame model 2023-12-16 10:20:39 -07:00
James Lambert 2fd1c8efbf Put camera arm on correct side 2023-12-12 20:35:43 -07:00
James Lambert eae2f6d3b1 Show 01:59:50:00 on the clock in the main menu 2023-12-10 21:00:28 -07:00
James Lambert ee079e95ae Fix texture wrapping issue on portal main menu 2023-12-10 20:43:08 -07:00
James Lambert b4d4a16a70 Have default main menu camera pose be at the beginning of the animation 2023-12-10 20:19:01 -07:00
James Lambert 5775f8abcd prevent portals from being placed under button in test chanmber 04 2023-12-06 20:04:20 -07:00
Joseph a87a1e3148
Edited test_chamber_06_10
Made the chamber look more like og game.
2023-12-06 11:16:57 -05:00
James Lambert e79b2994d2 Small adjustments and polish
cut up light bridge to better z sort
2023-12-04 22:13:51 -07:00
James Lambert d29477c844 Fix some issues with test_chamber_01 2023-12-04 20:30:50 -07:00
James Lambert 7214c7c845 Add wide ledge for vertical portals to be able to stand hanging out of portal 2023-12-01 20:27:54 -07:00
James Lambert 0c7ec9a3cd Remove duplicate ceiling geometry 2023-11-26 20:14:58 -07:00
James Lambert 9c933eec9b Remove unused material 2023-11-25 20:40:27 -07:00
James Lambert 6da0f30719 Implement signage power on cutscene triggers 2023-11-25 15:34:48 -07:00
James Lambert 20e9beaa0f Implement triple sign state 2023-11-24 21:54:27 -07:00
James Lambert b8304fc8f4 Cleanup texture bleeding in signage 2023-11-24 20:37:17 -07:00
James Lambert 792c02c565 fixup the clock a bit 2023-11-24 20:09:07 -07:00
James Lambert 189133c1fe Finish up credits screen 2023-11-22 15:38:02 -07:00
James Lambert b275813dcd Use liberation mono for credits font 2023-11-22 09:48:09 -07:00
James Lambert 403e0d1bb9 Some more portal gun polish 2023-11-21 18:29:47 -07:00
James Lambert 3a1ddebb26 Add more portal gun animations 2023-11-21 18:12:54 -07:00
Johanna Laitila 566ca400f5
Better Finnish translations 2023-11-21 23:43:51 +02:00
IlDucci 949a3cb030 Minor tweaks to Spanish translations. 2023-11-21 15:30:48 +01:00
James Lambert 6ee43840d2 Add portal gun firing animation 2023-11-20 21:55:09 -07:00
James Lambert 67d99e1bd3 Start work for animating portal gun 2023-11-20 21:55:09 -07:00
Dawid Osowski 58ce50d667
Update extra_polish.txt
Update polish translation
2023-11-20 15:20:16 +01:00
lambertjamesd 43ff39f31e
Merge pull request #451 from nest-aka-swan/patch-1
Update russian extra translation
2023-11-19 08:10:38 -07:00
lambertjamesd d54dcc86ee
Merge pull request #446 from hackgrid/extra-german-only-2
update german extra translation based on official valve/steam translation
2023-11-19 08:10:25 -07:00
lambertjamesd 582d9c33d5
Merge pull request #445 from iWhacko/iWhacko-patch-1
Update extra_dutch.txt
2023-11-19 08:10:02 -07:00
Nikita Lebedev f359ee296f
fix Valve_Look_Straight_Back similar to valve_russian.txt 2023-11-19 14:23:44 +01:00
Nikita Lebedev bec5453c30
Update russian extra translation 2023-11-19 13:53:15 +01:00
hackgrid bf83eb1697
german extra translation based on official valve/steam translation 2023-11-19 00:48:45 +01:00
libas 59e45f6a4c
Fixing Hungarian translations 2023-11-18 22:33:35 +01:00
Magnus K 08fc0644a5
minor improvements 2023-11-18 20:16:43 +01:00
James Lambert b1e606ce3a Add portal indicators to portal gun 2023-11-17 22:35:47 -07:00
lambertjamesd fba8e29cf7
Merge pull request #440 from Aploide/patch-1
Fixed extra_italian.txt
2023-11-17 20:22:48 -07:00
Aploide Project d2da5313e5
Fixed extra_italian.txt
I changed a text and controlled everything (I am italian and the rest is correct)
2023-11-18 02:40:56 +01:00
Tomo 0c568ba3e7 Fixing scandinavian/dutch translations - based on my own fluency and research on proper technical terms, like 'deadzone' which has established names 2023-11-17 19:52:08 +01:00
lambertjamesd 25f427c49e
Merge pull request #433 from westonCoder/italian-fixes
Fixes Italian Extra File
2023-11-17 08:04:01 -07:00
iWhacko 5629f40c50
Update extra_dutch.txt
Updated dutch translation to be more natural.
2023-11-17 12:06:23 +01:00
westonCoder e399b39345 Fixes Italian Extra File
Fixes #431

Lets wait to hear back if there are any other changes needed from kirby before merging PR.
2023-11-16 23:50:41 -06:00
zyapguy f4236d5f46 actual turkish translations
these are actual turkish translations from a native turkish speaker
2023-11-17 04:44:54 +00:00
James Lambert 4e06800cff Make some visual improvments on the portal gun 2023-11-15 21:39:20 -07:00
James Lambert 8b216e751b round portals a little more 2023-11-13 20:38:57 -07:00
hackgrid 97469b3610 add new extra "GameUI_Joystick_N64" 2023-11-13 11:01:57 +01:00
James Lambert 803d30baba Rebuild font to include missing characters 2023-11-12 21:58:13 -07:00
James Lambert 58f851d3d4 Add bad google translate placeholder translations 2023-11-12 21:35:02 -07:00
hackgrid ec9fceac61 fix english extra 2023-11-13 00:19:07 +01:00
hackgrid b1a03c4512
Merge branch 'master' into translate-hints 2023-11-13 00:18:19 +01:00
hackgrid 20edeb43fe update extra translation to UTF-8 2023-11-13 00:17:14 +01:00
James Lambert c60b29c23d Encode extra subtitles as utf-8 2023-11-12 15:46:04 -07:00
James Lambert 1737e0b80c Add hint text 2023-11-12 15:44:06 -07:00
James Lambert 9746923bb5 Put back extra english content 2023-11-12 15:43:31 -07:00
hackgrid 825046eb39
Merge branch 'master' into extra-german-only 2023-11-12 23:18:04 +01:00
James Lambert 0c678d15c0 Fix issue where menu changes when binding controls 2023-11-12 15:12:13 -07:00
hackgrid 4bba719a16 add german extra translation 2023-11-12 19:26:43 +01:00
hackgrid c6a8569035
add move hint to extra 2023-11-12 18:39:49 +01:00
hackgrid cf92e39252
Update extra_english.txt 2023-11-12 17:21:03 +01:00
James Lambert 5d29af1321 Get gamepad menu ready for translations 2023-11-11 15:35:13 -07:00
James Lambert 8c1e7d535c Remove duplicate settings
relayout audio options
add translations support for gameplay options
2023-11-11 14:42:53 -07:00
James Lambert dd05a3897e build out video options tab 2023-11-11 14:08:19 -07:00
James Lambert 9d07965582 translate controls menu 2023-11-09 21:42:50 -07:00
James Lambert 1b3c1c9aa4 Translate most of the option tabs 2023-11-06 22:02:38 -07:00
James Lambert eeb0bf572d Fix some audio settings text problems 2023-11-05 20:46:28 -07:00
James Lambert 00bdc90861 Finish up audio options using the menu builder 2023-11-05 08:48:58 -07:00
James Lambert bab60422bf Add some translations to the audio menu 2023-11-03 22:15:01 -06:00
James Lambert c1e47eda0e jump animation 2023-11-02 18:13:55 -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
lambertjamesd 92056d5e4f
Merge pull request #384 from westonCoder/add-ambient-sound
Fix Save Load Current Sound Problem
2023-10-27 08:25:59 -06:00
westonCoder 282a4befce Fix Save Load Current Sound Problem
Fixes #382

- to alleviate the above issue I saved the current sound from each channel in the cutscene runner and serialize r/w appropriately.
- also made a new channel for Ambient Sounds called CH_AMBIENT. there are now 3 total channels CH_GLADOS, CH_MUSIC, and CH_AMBIENT

the only issue that is remaining is because we are relying on cutscene runner to que up the ambient sounds, the ambient sounds dont start until a cutscene starts on a level. this could be alleviated by making a trigger in the starting elevator of each level that simply triggers the ambient sound to play.
2023-10-26 21:47:31 -05:00
James Lambert 7e5a9ff495 Triangulate static vertices 2023-10-26 19:18:06 -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 996de635b6 Fix weird portal surface glitch when portal is moved 2023-10-25 21:56:32 -06:00
westonCoder ef1ea9f04c Added music to appropriate levels
- added 3 new songs and triggered them at appropriate moments according to the wiki
- made a new CH_MUSIC channel for music
- adjusted music volume to be initialized at 50% which seems like the right volume to match the original game.
- tested the entire game to make sure its all working properly.
2023-10-25 14:17:53 -05:00
James Lambert 288407ca02 fix countdown clocks
implement cutscene rumble support
2023-10-23 21:50:23 -06:00
James Lambert 7a5267195d animate ball from pedestal
add camera shake and rumble when auto portals open
2023-10-21 21:35:50 -06:00
James Lambert e1a5a2c852 Get metal reflection effect working 2023-10-20 21:38:11 -06:00
James Lambert e0d0b7d0ea Add valve intro 2023-10-19 22:52:58 -06:00
James Lambert 721dc3b44d Fix problem where it is hard for player to walk onto button 2023-10-18 20:36:44 -06:00
westonCoder 5218d30ed1 adjust to be a delay to match up with end of sound 2023-10-16 16:04:57 -05:00
westonCoder a578dcf5de added a wait for glados channel before portal 2023-10-16 13:05:48 -05:00
westonCoder fcc7784288 fixed glados voiceline pause in chamber 04 2023-10-16 11:33:37 -05:00
James Lambert e82418ca65 Add decor objects to observation in test chamber 07 2023-10-14 21:25:22 -06:00
James Lambert df276a563c Add observation decor to test chamber 06 2023-10-14 21:08:36 -06:00
James Lambert 4698987fd6 Add some details to test chamber 05 2023-10-14 19:38:05 -06:00
James Lambert ea5665af0f observation room decor test chamber 04 2023-10-14 15:41:10 -06:00
James Lambert 8a5cca8e60 More room decor 2023-10-14 15:22:54 -06:00
James Lambert 738f3c73fa Add observation room decor to test chamber 02 2023-10-13 19:27:01 -06:00
James Lambert 4e79c243b9 Add observation room decor to test chamber 01 2023-10-13 16:37:59 -06:00
James Lambert a66e5fa223 Add more decor to test chamber 00 2023-10-12 19:33:45 -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 49f24a6359 added all punctuation characters to font, fully tested in game. 2023-10-10 15:11:08 -05: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
lambertjamesd 8b539390b6
Merge pull request #263 from westonCoder/real-subtitles-addition
Added Subtitles to Game
2023-10-07 19:16:57 -06:00
James Lambert 6035b8e6f9 Add moving platform sounds 2023-10-07 18:48:21 -06:00
James Lambert 5526034235 Work on piston moving sound effects 2023-10-06 22:12:02 -06:00
westonCoder fa62ea3106 Added Subtitles to Game
- added subtitles and all required functions to get them up and running. Subtitles accross all main game dialogue is running now.
- subtitleID's are included as metadata now when a q_sound line is put in a map's .yaml file
- Also added in a toggle button to turn them on or off.

there are only 3 downsides to my method here.
- subtitles must be manually added to their array when new dialogue is added. I included all the english subtitles in a .txt inside of assets folder.
- no punctuation/symbols. once the font is updated though this should be resolved.
- font size is a bit big, however if the font is ever updated to have a size modifier in the future this would be a snap to change.

attached video of it working.
Fixes #262
2023-10-06 16:08:49 -05:00
James Lambert 6f68f5057d Start work on platform moving sounds 2023-10-05 21:18:20 -06:00
James Lambert d08cbbb0b8 Improve appearance of light rail endcaps 2023-10-04 21:47:21 -06:00
James Lambert dd54ac6aea Add trigger to prompt switch usage 2023-09-30 18:02:35 -06:00
James Lambert f8ca236f1b Allow cube triggers to control if held cubes still trigger 2023-09-30 17:53:48 -06:00
James Lambert 4bc26ef00c Work on action prompts 2023-09-30 16:42:31 -06:00
James Lambert 2641d98eeb Fix floor in test chamber 02 around pedestal 2023-09-28 22:09:24 -06:00
James Lambert 81d446a80e Polish up ball launcher 2023-09-28 18:04:36 -06:00
James Lambert 6344908bd8 Fix portal gun elevator teleportation bug
fix some broken walls in test chamber 07
2023-09-26 18:53:33 -06:00
James Lambert 7b898c1bbd Fix issue with a ceiling surface 2023-09-21 20:31:46 -06:00
James Lambert bddedca707 Fix player collider to be a capsule 2023-09-19 19:22:24 -06:00
James Lambert 55fa62c57e Finish up portal trail effect 2023-09-18 21:08:52 -06:00
James Lambert 65eebe53d3 Work on portal ball trail 2023-09-17 22:35:38 -06:00
James Lambert a391432c72 Work on portal projectile effect 2023-09-15 22:08:32 -06:00
James Lambert 5582be9a3b Make fizzler look better
implement particle effects for exploding balls
2023-09-13 22:05:27 -06:00
James Lambert 6a48f7e405 Polish up fail portal splash particle effect 2023-09-13 20:46:01 -06:00
James Lambert 5aba1b3e77 Implemented very broken portal particle effect
Fixed portal hud indicator
2023-09-12 22:21:52 -06:00
James Lambert cfb98555c5 Make progress on particle effects 2023-09-12 21:43:55 -06:00
James Lambert 7a469245ef Fix broken trigger in test chamber 11 2023-09-06 20:53:24 -06:00
James Lambert 801583dd07 Fix test chamber 05 2023-09-06 19:55:59 -06:00
James Lambert 2a643c5a73 Remove accidental double door 2023-09-05 22:04:51 -06:00
James Lambert de7a728c45 Add signage and indicator lights to another test chamber 2023-09-05 21:55:58 -06:00
James Lambert c3b06dbec7 Add signage and indicator lights to test chambers 2023-09-05 21:17:14 -06:00
westonCoder b958cddb59 Made README More Inviting
- added a slideshow gif of some in game images
- added some details about what the project is, and the major accomplishments
- added some hyperlinks to various pages for easy access

Fixes #229
2023-09-05 14:07:24 -05:00
James Lambert 6a603395ab Add indicator lights for signals 2023-09-04 20:39:42 -06:00
James Lambert 1839294448 Create material for indicator_lights 2023-09-03 22:15:59 -06:00
James Lambert 298dab67f6 Implement test chamber 05 failsafe 2023-09-03 15:13:40 -06:00
James Lambert f0be2b4048 Refactor triggers to be triggable by things other than the player 2023-09-02 22:13:49 -06:00
James Lambert 6395378285 Generate cutscene yaml and operators yaml 2023-09-02 17:59:01 -06:00
James Lambert ec52a15372 Fix portal gun z issues 2023-09-01 22:01:14 -06:00
James Lambert e3a033545f give chell a portal gun 2023-08-31 21:49:18 -06:00
James Lambert c56db8c2e9 Finish up some level polish 2023-08-24 22:12:40 -06:00
James Lambert 009f99bae5 touch up details in test chamber 06 2023-08-24 22:03:15 -06:00
James Lambert 3007b98fbf touch up another test chamber 2023-08-24 21:57:59 -06:00
James Lambert 328848c355 More test chamber touch up 2023-08-24 21:48:58 -06:00
James Lambert c178e98286 touch up test chamber 03 2023-08-24 21:44:33 -06:00
James Lambert d8cf4c5bdf More touch up 2023-08-24 21:24:48 -06:00