ofp crashes with new island

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

h.m.
Newbie
Posts: 4
Joined: 2005-03-09 20:00:04

ofp crashes with new island

Post by h.m. »

the title says it all. i've made my first attempt in island-editing:
imported a DEM from wilbur, made some changes, applied one custom texture which is packed in the same pbo as the island, all coded up with the sample config.
i wanted to see in ofp if the elevations are ok and at least all appears ok at the first glimpse - no error mesages, but when i load the island it crashes the game. it's not that big - 25^2 km and the texture is 1024^2 pixels.
help appreciated - here's an island n00b @work ;D
im:uc modeller/texturer/scripter/animator/etc. ...and as of now: island maker ;)
Snake_Man

Re: ofp crashes with new island

Post by Snake_Man »

Paste here your islands config.cpp and we'll try to sort out the crash problem.
h.m.
Newbie
Posts: 4
Joined: 2005-03-09 20:00:04

Re: ofp crashes with new island

Post by h.m. »

filename is imuc_i.wrp, path/name of pbo is also imuc_i

the name of the island and the icon is displayed in ofp. when i select the island the game crashes, it doesn't even load the island - no please wait... screen (or whatever ofp normally displays there)

Code: Select all

<br>class CfgPatches {<br>      class imuc_i {<br>            units[] = {};<br>            weapons[] = {};<br>            worlds[] = {imuc_island};<br>            requiredVersion = 1.91;<br>      };<br>};<br><br>class CfgWorlds {<br>      class DefaultWorld {};<br>      class Intro : DefaultWorld {};<br>      class imuc_island : Intro {<br>            access = 3;<br>            description = "IM:UC Test";<br>            icon = "imuc_i_wrptool_25km.paa";<br>            worldName = "imuc_iimuc_i.wrp";<br><br><br>            centerPosition[]={25600,25600,200};<br><br>            class Grid<br>            {<br>                  offsetX=0;<br>                  offsetY=0;<br>                  class Zoom1<br>                  {<br>                        zoomMax=0.200000;<br>                        format="XY";<br>                        formatX="Aa";<br>                        formatY="00";<br>                        stepX=256;<br>                        stepY=256;<br>                  };<br>                  class Zoom2<br>                  {<br>                        zoomMax=1e30; //1000000015047466219900000000000.000000;<br>                        format="XY";<br>                        formatX="A";<br>                        formatY="0";<br>                        stepX=2560;<br>                        stepY=2560;<br>                  };<br>            };<br><br>      };<br>};<br><br>class CfgWorldList {<br>      class imuc_island {};<br>}<br>
Last edited by h.m. on 1970-01-01 00:00:00, edited 1 time in total.
im:uc modeller/texturer/scripter/animator/etc. ...and as of now: island maker ;)
Snake_Man

Re: ofp crashes with new island

Post by Snake_Man »

Replace the string imuc_island with imuc_i and it starts to work.
h.m.
Newbie
Posts: 4
Joined: 2005-03-09 20:00:04

Re: ofp crashes with new island

Post by h.m. »

YUHEEE! cheers m8, it works.
but why? with which other value must the CFGWorldlist entry correlate? and why must the cfgworld classname be the same as the filename? or am i barking up the wrong tree...
im:uc modeller/texturer/scripter/animator/etc. ...and as of now: island maker ;)

Return to “WrpTool”