oil wells textures don't match the texture.png

Discuss the future of Warzone 2100 with us.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

oil wells textures don't match the texture.png

Post by Berg »

I was wondering if some one could find out where the texture position on page 11 png actually are as it does not match the model.
It may be that some time in the past the pie file was changed for the derrick and now the textures don't match.
Or would someone make a new texture page with the parts of the textures marked out so that I can make new textures for the derrick.
The pie file calls for texture page-11-player-buildings.png
You do not have the required permissions to view the files attached to this post.
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: oil wells textures don't match the texture.png

Post by Safety0ff »

Page 16 - bottom left, and center (atleast that's what it is for trunk...)
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

I got the pie file open in pieslicer and if you select a polygon where it shows up on the texture page (is/are) parts of other structures and it dose not match the shape of the oil derrick.
The only part that does match are the team colours polygone.
The pie files calls for page-11-player-buildings.png...!
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

I have mapped out the texture for the oil derricks on a new texture page but I cant get the game to load it as I have a new page number here is what i have but I cant work out what to do, I have made a note on where I changed this file but it is not in my actual file (the Note)

Code: Select all

Frontend.wrf
/***********************************************************/
/*  You may have to modify this file for it to be correct! */ 
/*******************       WRF\frontend.wrf      *******************/


directory	"images"
file		IMGPAGE	"frontend0.png"
file		IMGPAGE	"frontend1.png"
file		IMGPAGE	"frontend2.png"
file		IMGPAGE	"frontend3.png"
file		IMGPAGE	"frontend4.png"
file		IMGPAGE	"intfac0.png"
file		IMGPAGE	"intfac1.png"
file		IMGPAGE	"intfac2.png"
file		IMGPAGE	"intfac3.png"
file		IMGPAGE	"intfac4.png"
file		IMGPAGE	"intfac5.png"
file		IMG	"intfac.img"
file		IMG	"frontend.img"
directory	"texpages"
file		TEXPAGE	"page-6-features-arizona.png"
file		TEXPAGE	"page-7-barbarians-arizona.png"
file		TEXPAGE	"page-8-player-buildings-bases.png"
file		TEXPAGE	"page-9-player-buildings-bases.png"
file		TEXPAGE	"page-10-laboratories.png"
file		TEXPAGE	"page-11-player-buildings.png"
file		TEXPAGE	"page-12-player-buildings.png"
file		TEXPAGE	"page-13-player-buildings.png"
file		TEXPAGE	"page-14-droid-hubs.png"
file		TEXPAGE	"page-15-droid-hubs.png"
file		TEXPAGE	"page-16-droid-drives.png"
file		TEXPAGE	"page-17-droid-weapons.png"
file		TEXPAGE	"page-18-fx.png"
file		TEXPAGE	"page-19-fx.png"
file		TEXPAGE	"page-20-fx.png"
file		TEXPAGE	"page-21-fx.png"
file		TEXPAGE	"page-22-fx.png"
file		TEXPAGE	"page-23-fx.png"
file		TEXPAGE	"page-24-fx.png"
file		TEXPAGE	"page-45-oilderrick.png" /#this is my new entry this text is not in the actual file/
directory	"audio/sfx/interfce"
file		WAV	"beep1.ogg"
file		WAV	"beep2.ogg"
file		WAV	"beep4.ogg"
file		WAV	"beep5.ogg"
file		WAV	"beep6.ogg"
file		WAV	"beep7.ogg"
file		WAV	"beep8.ogg"
file		WAV	"beep9.ogg"
file		WAV	"gmeshtdn.ogg"
directory	"audio"
file		AUDIOCFG	"frontaud.cfg"
directory	"messages/strings"
file		STR_RES	"names.txt"
Then i have the pie file

Code: Select all

PIE 2
TYPE 220
TEXTURE 0 page-45-oilderrick.png 256 256
LEVELS 3
LEVEL 1
POINTS 54
	-52 7 -21
	51 7 -21
	51 7 22
	-52 7 22
	-52 0 -21
	51 0 -21
	51 0 22
	-52 0 22
	-15 30 -6
	43 30 -6
	43 30 7
	-15 30 7
	-20 7 -8
	48 7 -8
	48 7 9
	-20 7 9
	-57 0 -39
	57 0 -39
	57 26 -39
	-57 26 -39
	57 0 39
	57 26 39
	-57 0 39
	-57 26 39
	-42 7 -18
	-45 8 -18
	17 82 -4
	17 77 -4
	-45 8 -20
	17 82 -9
	-42 7 20
	-45 8 20
	17 82 12
	17 77 12
	-42 7 18
	17 77 7
	17 82 7
	-45 8 18
	-24 71 -1
	-27 71 -1
	-27 5 -1
	-24 5 -1
	-24 71 1
	-24 5 1
	-27 71 1
	-27 5 1
	22 8 -20
	22 80 -8
	17 80 -8
	17 7 -20
	22 80 9
	17 80 9
	22 8 21
	17 8 21

POLYGONS 28
	200 4 3 2 1 0 110 174 3 174 3 236 110 236 
	200 4 0 1 5 4 212 195 109 195 109 188 212 188 
	200 4 1 2 6 5 158 195 115 195 115 188 158 188 
	200 4 2 3 7 6 109 195 212 195 212 188 109 188 
	200 4 3 0 4 7 115 195 158 195 158 188 115 188 
	200 4 11 10 9 8 173 201 115 201 115 214 173 214 
	200 4 8 9 13 12 173 238 115 238 110 215 178 215 
	200 4 9 10 14 13 182 238 169 238 168 215 185 215 
	200 4 10 11 15 14 115 238 173 238 178 215 110 215 
	200 4 11 8 12 15 170 238 183 238 185 215 168 215 
	2A00 4 19 18 17 16 211 180 111 180 111 153 211 153 
	2A00 4 18 21 20 17 161 180 111 180 111 153 161 153 
	2A00 4 21 23 22 20 111 180 211 180 211 153 111 153 
	2A00 4 23 19 16 22 111 180 161 180 161 153 111 153 
	200 4 27 26 25 24 2 0 2 4 158 4 158 0 
	200 4 29 28 25 26 2 4 158 4 158 0 2 0 
	200 4 33 32 31 30 157 0 158 4 2 4 2 0 
	200 4 37 36 35 34 158 4 2 4 2 0 158 0 
	200 4 36 37 31 32 2 4 158 4 158 0 2 0 
	200 4 43 41 38 42 5 8 5 4 100 4 100 8 
	200 4 41 40 39 38 100 4 100 8 5 8 5 4 
	200 4 45 43 42 44 99 4 100 8 4 8 5 3 
	200 4 40 45 44 39 100 8 100 4 5 4 5 8 
	200 4 49 48 47 46 4 8 124 8 124 20 4 20 
	200 4 48 51 50 47 119 20 83 20 83 8 119 8 
	200 4 51 53 52 50 125 20 3 20 3 8 125 8 
	200 4 46 47 50 52 130 5 255 5 255 38 130 38 
	200 4 51 48 49 53 255 5 255 38 130 38 130 5 

LEVEL 2
POINTS 8
	-26 73 -5
	-20 73 0
	-26 73 5
	-32 73 0
	-26 22 -5
	-20 22 0
	-26 22 5
	-32 22 0

POLYGONS 5
	200 4 3 2 1 0 127 37 127 23 113 23 113 37 
	200 4 0 1 5 4 106 37 12 37 12 23 106 23 
	200 4 1 2 6 5 107 52 13 52 13 38 107 38 
	200 4 2 3 7 6 12 23 12 37 106 37 106 23 
	200 4 3 0 4 7 13 52 13 38 107 37 107 52 

LEVEL 3
POINTS 26
	12 80 7
	8 98 7
	26 103 7
	31 85 7
	12 80 -6
	31 85 -6
	26 103 -6
	8 98 -6
	-59 66 2
	-61 75 2
	17 96 2
	19 88 2
	-59 66 -1
	19 88 -1
	17 96 -1
	-61 75 -1
	-60 95 3
	-67 90 3
	-67 90 -2
	-60 95 -2
	-68 64 3
	-68 64 -2
	-50 35 3
	-50 35 -2
	-44 39 3
	-44 39 -2

POLYGONS 16
	200 4 3 2 1 0 110 40 110 64 136 64 136 40 
	200 4 7 6 5 4 136 64 110 64 110 40 136 40 
	200 4 5 6 2 3 152 40 152 64 140 64 140 40 
	200 4 6 7 1 2 165 40 155 40 155 64 165 64 
	200 4 7 4 0 1 180 64 180 40 170 40 170 64 
	200 4 11 10 9 8 10 55 10 68 108 68 108 55 
	200 4 15 14 13 12 108 68 10 68 10 55 108 55 
	200 4 14 15 9 10 10 77 107 77 107 70 10 70 
	4200 4 19 18 17 16 8 1 31 11 31 252 30 247 30 247 31 252 
	4200 4 18 21 20 17 8 1 31 11 30 247 17 241 17 241 30 247 
	4200 4 21 23 22 20 8 1 31 11 17 241 0 244 0 244 17 241 
	4200 4 25 19 16 24 8 1 31 11 1 248 31 252 31 252 1 248 
	4200 4 22 24 16 20 8 1 31 11 0 244 1 248 31 252 17 241 
	4200 3 20 16 17 8 1 31 11 17 241 31 252 30 247 
	4200 4 19 25 23 21 8 1 31 11 31 252 1 248 0 244 17 241 
	4200 3 19 21 18 8 1 31 11 31 252 17 241 30 247 


this is the stderr.txt

Code: Select all

error   |09:38:01: [iV_GetTexture] *** texture page-45 not loaded! ***
error   |09:38:01: [iV_GetTexture] This error probably means you did not specify this texture to be preloaded in the appropriate wrf files before referencing it in some pie file
error   |09:38:01: [iV_GetTexture] Remember that patches override several standard wrf files as well
error   |09:38:01: [pie_PrintLoadedTextures] Available texture pages in memory (33 out of 128 max):
error   |09:38:01: [pie_PrintLoadedTextures] 00 : intfac0.png
error   |09:38:01: [pie_PrintLoadedTextures] 01 : intfac1.png
error   |09:38:01: [pie_PrintLoadedTextures] 02 : intfac2.png
error   |09:38:01: [pie_PrintLoadedTextures] 03 : intfac3.png
error   |09:38:01: [pie_PrintLoadedTextures] 04 : intfac4.png
error   |09:38:01: [pie_PrintLoadedTextures] 05 : intfac5.png
error   |09:38:01: [pie_PrintLoadedTextures] 06 : frontend0.png
error   |09:38:01: [pie_PrintLoadedTextures] 07 : frontend1.png
error   |09:38:01: [pie_PrintLoadedTextures] 08 : frontend2.png
error   |09:38:01: [pie_PrintLoadedTextures] 09 : frontend3.png
error   |09:38:01: [pie_PrintLoadedTextures] 10 : frontend4.png
error   |09:38:01: [pie_PrintLoadedTextures] 11 : page-6
error   |09:38:01: [pie_PrintLoadedTextures] 12 : page-7
error   |09:38:01: [pie_PrintLoadedTextures] 13 : page-8
error   |09:38:01: [pie_PrintLoadedTextures] 14 : page-9
error   |09:38:01: [pie_PrintLoadedTextures] 15 : page-10
error   |09:38:01: [pie_PrintLoadedTextures] 16 : page-11
error   |09:38:01: [pie_PrintLoadedTextures] 17 : page-12
error   |09:38:01: [pie_PrintLoadedTextures] 18 : page-13
error   |09:38:01: [pie_PrintLoadedTextures] 19 : page-14
error   |09:38:01: [pie_PrintLoadedTextures] 20 : page-15
error   |09:38:01: [pie_PrintLoadedTextures] 21 : page-16
error   |09:38:01: [pie_PrintLoadedTextures] 22 : page-17
error   |09:38:01: [pie_PrintLoadedTextures] 23 : page-18
error   |09:38:01: [pie_PrintLoadedTextures] 24 : page-19
error   |09:38:01: [pie_PrintLoadedTextures] 25 : page-20
error   |09:38:01: [pie_PrintLoadedTextures] 26 : page-21
error   |09:38:01: [pie_PrintLoadedTextures] 27 : page-22
error   |09:38:01: [pie_PrintLoadedTextures] 28 : page-23
error   |09:38:01: [pie_PrintLoadedTextures] 29 : page-24
error   |09:38:01: [pie_PrintLoadedTextures] 30 : page-28
error   |09:38:01: [pie_PrintLoadedTextures] 31 : page-59
error   |09:38:01: [iV_ProcessIMD] iV_ProcessIMD blderik.pie could not load tex page page-45
error   |09:38:01: [dataIMDBufferLoad] IMD load failed - blderik.pie
error   |09:38:01: [resLoadFile] resLoadFile: The load function for resource type "IMD" failed for file "blderik.pie"
Do I need to make an entry in another file or is this in the wrong place.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: oil wells textures don't match the texture.png

Post by Per »

You probably have to put a reference to the texture page in more files than frontend.wrf. I usually go looking in all the wrf files (both base and mp, if both are relevant), to look for where texture pages are defined, then add mine to the end in each file.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

Done and working thank you
Some screenshots
derrick.gif
derrick2.gif
Its seems the origonal texture mapping for the derrick was almost none existant if you put the pie in to a modeling program it looks like it takes random section from page 11 not logicl
So I have tried to repair this.
It is still the same derrick pie just changed the way it is textured.
You do not have the required permissions to view the files attached to this post.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: oil wells textures don't match the texture.png

Post by KukY »

Berg wrote:Its seems the origonal texture mapping for the derrick was almost none existant if you put the pie in to a modeling program it looks like it takes random section from page 11 not logicl
So I have tried to repair this.
It is still the same derrick pie just changed the way it is textured.
It looks better than old one.
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: oil wells textures don't match the texture.png

Post by Safety0ff »

Oh, you wanted the oil derrick textures? They are on page 11; these should be them:
page-11-player-buildings.png
You do not have the required permissions to view the files attached to this post.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

A bit of artistic license fully mapped textures on Derricks.
now the textures can be edited because they have a position on Page 11..
here is a screenshot Ignore the power generater... xD
You do not have the required permissions to view the files attached to this post.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: oil wells textures don't match the texture.png

Post by KukY »

Berg wrote:Ignore the power generater... xD
Looks like it is made from gold...
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: oil wells textures don't match the texture.png

Post by Safety0ff »

So much colour is a post-nuke land!
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

Yes it was a bit bright
derrick2.gif
But Its easy to edit now so changing the textures on the parts can change how it looks.
You do not have the required permissions to view the files attached to this post.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

Updated oil derrick pie and page 11 textures screenshot
You do not have the required permissions to view the files attached to this post.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: oil wells textures don't match the texture.png

Post by Berg »

Further texture changes to try and match it to expectations
Updated.png
2.3.beta9 screenshot
I made a mod out of the changes I have made.
You do not have the required permissions to view the files attached to this post.