eukara / freecs

Clean-room Counter-Strike 1.5 in QuakeC, using Nuclide SDK. Previously known as OpenCS! (2016)
https://www.frag-net.com/projects.html
ISC License
183 stars 16 forks source link

Incorrect rtlights spawn #10

Open Unargent opened 1 year ago

Unargent commented 1 year ago

Rtlights are not spawning correctly in Goldsrc games. Example on map as_oilrig:

https://user-images.githubusercontent.com/106993968/194550236-34051a87-db84-4bbe-98d5-de06e06f3b9f.mp4

If you load the map into Quake, then the spawn will be normal:

https://user-images.githubusercontent.com/106993968/194550404-b1ce914d-39b4-46c3-a6b9-fb294afe1387.mp4

If you export the rtlights file from Quake to Freecs, then the location of the lights will be correct, but the collision itself will not be in the right place.

https://user-images.githubusercontent.com/106993968/194552210-53590738-e1d4-42bb-bbd0-d4e4854cbd67.mp4

Tested on: Commits: https://github.com/eukara/freecs/commit/e744c22f40992acdab75b299e7c2140bd4da5468 https://github.com/eukara/freehl/commit/f61c7af7852871785db68c56a4e01909392d835e https://github.com/VeraVisions/nuclide/commit/45d58a874245b3987a1bba4dd07587bdfcc1c214 OS: Debian 12 Alpha 1 Backend: SDL2 Render type: OpenGL Data files: Shareware (from the script)