Noticed when trying to include cegs with my map that the textures for them do not get loaded, despite a resources_map.lua
It also happens on other maps eg gunmetal v10:
http://springfiles.com/spring/spring-ma ... tal-harbor
Did something change on how texture files should be included or is it a bug?
Bug? textures from CEGs in maps do not work anymore in 84.0
Moderator: Moderators
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
You want:resources_map.lua wrote:Code: Select all
local resources = { projectiletextures = { map_smoke = "map_smoke.tga", map_foam = "foam.tga", }, }
Code: Select all
local resources = {
graphics = {
projectiletextures = {
map_smoke = "map_smoke.tga",
map_foam = "foam.tga",
},
},
}
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
So that changed?
Thanks, will try it.
/edit: works
/edit
Just noticed games always have the graphics = { and just some maps not. So it was probally "luck" that it worked before(?)
Thanks, will try it.
/edit: works
/edit
Just noticed games always have the graphics = { and just some maps not. So it was probally "luck" that it worked before(?)
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
I have no idea, I am entirely bewildered by the change
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
There was a discrepancy between the format of resources.lua (for games) and resources_map.lua (for maps), which has now been corrected.
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
Cool, good to know, thanks for the find knorke.