Jump to content
Sign in to follow this  
Ice9

Roads not appearing ingame

Recommended Posts

We have some issues with roads: they appear in buldozer but not ingame. We are a stuck at this point, do anyone have some tips to help us? We don't find it on the net.

Share this post


Link to post
Share on other sites

Okay, we use Mikero but not to make pbo, we'll try it. Thanks for the answer.

Share this post


Link to post
Share on other sites

AddonBuilder requires some fine tweaking for importing all roads into the PBO, just use Mikero PboProject and they should work.

Share this post


Link to post
Share on other sites

We tried with Mikero pboproject and it didn't work. We have an error to our cpp but where... we have to find it.

Share this post


Link to post
Share on other sites

Post the error and your config and we can help.

As for roads make sure you are exporting them correctly. Hide all the other shapes you may use as only roads are getting exported.

Share this post


Link to post
Share on other sites

Ah! Is your terrain on 200000/0? Are you making the roads with the "make roads"-Tool in TB? Because that isnt working. You need to use polylines and their database properties to define the roads.

Share this post


Link to post
Share on other sites
Ah! Is your terrain on 200000/0? Are you making the roads with the "make roads"-Tool in TB? Because that isnt working. You need to use polylines and their database properties to define the roads.

I never even knew TB had a "make roads" tool... But not surprising it doesn't work, seems to fit with a lot of other things BIS releases.

---------- Post added at 03:00 ---------- Previous post was at 02:56 ----------

I was having this same issue also a little while earlier, and yes pboproject fixed my issue. Make sure that you used the polylines and setup the database properties correctly then export the shapes to where you want typically "P:\yourfolder\data\roads\roads.shp" and then in your terrain config.cpp find where it says "newRoadShape" and place the path to the shape file you just exported then pack it all with pboproject. And when you load the map it may look like the roads aren't there but you need to zoom in on the map and they should show up. Not sure yet why you need to zoom in I have to figure that out.

Share this post


Link to post
Share on other sites

I'm having the exact opposite issue of Ice9. My roads work in-game perfectly, but they don't show up in Buldozer which makes placing objects right next to the roads rather frustrating. Is there a button or option you're supposed to click somewhere in TB that activates the roads? I clicked the option on the TB toolbar that says "Show Roads" but that has had no effect on Buldozer.

Share this post


Link to post
Share on other sites

Yes there is, but keep in mind it won't be realtime (so if you move a polilyne, you'll have to restart buldozer to see any changes):

Create a text file: P:/scripts/editor.sqs

~.1
diag_log "Before Loading Roads";
result = buldozer_LoadNewRoads "P:/yourtag/yourproject/data/roads/";
diag_log "After Loading Roads";

The show roads option is for showing legacy a2-style roads.

Share this post


Link to post
Share on other sites
Yes there is, but keep in mind it won't be realtime (so if you move a polilyne, you'll have to restart buldozer to see any changes):

re-export the shapes file, then restart BD and you'll see the changes.

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  

×