Jump to content
Sign in to follow this  
soapboxsubmarine

Roads do not show in terrain builder no error message

Recommended Posts

Roads do not show in buldozer and no error message in buldozer is what the title should be.

I have error corrected the RoadsLib.cfg file and this is fine, i have also checked the editor.sqs and this is also fine

editor.sqs

~.1

result = buldozer_LoadNewRoads "P:/SOAP/Hadsel/data/roads/";

RoadsLib.cfg

// 1 = Hoved vei

// 2 = Landsvei

// 3 = Gate vei

// 4 = Grus vei

// 5 = Traktor vei

// 6 = sykkel sti

class RoadTypesLibrary

{

class Road0001

{

width = 9;

mainStrTex = "a3\roads_f\Roads\data\highway_ca.paa";

mainTerTex = "a3\roads_f\Roads\data\highway_end_ca.paa";

mainMat = "a3\roads_f\Roads\data\highway.rvmat";

map = "main road";

AIpathOffset = 3;

order=1;

};

class Road0002

{

width = 7;

mainStrTex = "a3\roads_f\roads_new\data\highway_ca.paa";

mainTerTex = "a3\roads_f\roads_new\data\highway_end_ca.paa";

mainMat = "a3\roads_f\roads_new\data\highway.rvmat";

AIpathOffset = 2;

map = "road";

order=2;

};

class Road0003

{

width = 5;

mainStrTex = "a3\roads_f\roads_new\data\main_road_ca.paa";

mainTerTex = "a3\roads_f\roads_new\data\main_road_end_ca.paa";

mainMat = "a3\roads_f\roads_new\data\main_road.rvmat";

AIpathOffset = 1;

map = "road";

};

class Road0004

{

width = 4;

mainStrTex = "a3\roads_f\roads_new\data\road_ca.paa";

mainTerTex = "a3\roads_f\roads_new\data\road_end_ca.paa";

mainMat = "a3\roads_f\roads_new\data\road.rvmat";

map = "track";

AIpathOffset = 1;

order=4;

};

class Road0005

{

width = 2;

mainStrTex = "a3\roads_f\roads_AE\data\surf_roaddirt_path_ca.paa";

mainTerTex = "a3\roads_f\roads_AE\data\surf_roaddirt_path_end_ca.paa";

mainMat = "a3\roads_f\roads_AE\data\surf_roaddirt_path.rvmat";

map = "track";

AIpathOffset = 0;

order=5;

};

class Road0006

{

width = 2;

mainStrTex = "a3\roads_f\roads_new\data\main_road_ca.paa";

mainTerTex = "a3\roads_f\roads_new\data\main_road_end_ca.paa";

mainMat = "a3\roads_f\roads_new\data\main_road.rvmat";

map = "road";

AIpathOffset = 0;

order=6;

};

};

i cant see what i did wrong. anyone see what i dont

Thnks in advance!

Edited by bbrinchmann@gmail.com
Roads do not show in Buldozer no error message from buldozer

Share this post


Link to post
Share on other sites

ok, thnks will try now

---------- Post added at 15:52 ---------- Previous post was at 15:49 ----------

nop, only get new error message and buldozer closes automatically

error LandGrid reference exceeded the range ....some numbers

---------- Post added at 16:05 ---------- Previous post was at 15:52 ----------

i also tried to use 0.1 and no error message then but no roads. I also reexported the layers just in case

Share this post


Link to post
Share on other sites

this is the one i used:)

---------- Post added at 17:33 ---------- Previous post was at 17:32 ----------

btw anyone know how to change my nick. no good having my email spread all over the place

Share this post


Link to post
Share on other sites
ok, thnks will try now

---------- Post added at 15:52 ---------- Previous post was at 15:49 ----------

nop, only get new error message and buldozer closes automatically

error LandGrid reference exceeded the range ....some numbers

---------- Post added at 16:05 ---------- Previous post was at 15:52 ----------

i also tried to use 0.1 and no error message then but no roads. I also reexported the layers just in case

What's probably happening is that changing the "pre-delay" from 0.1 seconds (which is often not long enough to let the roads script kick in), to 1.0 seconds DID fix the roads problem, but then you've "fallen through to the next error in line", which is the "Landgrid" one

"LandGrid reference exceeded the range ....some numbers"

... generally refers to Mapframe Sampler settings - posting the full error plus maybe a screenshot of your sampler settings might produce a clue...

B

Share this post


Link to post
Share on other sites

ok here are screens

error message> https://imgur.com/pF6cq0l,H0K5tCM

sampler info> https://imgur.com/pF6cq0l,H0K5tCM#1

---------- Post added at 19:06 ---------- Previous post was at 18:30 ----------

thnks bushlurker, youre the man!

i changed the texture layer to 40 instead of 5 and it works

i guess the landgrid exceeded the final satgrid cells

Share this post


Link to post
Share on other sites

So new roads issue: Now my roads will not show in buldozer again. (no error message) Everything should be fine from last time. The only thing i see which prob is the problem is that my roads folder does not

contain the roads.shp files. Only the polyline and polygon.shp, *.shx, *.dbf and so on. So a clue there but i have no idea how to fix it.

so many pitfalls! :)

thnks

Share this post


Link to post
Share on other sites

Export the polyline road again and make sure it's called roads.shp, any name apart from roads.shp won't show in BD

Share this post


Link to post
Share on other sites

ok now i get an error message:

17:23:27: Surface not found - Shape layer "Gate vei" : surface "concrete" in mapframe "Hadsel" was not found. Shape layer surface was reset.

17:23:27: CPolygonalArea::UpdateGeometry() - Skipped shape: the polygon is not simple. (polygon_10)

17:23:27: Surface not found - Shape layer "Grus vei" : surface "dirt" in mapframe "Hadsel" was not found. Shape layer surface was reset.

17:23:27: Surface not found - Shape layer "Hoved vei" : surface "concrete" in mapframe "Hadsel" was not found. Shape layer surface was reset.

17:23:27: Surface not found - Shape layer "Lande vei" : surface "concrete" in mapframe "Hadsel" was not found. Shape layer surface was reset.

---------- Post added at 16:34 ---------- Previous post was at 16:24 ----------

yes this i done all along, they still call themselves roads_polyline.shp strange stuff

---------- Post added at 16:36 ---------- Previous post was at 16:34 ----------

i renamed them manually, and it worked. thnks man. still strange that they wont name themselves even though i cal the export "roads"

anyway. it works

---------- Post added at 16:38 ---------- Previous post was at 16:36 ----------

do you have a clue about the error messages i get when i restart the project btw?

Share this post


Link to post
Share on other sites

17:23:27: CPolygonalArea::UpdateGeometry() - Skipped shape: the polygon is not simple.

This one means there's a problem with that particular shape - check it closely for overlapping lines or something like that..

The "Surface Not Found" ones are reporting that there was a "surface type" associated with those particular shape layers and it can't be found anymore

B

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×