by m8f » Wed Jan 22, 2020 9:26 pm
I believe this is already doable with ZScript access to getting/setting textures:
https://github.com/coelckers/gzdoom/blo ... ata.zs#L72
One would iterate over Sides in Level, check if a texture id corresponds to a texture that one wants to be randomized, and sometimes replace it with other variant.
Actually, I would love to see this in action. Code should be simple enough, the main problem here is assets, somebody has to draw them.
I believe this is already doable with ZScript access to getting/setting textures: https://github.com/coelckers/gzdoom/blob/729ff8fa8fb56b9e1c3b99587a481c73b49cd221/wadsrc/static/zscript/mapdata.zs#L72
One would iterate over Sides in Level, check if a texture id corresponds to a texture that one wants to be randomized, and sometimes replace it with other variant.
Actually, I would love to see this in action. Code should be simple enough, the main problem here is assets, somebody has to draw them.