seems it has to do with that the file is in a subfolder.
ent_create("data/smoke1.dds",tempVec,smoke); does not work
when i move the file to the main folder ent_create("smoke1.dds",tempVec,smoke); works.
however using BMAP* smoke1 = "data/smoke1.dds"; works for effects
www.earthcontrol.de quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
I'm sure that I've told many times on this forum that subfolders should not be used in file names. The path system should be used instead.
In this case I think the DirectX texture_for_file function used by ent_create won't work with subfolders. The BMAP definition however loads the file by an engine function and that might by chance work with subfolders, although of course it might cease to work with any engine update.
but PATH "data"; gives me an "undeclared identifier"-message
www.earthcontrol.de quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
You're right, if at all it should be at least in correct syntax with double backslash. Paths in file names are allowed for media files that can't use the path system.