RoundRound [MOD] troubles

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

RoundRound [MOD] troubles

Post by Square »

Hi,
I enjoy playing Warzone for a couple of months, and I have a basic knowledge of Blender.
So, I've started to make my own Mod, replacing all the buildings with ultra modern fantasy buildings. I made a model and a texture ( at the moment, it's only the ambient occlusion of the building, will be better when it works ).

But when I start Warzone with the mod, It crashes and gives me the following error:

Code: Select all

error   : [_imd_load_polys] _imd_load_polys: texture height = 0
error   : [_imd_load_polys] Assert in Warzone: /Users/freddie/Documents/Programming/2.1_rc2/macosx/../lib/ivis_common/imdload.c:166 (tHeight > 0), last script event: '<none>'
Assertion failed: (tHeight > 0), function _imd_load_polys, file /Users/freddie/Documents/Programming/2.1_rc2/macosx/../lib/ivis_common/imdload.c, line 166.
Abort trap
I think I don't have any octagons or so, so I don't know what's wrong... maybe It's because of the texture ?!

I attached the mod.

______
Square
Attachments
roundandround.zip
(745.79 KiB) Downloaded 287 times
User avatar
manaze
Trained
Trained
Posts: 133
Joined: 23 Jun 2008, 17:31
Location: California USA

Re: RoundRound [MOD] troubles

Post by manaze »

sounds interesting if u can get it to work
elio
Regular
Regular
Posts: 508
Joined: 09 Jun 2007, 22:11

Re: RoundRound [MOD] troubles

Post by elio »

hmm, as i experienced short time ago, the blender exporter plugin doesn't work very well. kage (the author) said he'll do a rewrite, but i haven't seen him lately here.

perhaps one of the devs can give you a better explanation what raises the eror exactly

regards
elio
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: RoundRound [MOD] troubles

Post by Square »

The Pie file seems to be in order ( <-- is that correct english? :P ), but maybe it's becaus I didn't take the premade texpage-xy-player-buildings.png ?? So I changed the name of the texpage into page-26-roundroundfact.png and I created a WRF folder in my mod, and looked in other mods for the wrf folder, and it's content.. but it still does not work. :mad;

I attached the hole mod, the same I put into mods/global
roundround.zip
(36.97 KiB) Downloaded 298 times

EDIT:
It seems to be something with the mesh. I tried to make a cube with the same texture, and it worked. :gonk:
_____
Square
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: RoundRound [MOD] troubles

Post by Per »

I would suggest you try to export the model as OBJ or 3DS, then convert using the obj2pie and 3ds2pie tools.
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: RoundRound [MOD] troubles

Post by Square »

Hi,
thanks for your answer.
I converted it using the obj2pie converter, and now I get the following pie file:

Code: Select all

PIE 2
TYPE 200
TEXTURE 0 page-26-roundroundfact.png 256 256
LEVELS 1
LEVEL 1
POINTS 183
	0 0 0
	0 0 0
	1 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	-1 0 0
	0 0 0
	0 0 0
	0 0 0
	0 -1 0
	0 0 0
	0 0 0
	0 0 0
	1 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 -1 0
	0 0 0
	0 0 0
	1 0 0
	1 0 0
	0 0 0
	0 1 0
	0 1 0
	0 1 0
	0 0 0
	-1 0 0
	-1 0 0
	-1 0 0
	0 0 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 0 0
	1 0 0
	1 0 0
	1 0 0
	0 0 0
	0 1 0
	0 1 0
	0 1 0
	0 0 0
	0 0 0
	-1 0 0
	0 0 0
	0 0 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 0 0
	1 0 0
	1 0 0
	0 0 0
	0 1 0
	0 1 0
	0 1 0
	0 0 0
	0 0 0
	-1 0 0
	0 0 0
	0 0 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	1 0 0
	1 0 0
	1 1 0
	1 1 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 1 0
	0 1 0
	0 1 0
	0 1 0
	0 1 0
	0 1 0
	-1 0 0
	-1 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	-1 0 0
	-1 0 0
	-1 0 0
	-1 0 0
	-1 -1 0
	-1 -1 0
	0 -1 0
	0 -1 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 -1 0
	0 -1 0
	1 -1 0
	1 -1 0
	1 -1 0
	1 -1 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	0 0 0
	1 0 0
	0 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
	1 0 0
POLYGONS 150
	2200 3 50 49 33 76 192 101 203 96 216
	2200 3 19 18 49 82 181 103 188 101 203
	2200 3 51 50 34 58 177 76 192 70 201
	2200 3 20 19 50 67 169 82 181 76 192
	2200 3 52 51 35 46 158 58 177 50 183
	2200 3 21 20 51 57 154 67 169 58 177
	2200 3 53 52 36 42 137 46 158 37 161
	2200 3 22 21 52 53 136 57 154 46 158
	2200 3 54 53 37 45 115 42 137 32 137
	2200 3 23 22 53 56 119 53 136 42 137
	2200 3 55 54 38 55 95 45 115 36 112
	2200 3 24 23 54 64 103 56 119 45 115
	2200 3 56 55 39 72 80 55 95 48 89
	2200 3 25 24 55 78 91 64 103 55 95
	2200 3 57 56 40 95 72 72 80 67 71
	2200 3 26 25 56 96 85 78 91 72 80
	2200 3 58 57 41 118 74 95 72 93 61
	2200 3 27 26 57 115 86 96 85 95 72
	2200 3 59 58 42 139 84 118 74 121 64
	2200 3 28 27 58 132 94 115 86 118 74
	2200 3 60 59 43 154 100 139 84 145 76
	2200 3 29 28 59 144 107 132 94 139 84
	2200 3 61 60 44 164 121 154 100 163 95
	2200 3 30 29 60 152 125 144 107 154 100
	2200 3 62 61 45 167 146 164 121 174 119
	2200 3 31 30 61 153 145 152 125 164 121
	2200 3 47 62 46 162 174 167 146 178 146
	2200 3 16 31 62 147 167 153 145 167 146
	2200 3 65 64 2 62 211 90 228 79 246
	2200 3 34 33 64 70 201 96 216 90 228
	2200 3 66 65 3 41 190 62 211 50 227
	2200 3 35 34 65 50 183 70 201 62 211
	2200 3 67 66 4 27 165 41 190 25 202
	2200 3 36 35 66 37 161 50 183 41 190
	2200 3 68 67 5 21 137 27 165 9 172
	2200 3 37 36 67 32 137 37 161 27 165
	2200 3 69 68 6 25 108 21 137 0 138
	2200 3 38 37 68 36 112 32 137 21 137
	2200 3 70 69 7 39 82 25 108 6 102
	2200 3 39 38 69 48 89 36 112 25 108
	2200 3 71 70 8 61 61 39 82 21 69
	2200 3 40 39 70 67 71 48 89 39 82
	2200 3 72 71 9 91 48 61 61 49 44
	2200 3 41 40 71 93 61 67 71 61 61
	2200 3 73 72 10 125 53 91 48 89 31
	2200 3 42 41 72 121 64 93 61 91 48
	2200 3 74 73 11 152 67 125 53 132 32
	2200 3 43 42 73 145 76 121 64 125 53
	2200 3 75 74 12 172 88 152 67 164 51
	2200 3 44 43 74 163 95 145 76 152 67
	2200 3 76 75 13 185 115 172 88 188 77
	2200 3 45 44 75 174 119 163 95 172 88
	2200 3 77 76 14 190 146 185 115 206 109
	2200 3 46 45 76 178 146 174 119 185 115
	2200 3 15 0 63 210 144 208 177 188 178
	2200 3 32 46 77 175 176 178 146 190 146
	2200 3 80 18 19 104 175 103 188 82 181
	2200 3 81 19 20 87 172 82 181 67 169
	2200 3 82 20 21 74 163 67 169 57 154
	2200 3 83 21 22 66 150 57 154 53 136
	2200 3 84 22 23 62 136 53 136 56 119
	2200 3 85 23 24 64 122 56 119 64 103
	2200 3 86 24 25 72 109 64 103 78 91
	2200 3 87 25 26 83 99 78 91 96 85
	2200 3 88 26 27 97 94 96 85 115 86
	2200 3 89 27 28 113 95 115 86 132 94
	2200 3 90 28 29 126 101 132 94 144 107
	2200 3 91 29 30 137 112 144 107 152 125
	2200 3 92 30 31 142 127 152 125 153 145
	2200 3 93 31 16 143 144 153 145 147 167
	2200 3 155 154 153 216 196 210 166 226 166
	2200 3 157 152 151 32 25 3 31 0 16
	2200 3 97 96 95 247 39 247 47 239 47
	2200 3 97 100 101 123 22 152 22 152 31
	2200 3 96 101 102 210 57 239 57 239 72
	2200 3 95 102 99 226 137 255 137 255 146
	2200 3 98 99 100 226 181 247 176 247 187
	2200 3 102 101 100 248 105 248 121 239 121
	2200 3 103 104 105 248 88 248 104 239 104
	2200 3 107 106 105 210 111 239 104 239 121
	2200 3 110 103 106 210 18 240 18 240 28
	2200 3 109 104 103 32 22 61 16 65 31
	2200 3 108 105 104 65 7 94 7 94 16
	2200 3 108 109 110 194 8 194 17 185 17
	2200 3 113 112 111 248 18 240 18 240 10
	2200 3 113 116 117 210 0 239 0 239 9
	2200 3 112 117 118 210 57 210 28 225 28
	2200 3 111 118 115 226 146 255 146 255 155
	2200 3 114 115 116 97 23 123 17 123 31
	2200 3 118 117 116 248 196 248 212 239 212
	2200 3 119 120 121 248 121 248 137 239 137
	2200 3 123 122 121 210 127 239 121 239 137
	2200 3 126 119 122 210 9 240 9 240 18
	2200 3 125 120 119 210 88 239 88 239 104
	2200 3 124 121 120 154 4 183 4 183 13
	2200 3 124 125 126 249 57 239 57 239 47
	2200 3 129 128 127 247 38 239 38 239 30
	2200 3 129 132 133 152 13 123 13 123 4
	2200 3 128 133 134 97 25 68 31 65 16
	2200 3 127 134 131 255 196 226 196 226 187
	2200 3 130 131 132 231 57 225 30 239 30
	2200 3 134 133 132 210 17 194 17 194 9
	2200 3 135 136 137 242 176 226 176 226 167
	2200 3 139 138 137 216 166 210 137 226 137
	2200 3 142 135 138 183 22 153 22 153 13
	2200 3 141 136 135 239 88 210 88 210 72
	2200 3 140 137 136 32 16 2 16 2 7
	2200 3 140 141 142 123 17 114 17 114 8
	2200 3 145 144 143 114 17 104 17 104 8
	2200 3 145 148 149 62 16 32 16 32 7
	2200 3 144 149 150 239 212 210 212 210 196
	2200 3 143 150 147 255 166 226 166 226 158
	2200 3 146 147 148 210 25 183 31 183 17
	2200 3 150 149 148 247 57 247 72 239 72
	2200 3 151 152 153 248 72 248 88 239 88
	2200 3 158 151 154 183 31 153 31 153 22
	2200 3 156 153 152 152 22 123 22 123 13
	2200 3 156 157 158 104 16 94 16 94 7
	2200 3 33 49 162 96 216 101 203 116 205
	2200 3 162 160 17 116 205 115 186 129 183
	2200 3 49 18 160 101 203 103 188 115 186
	2200 3 2 64 163 79 246 90 228 104 237
	2200 3 64 33 161 90 228 96 216 112 222
	2200 3 164 160 18 114 173 115 186 103 188
	2200 3 79 17 160 123 171 129 183 115 186
	2200 3 167 168 47 173 188 157 183 162 174
	2200 3 168 166 16 157 183 142 172 147 167
	2200 3 48 17 166 137 199 129 183 142 172
	2200 3 63 0 165 188 178 208 177 210 187
	2200 3 169 167 32 189 189 173 188 175 176
	2200 3 170 166 17 132 164 142 172 129 183
	2200 3 78 16 166 137 160 147 167 142 172
	2200 3 172 167 169 249 226 251 226 251 240
	2200 3 171 169 165 249 239 251 240 243 252
	2200 3 174 168 167 243 216 244 215 251 226
	2200 3 175 48 168 229 214 229 212 244 215
	2200 3 173 165 1 242 251 243 252 230 255
	2200 3 177 163 161 212 240 210 240 210 227
	2200 3 179 159 163 219 251 218 253 210 240
	2200 3 178 161 162 211 227 210 227 215 216
	2200 3 180 162 48 216 217 215 216 229 212
	2200 3 176 1 159 230 254 230 255 218 253
	2200 3 182 181 172 229 238 229 226 249 226
	2200 3 176 182 171 230 251 229 238 249 239
	2200 3 181 175 174 229 226 229 214 243 216
	2200 3 177 178 181 212 240 211 227 229 226
	2200 3 179 177 182 219 251 212 240 229 238
	2200 3 178 180 175 211 227 216 217 229 214
	2200 3 178 180 10 211 227 216 217 229 214
	2200 3 178 180 10 211 227 216 217 229 214
Well, there are many 1 and 0s, and my model does not have 150 vertices, it has 183^^that is wrong O_o
But the game does not crash now :)

But ingame, there are no factorys.. there is just air :(

See it here:
Archiv.zip
(643.11 KiB) Downloaded 285 times
I dont know whats wrong with the model :(


_____
Square
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: RoundRound [MOD] troubles

Post by Mysteryem »

Square wrote:
Well, there are many 1 and 0s..
But the game does not crash now :)

But ingame, there are no factorys.. there is just air :(

See it here:
Archiv.zip
I dont know whats wrong with the model :(


_____
Square
I think you need to scale the model up a fair amount before converting; I'm having similar problems (but with the 3ds2pie converter) (although it might be because I'm converting from a .des file to a .sat file then to a .3ds file and then to a .pie file)
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
elio
Regular
Regular
Posts: 508
Joined: 09 Jun 2007, 22:11

Re: RoundRound [MOD] troubles

Post by elio »

scale it around x130..
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: RoundRound [MOD] troubles

Post by Per »

The PIE format's idea of vertices and faces is a bit different than... well, everyone else's. The problem now seems to be that you need to scale your model up. The obj2pie program has a parameter to do that.
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: RoundRound [MOD] troubles

Post by Square »

Thank you guys! :) :)
I got it working in the game! :)

So, I did it like you told me :
Model in Blender
Export as Wavefront obj ( but triangulated :!!!: )
Convert using Obj2Pie with -y -t -s 130
...


So, here are the screenshots, now I only have to change the texture :)
Bild 9.png
Bild 9.png (161.74 KiB) Viewed 6410 times
Bild 8.png
Bild 8.png (96.61 KiB) Viewed 6408 times
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: RoundRound [MOD] troubles

Post by Mysteryem »

Wow, nice outcome, but what's the line going across the top of the structure on the second picture?
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: RoundRound [MOD] troubles

Post by Square »

Yah,
you're right... I don't know what that is :P
It's not in my blend file, it must have happend while converting to pie I think^^
User avatar
Phoenix666
Trained
Trained
Posts: 106
Joined: 21 Sep 2008, 20:38
Location: Russia
Contact:

Re: RoundRound [MOD] troubles

Post by Phoenix666 »

sometimes blender have bad export/import=(
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: RoundRound [MOD] troubles

Post by Square »

everything is working now :)
that was a lonely polygon, and he became a triangle ^^
Bild 2.png
Bild 1.png
Bild 3.png
gues which one is F1, F2 and F3 ^^:D
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: RoundRound [MOD] troubles

Post by Per »

Those buildings look really ... strange. O_o In a twisted, weird way. I can't wait to see what they look like with textures.
Post Reply