Page 1 of 1
Bug? textures from CEGs in maps do not work anymore in 84.0
Posted: 02 Dec 2011, 15:22
by knorke
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?
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
Posted: 02 Dec 2011, 17:17
by Kloot
resources_map.lua wrote:
Code: Select all
local resources = {
projectiletextures = {
map_smoke = "map_smoke.tga",
map_foam = "foam.tga",
},
}
You want:
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
Posted: 02 Dec 2011, 17:30
by knorke
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(?)
Re: Bug? textures from CEGs in maps do not work anymore in 84.0
Posted: 02 Dec 2011, 18:02
by smoth
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
Posted: 02 Dec 2011, 18:07
by FLOZi
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
Posted: 02 Dec 2011, 18:36
by smoth
Cool, good to know, thanks for the find knorke.