luttje / gmod-experiment-redux

'Experiment' is an FPS RPG for the Helix framework in Garry's Mod.
https://experiment.games/
MIT License
5 stars 0 forks source link

SpawnIcons should always try to re-render if they were rendered as an error model before #87

Open luttje opened 4 months ago

luttje commented 4 months ago

SpawnIcons should always try to re-render if they were rendered as an error model last time.

After restarting Garry's Mod in #85 the content worked, but rendered Spawn Icons (such as those of the character models in character creation) were ERROR (since they were rendered when there were errors).

If we can: check if the rendered model is the error model, if it is, re-render it.

luttje commented 1 month ago

Somewhat related Experiment SourceMod progress. After copying in the GMod Lua, most bindings needed for the sandbox gamemode work. Functionally this means we can see what we can spawn + spawn things. Additionally spawnicons can be (re-)rendered at will (or automatically when they dont exist yet). They're written to .png files in the materials folder.

https://github.com/user-attachments/assets/69c31491-67f5-4e7c-9746-e3a865b11805

luttje commented 1 month ago

Unrelated video of the Source Mod mounting game content

https://github.com/user-attachments/assets/5a54d028-1624-41ed-941c-37f33e9f740e