clipmove / NotBlood

Gameplay Mod For NBlood
https://github.com/clipmove/NotBlood/releases
64 stars 4 forks source link

[Modding] Issue with 3D Models glow property in DEF files #56

Closed MexMeRcUrY closed 1 year ago

MexMeRcUrY commented 1 year ago

the GLOW property mess up what I believe is the interpolation (view) code. Does not happen in Nblood. and you can replicate it if you put glow in any 3D Model in the DEF file. when the model that contains the glow is rendered (first time seen) in the map, all the rest of the 3DModels act crazy and move as you move the mouse and also other pickups (not models) get the texture of the glow texture defined , see red pickups sprites/voxels flying in screen shot vodoo-doll tesla-cannon, tommy gun... // --------------------- NapalmGUN ------------------------ model "models/pickups/526_NapalmLauncher.md3" { scale 9 shade 0 zadd 2 skin { pal 0 file "models/pickups/526_NapalmLauncherUV.png" } glow { file "models/pickups/526_NapalmLauncherUVGlow.png" } frame { name "none00" tile 526 } }

screenshot 2 screenshot1

What is causing the misplaced/Flying 3D models is having Polymost setup -> Y-Shearing OFF image

tmyqlfpir commented 1 year ago

Without files to test with I cannot debug this issue, sorry.

MexMeRcUrY commented 1 year ago

@tmyqlfpir put this .zip in your autoload folder and look for any TNT box in a map: https://drive.google.com/file/d/1EssBREI3wn4JPQyECUC9XJZgfjNTOP9Y/view?usp=sharing

tmyqlfpir commented 1 year ago

This happens with NBlood, and should be reported upstream as it suggests some undefined behavior. Here are the settings I used along with the autoload folder.

nblood.zip

MexMeRcUrY commented 1 year ago

The issue was introduced with some engine changes, I was able to find the root cause: leaving the reference here in case you would like to help fix it :) https://github.com/nukeykt/NBlood/issues/746