Solved The Units Stuck Problem

Campaign editing

Moderators: Lone Wolf, Snake Man

Post Reply
User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Solved The Units Stuck Problem

Post by Phoenix711 » 2009-02-21 09:56:12

At last, I've managed to solve the units being stuck in one objective problem.

The trick is this, as I told before in the theater tools thr creator post....

use your THR map (Relief Map) to draw the links between objects. If by any means, two objects are not connected via roads, or there is a broken road between those two objects, delete the link between them, or your unit will be stuck at each objective, if it needs to continue its way going over the other obj.

Very clear now, and tested, this is the way units go, using links, but controlling the road network at each objective point to the other linked point, before departing that obj.. If no road, or road is broken halfway those two obj, unit is stuck and cannot move further.

I've managed this way, a unit to go the whole map.

ccc
Chief of Staff
Posts: 4857
Joined: 2000-08-06 22:01:01

Re: Solved The Units Stuck Problem

Post by ccc » 2009-02-21 10:55:07

hmm.. yes, i think connecting two objectives, there must be a road between them.. which means you also got to check/edit road tiles betwen objectives.. so 2d obj-linking fits 3d road network.

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Re: Solved The Units Stuck Problem

Post by Sherlock » 2009-02-21 17:25:45

ccc wrote:hmm.. yes, i think connecting two objectives, there must be a road between them.. which means you also got to check/edit road tiles betwen objectives.. so 2d obj-linking fits 3d road network.
And, of course, the proper road / bridge path data has to be in the texture.bin, right?
Sherlock
Victurous te Saluto

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Solved The Units Stuck Problem

Post by Snake Man » 2009-02-21 23:01:59

Phoenix711 wrote:If by any means, two objects are not connected via roads, or there is a broken road between those two objects, delete the link between them, or your unit will be stuck at each objective, if it needs to continue its way going over the other obj.
Would you have couple of screenshots to demonstrate this sort of bottle necks in the THR / linking?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Polak
Captain
Posts: 188
Joined: 2004-01-01 23:01:01
Location: NEw York City

Re: Solved The Units Stuck Problem

Post by Polak » 2009-02-22 02:35:15

It is not me to intelligently participate in discussion, but using Pathmaker I have noticed that each new tile needs roads and areas marked on them. I assume also that this vector paths and areas should more or less correspond with pixel view and configuration of the roads. The units traveling ( if they travel) along those paths would otherwise in the game deviate from the roads .

This is my assumption that this is how it works, and I find little "disturbing" the fact that ends of the roads are not always registered in the same place. Moreover I see that some of the "ends" do not even go fully to the edge of the tile , where I would again assume, they would meet the "start" of the other adjacent tile.

Either this is inconsequential, or that might also contribute to the problems.

Image

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-02-22 16:25:13

Here is the picture of the real situation I've solved the problem.

The trick is: If two objects are not connected via the road network (THR that is, not MAP view. You should use Relief MAP here), they should not be linked to each other.

Image Image Image

We start at 0, we want to go to 2

Falcon draws the path like 0 - 1 - 3 - 2 (Because of the links between objects + calculated cost by tile type + slopes. Since, this thr is created using the Plains only option by THR Creator, route is only calculated via slope information + links.)

Since, the road network (THR) is broken between 1 and 3, when an unit reaches 1 and needs to move to 3, it can't.

There are two options to solve the problem...

1. If, you remove the link between 1 and 3, Falcon will create the path like "0 - 1 - 2" or "0 - Bridge - 3 - 2" depends on cost.
and since the road network is not broken from 1 to 2, your unit will leave 1 and move to 2 succesfully.

2. If you fix the road network between 1 and 3 using TerrainView, and the create the THR again, Falcon will draw the path as 0 - 1 - 3 - 2 again (because of the links), but this time, you unit will be able to leave 1 and go to 3, then 2.

Turns etc are not important. The units can cross bridges, make 120 degree turns on the roads no problem. It's all about links, cost and road network.

IMPORTANT NOTE:

I've not tested in any way, if path information affects road networking calculations. I saw most of the path info, is given like - values, so the path is going into the opther tile. I don't know why. Looks like someone make something sure.

And, Pathmaker never shows me any path / area lines, nor it can create my THR file correctly. I think it works with the standart texture bin... I'm not sure. Or maybe I'm using the wrong version.

User avatar
Sherlock
Lt. General
Posts: 1167
Joined: 2006-05-24 22:01:01
Gaming Interests: Falcon 4.0
Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA

Re: Solved The Units Stuck Problem

Post by Sherlock » 2009-02-22 18:35:11

Great post Phoenix. Picture says a thousand words!

Cheers!
Sherlock
Victurous te Saluto

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-02-22 21:01:17

Can be used in Wiki or anywhere else if needed.

ccc
Chief of Staff
Posts: 4857
Joined: 2000-08-06 22:01:01

Re: Solved The Units Stuck Problem

Post by ccc » 2009-02-23 01:25:55

ya the post shows how and where to fix the broken road/obj linkage. that's about the same thing i learned.. new theater mods need such check, at least along the main combat routes.

also it shows there're TWO extra bridges.. got to remove them.

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Solved The Units Stuck Problem

Post by Snake Man » 2009-02-27 11:26:54

Thanks for the images and explanation. Images added to PMC Editing Wiki: Falcon 4 Campaign Links page.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

User avatar
molnibalage
Colonel
Posts: 344
Joined: 2007-01-13 07:59:02
Gaming Interests: Falcon 4.0
Editing Interests: Modeling
Location: Hungary

Re: Solved The Units Stuck Problem

Post by molnibalage » 2009-03-12 13:37:20

I don't understand. In the first pic. you can see that 0-1-2-3 is not working. The last shows that is working.

:?:
Image
Core 2 Duo E7300, Gigabyte EP43, 4 GB RAM (1066MHz), Shappire Radeon HD4850 1GB

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-03-13 14:46:57

In the last picture, the road link between them is corrected (via terrainview). and THR is recalculated.

User avatar
molnibalage
Colonel
Posts: 344
Joined: 2007-01-13 07:59:02
Gaming Interests: Falcon 4.0
Editing Interests: Modeling
Location: Hungary

Re: Solved The Units Stuck Problem

Post by molnibalage » 2009-03-13 19:13:01

Does it require the full campaign file?

This corrected "THR" map can be imported to campaigns?
Image
Core 2 Duo E7300, Gigabyte EP43, 4 GB RAM (1066MHz), Shappire Radeon HD4850 1GB

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-03-14 08:32:32

Just replace the new corrected file with the one in the theaters Campaign folder.

User avatar
molnibalage
Colonel
Posts: 344
Joined: 2007-01-13 07:59:02
Gaming Interests: Falcon 4.0
Editing Interests: Modeling
Location: Hungary

Re: Solved The Units Stuck Problem

Post by molnibalage » 2009-03-14 09:30:27

Ok, but I'm not ablt to do this. Are you working on this? I wil be very grateful if you give me this present. I can use it for better korean campaign.
Image
Core 2 Duo E7300, Gigabyte EP43, 4 GB RAM (1066MHz), Shappire Radeon HD4850 1GB

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-03-14 20:15:24

Unfortunately I'm working on another theater (Aegean) now.

But there's nothing you need, except the tools and info you can find here at PMC.

PathMaker to see the road/river/area info included into tiles, and add as needed
TerrainView to correct the terrain errors (like broken roads)
TACEdit, to see the relief map and objects, and links between objects etc,
To compile the edited terrain, seasonswitcher and SPTInstall.

The experts here at PMC have a lot of knowledge and are willing to help too. And I'll try to help you too.

If you work for FreeFalcon, then I'm not sure if all the tools support FF. Snakeman can answer this I guess.

User avatar
molnibalage
Colonel
Posts: 344
Joined: 2007-01-13 07:59:02
Gaming Interests: Falcon 4.0
Editing Interests: Modeling
Location: Hungary

Re: Solved The Units Stuck Problem

Post by molnibalage » 2009-03-14 21:22:30

But there's nothing you need, except the tools and info you can find here at PMC.

PathMaker to see the road/river/area info included into tiles, and add as needed
TerrainView to correct the terrain errors (like broken roads)
TACEdit, to see the relief map and objects, and links between objects etc,
To compile the edited terrain, seasonswitcher and SPTInstall.

The experts here at PMC have a lot of knowledge and are willing to help too. And I'll try to help you too.

If you work for FreeFalcon, then I'm not sure if all the tools support FF. Snakeman can answer this I guess.
Unfortunatly I have so few free time that I'm not able to do things that I CAN do.

I know the name of tools that you listed but using them is a different thing. Currently the FF5.0 DB is locked. I'm waiting the time when DB more or less will be completed and will be open again. That time I can start modifying one of excisting campaign two very different and strongly upgraded campaign. These will be required a fixed THR map.

I will accept any help.

Currenty I'm working on training video for FF5.0 but this speed I need at least 1 month to make them. I have to make tham also in hungarian. I have an unfinished hungarian manual.

Also for FF team I have unfinished projects...

Time, time, time. I don't have enough.. :(
Image
Core 2 Duo E7300, Gigabyte EP43, 4 GB RAM (1066MHz), Shappire Radeon HD4850 1GB

User avatar
Phoenix711
Captain
Posts: 186
Joined: 2007-10-03 07:52:29
Location: Istanbul Turkey
Contact:

Re: Solved The Units Stuck Problem

Post by Phoenix711 » 2009-03-15 12:23:13

I see. Time is everyones problem. If I had time, I would be happy to help you about this. Maybe somebody likes to get the job and check THR against TACEdit object placements/links.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests