Commit graph

124 commits

Author SHA1 Message Date
Matt Penny ddac6daeff CMake: prevent double work when using parallel make 2024-10-09 22:49:02 -04:00
Matt Penny 6c625e39e6 CMake: link generated code 2024-10-08 00:25:30 -04:00
Matt Penny 9643719a31 Fix incorrect variable name for Python executable in CMake build 2024-10-05 02:04:39 -04:00
Matt Penny e1e6a53aa6 Convert models during CMake build
No generation of dynamic model lists yet
2024-10-05 01:54:55 -04:00
Matt Penny a652558a4c Remove unused material door_frame_01 2024-10-04 23:47:41 -04:00
Matt Penny 6a14db3a16 Start to hook up code generation with CMake builds
Automatically generate material, sound, and level data.

Generated code is not currently linked.
2024-09-26 23:06:10 -04:00
Matt Penny fa0940fe90 Work on CMake conversion: test chambers
Incidental changes along the way:
* Move `export_level.lua` to `tools/level_scripts/`
* Small reorganizations/fixes to existing `CMakeLists.txt` files
* Support passing absolute paths to level export
2024-09-13 00:53:55 -04:00
Matt Penny dea0c3591d Work on CMake conversion: sound transformation, conversion, and table generation
Some parts need to be cleaned up/removed/streamlined after the CMake
build can build the game on its own and compatibility with what the
old makefile does is no longer needed.
2024-09-12 02:17:28 -04:00
Matt Penny ad66fb116c Store generated Valve image in portal_pak_modified/, not build/
To better organize generated files, portal_pak_modified/ will be used
for files generated by modifying portal_pak_dir/ contents.

Build/ will be for conversion to a final form needed for compilation,
without content modification.
2024-09-11 20:13:57 -04:00
Matt Penny 0d2cd6efe0 Work on CMake conversion: sound transformation 2024-09-09 23:34:16 -04:00
Matt Penny 2fcea7f9d2 Work on CMake conversion: material generation 2024-09-07 20:00:45 -04:00
Matt Penny 2f1171fccf Stitch together clock digits in .ims file, not makefile
Simplifies asset conversion for CMake transition
2024-09-06 01:26:08 -04:00
Matt Penny 12f1332d9d Copy awe_total via .ims file, not makefile
Simplifies asset conversion for CMake transition
2024-09-06 01:26:08 -04:00
Matt Penny da028cd405 Update credits with link to current repo 2024-08-20 19:59:36 -04:00
Matt Penny 906afdd792 Enable vertex colors for metal_modular_floor_001 and plasticwall003a 2024-08-04 09:28:16 -04:00
Matt Penny 1e8275eec3
Chamber 15 - first pass (#39) (#69)
* started on chamber 15

* fizzler width can now be scaled via blender object's scale.x

* fix fizzler rendering radius (remember, fizzlers are per default 2x2, still their internal width height was 1x1?)

* chamber 15 first room functionally complete

* chamber 15: first room decor

* finished first room of chamber 15

* test chamber 15 second room WIP

* chamber15 hallway from room 2 to room 3 (WIP) and more progress on room 2

* test chamber 15: added observation room to room2, added voice lines add the beginning

* test chamber 15: finishing room 2

* enable "new game" menu entry for chamber 15 & boot into the intro menu again instead of straight into chamber 15

* Start on shamber 15 hazard hallway

Hallway is modeled with collision. No platforms.

* Decals and platform + light cutouts for chamber 15 hazard hallway

* Animate one moving platform in chamber 15 hazard hallway

This one animation is ~19 KB. Look at optimizing.

* Add material for water hazard wall

* Use water hazard wall material in chamber 15

* Start modelling final room of chamber 15

* Chamber 15 final room - side rooms

* Chamber 15 final room - pistons and exit

* Chamber 15 final room - observation room

* Chamber 15 final room - ball launcher and catcher

* Chamber 15 final room - ball trap and indicator lights

* Chamber 15 final room - ball trap doors

* Chamber 15 final room - collision

* Chamber 15 final room - animations and triggers

* Chamber 15 - escape hatch

* Chamber 15 - finish final room

* Chamber 15 - start on room 3

* Chamber 15 - main room 3 layout and collision

* Fix UV translation

Do not translate minimum coordinates, otherwise the translation will be
cancelled out.

* Chamber 15 - room 3 stair room

* Chamber 15 - room 3 dividers and ball launcher/catcher

* Chamber 15 - room 3 finishing touches

* Observation room decor
* Triggers
* Indicator lights
* Decals

* Chamber 15 - merge beginning and end

* Chamber 15 - fix room boundaries

---------

Co-authored-by: Deconimus <pascal.sielski@gmx.de>
Co-authored-by: Deconimus <Deconimus@users.noreply.github.com>
2024-05-28 01:53:02 -04:00
Matt Penny 1f2258f86c Add plastic/plasticwall004a material 2024-05-08 21:20:36 -04:00
Matt Penny 3270d0a9ad Add material for Aperture decal 2024-05-08 21:13:58 -04:00
Matt Penny 685f818114 Add material for water hazard wall 2024-04-11 19:55:34 -04:00
Matt Penny 5603a1a23f Add material for transparent portal surfaces 2024-03-27 23:37:22 -04:00
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
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 ee42238411 Work on test chamber 08 2023-12-29 21:48:16 -07:00
VanGorkum 03a6395dce Introduced Portal UI look from Switch version 2023-12-26 16:48:09 +01:00
James Lambert ee079e95ae Fix texture wrapping issue on portal main menu 2023-12-10 20:43:08 -07:00
James Lambert 9c933eec9b Remove unused material 2023-11-25 20:40:27 -07:00
James Lambert 20e9beaa0f Implement triple sign state 2023-11-24 21:54:27 -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 67d99e1bd3 Start work for animating portal gun 2023-11-20 21:55:09 -07:00
James Lambert b1e606ce3a Add portal indicators to portal gun 2023-11-17 22:35:47 -07:00
James Lambert 4e06800cff Make some visual improvments on the portal gun 2023-11-15 21:39:20 -07:00
James Lambert 3bfe6f4a76 Add support for fonts with more than 256 chracters 2023-10-28 12:31:30 -06:00
James Lambert 996de635b6 Fix weird portal surface glitch when portal is moved 2023-10-25 21:56:32 -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 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
James Lambert d08cbbb0b8 Improve appearance of light rail endcaps 2023-10-04 21:47:21 -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