Impressions - Pathfinding/Maps

Based on Atomic Games’ award-winning Close Combat series, Close Combat: Wacht am Rhein brings together the classic top-down tactical gameplay from the original series and plenty of new features, expansions, and improvements! The Wacht am Rhein remake comes with a brand new Grand Campaign including a new strategic map with 64 gorgeous hand-drawn tactical maps, over 70 scenarios, tons of new interface and unit graphics, countless engine improvements, and much more!
User avatar
RD Oddball
Posts: 4836
Joined: Sat Feb 10, 2007 6:38 pm

RE: Impressions - Pathfinding/Maps

Post by RD Oddball »

Here's the elevations for Meyerode in that area Michael.

Image
Attachments
Picture1.jpg
Picture1.jpg (197.57 KiB) Viewed 820 times
Tejszd
Posts: 3467
Joined: Sat Nov 17, 2007 4:32 pm

RE: Impressions - Pathfinding/Maps

Post by Tejszd »

Looking at the map coding it could be one of those situations where the green line is through the windows on both sides of the building.....
User avatar
RD Oddball
Posts: 4836
Joined: Sat Feb 10, 2007 6:38 pm

RE: Impressions - Pathfinding/Maps

Post by RD Oddball »

That's exactly what I was thinking.
davidss
Posts: 377
Joined: Thu Dec 10, 2009 5:24 am

RE: Impressions - Pathfinding/Maps

Post by davidss »

I think you are right ... Line of Sight through two windows.
But, if WaR is coded the same as TLD (I don't own WaR) ... then this should not happen.

This is the window coding for TLD:
Can terrain block LOS? 1 = True
Can terrain block LOS even when adjacent? 0 = False


In my opinion ... this system of coding seems to work very well

Coded as above, you can get Line of Sight "through" when you are right beside a building window, but not when aimed at from a further distance away. Sometimes you can get Line of Sight through to the other side of a building with a parallel window ... but the through building Line of Sight won't extend very far past the other side of the building (if at all) ... unless it's on the corner of a building.
For example: if a tank finds a building where it can get Line of Sight through the corner of a building (due to closeness of window/door on either side) ... then it kind of makes sense, since tanks could set up in ambush methods like this. But notice a tank from a further distance away along the same (but opposing side), Line of Sight will not be able to get Line of Sight "through" ... due to not being adjacent to the building.

So, if WaR is coded this way (as above) the only explanation for the depicted Line of Sight error would be that Line of Sight is being made through diagonal single tiles ... where they only join at corners. This can be fixed by doubling the tile to fill in the the single diagonal corner joint leak.


User avatar
Andrew Williams
Posts: 3862
Joined: Mon Jan 08, 2001 10:00 am
Location: Australia
Contact:

RE: Impressions - Pathfinding/Maps

Post by Andrew Williams »

Elements coding for windows in WaR is as you state davidss

Can terrain block LOS? 1 = True
Can terrain block LOS even when adjacent? 0 = False


ImageImage
User avatar
Platoon_Michael
Posts: 969
Joined: Sun Mar 09, 2003 5:14 am

RE: Impressions - Pathfinding/Maps

Post by Platoon_Michael »

Any chance of adding a few locations for troops to cross on Longvilly?

If the AI deploys in this area there is no means for them to cross the river leaving them virtually useless during Battle.

Or has something been done to Deep Water to help prevent this from happening?

Thanks

Image
Attachments
UO0024.jpg
UO0024.jpg (388.22 KiB) Viewed 819 times
Anonymous

[Deleted]

Post by Anonymous »

[Deleted by Admins]
User avatar
Platoon_Michael
Posts: 969
Joined: Sun Mar 09, 2003 5:14 am

RE: Impressions - Pathfinding/Maps

Post by Platoon_Michael »

Have to admit that Soldier/Vehicle pathfinding are much better with the new patch.
Especially when it comes to getting Troops to navigate around Deep Water.
I haven't tested it yet but how well do they do on Sheer Cliff?

Map codding looks to be much much better,I can hide behind houses again.
I do wish however you would have been more consistent with the .OVM's
Some Maps have tree shadows on them and some don't.
I REALLY wish you would have went with adding the Trees and Shadows to the .OVM's and increased the clarity as well.
Just makes the game look a lot better.
Maybe not as obnoxiously large as what I did but more clarity would help.
Some maps just have that fuzzy look to them when viewing the .OVM
hank
Posts: 629
Joined: Sun Aug 24, 2003 8:50 am
Location: west tn

RE: Impressions - Pathfinding/Maps

Post by hank »

+1 on the OP's comments regarding tanks ... their movement ... turret rotation ... etc.

As I command a Sherman, I would love to be able to sneak past a building; rotate my turret to to back side of a Panther or Tiger that I've painstakingly maneuvered to get a side or butt shot; pop a round, then back behind the building again. I've never been successful at doing that. Most of the time the tank wants to spend valuable time aligning the front before shooting ... while the Panther simply rotates its turret and blows my guy to oblivion.

See this thread from COI:

tm.asp?m=2155491

Observation on Tanks

I'll be loading this up tonight
User avatar
RD Oddball
Posts: 4836
Joined: Sat Feb 10, 2007 6:38 pm

RE: Impressions - Pathfinding/Maps

Post by RD Oddball »

Thanks for the suggestion Hank. The preference is to have the front of the hull facing the enemy since that is typically the part of the tank that can withstand the most damage, which you probably know. But to your point a good enhancement to the AI would be to have it understand the concept of time and situations where time was of the essence and for it to make a judgement call based on threat assessment and advantage of firing vs. adjusting the hull position. Sounds like it'd be a tough problem to solve but certainly worth considering and looking into.
ORIGINAL: Platoon_Michael

I haven't tested it yet but how well do they do on Sheer Cliff?...

Should react just as well regardless of the obstacle. If you see any issues with pathfinding please report them so that we may look into it. Will need the usual support info. i.e. screenshot, description of the exact scenario when you noticed the issue, what was happening, what you were doing or attempting to do, etc.
...Some Maps have tree shadows on them and some don't....

Which map and where on the map? Post screenshots of any you find and they'll get taken care of.
I REALLY wish you would have went with adding the Trees and Shadows to the .OVM's and increased the clarity as well.
The suggestion has been made. Will consider it for future updates.
User avatar
Platoon_Michael
Posts: 969
Joined: Sun Mar 09, 2003 5:14 am

RE: Impressions - Pathfinding/Maps

Post by Platoon_Michael »

I ment on the .OVM's
Some .OVM's have tree shadows and some don't.
User avatar
RD Oddball
Posts: 4836
Joined: Sat Feb 10, 2007 6:38 pm

RE: Impressions - Pathfinding/Maps

Post by RD Oddball »

Ah okay. Thanks for clarifying.
hank
Posts: 629
Joined: Sun Aug 24, 2003 8:50 am
Location: west tn

RE: Impressions - Pathfinding/Maps

Post by hank »

I just got it reloaded last night and its been several months since I played last ... plus I'm a newb to the CC series ... but, with that said

I recall firing off a shot at a panther's side and it simply rotated its turret to my guy a killed him dead as a doorknob. For some reason it did not feel a need to turn its front to my tank. ... I'll be very observant of such things this weekend as I reaquaint myself with CC:WAR.

fwiw: I've played many many hour (days or weeks or months) of tank sim(s) ... from M1 Tank Platton thru Armored Fist(s) and Steelbeasts. That's where I get a lot of my tank talk.

Which leads me to another topic: I don't recall if there is any indication of when your armor reaches a hull down position. Is there, and I've just missed it?

Thanks for this fine game [&o]
User avatar
RD Oddball
Posts: 4836
Joined: Sat Feb 10, 2007 6:38 pm

RE: Impressions - Pathfinding/Maps

Post by RD Oddball »

Thanks for posting the feedback Hank. We had one user report that tanks weren't firing until they aligned their front to the target. So I guess it's as I've been seeing and that results in this respect are mixed. Sometimes the tank won't fire until the hull is front to enemy and sometimes it fires on the fly without worrying about aligning the hull.

There isn't an indication of hull down that I'm aware of. If there is maybe it'd be a good idea to make it more obvious.
hank
Posts: 629
Joined: Sun Aug 24, 2003 8:50 am
Location: west tn

RE: Impressions - Pathfinding/Maps

Post by hank »

Thanks

IMHO when a game allows control over individual pieces of equipment, those controls should allow the player to mimic reality. For armor, things like backing up, rotating turrets, simulating the armor ratings, etc. are vitally important.

In Battlefield Academy, they let the player move the tank (slow or fast) to a firing position then if a round is fired from that position to any point not in front, the turret rotates and fires. This of course can lead to a fatal side shot but its the players choice whether to turn the tank or not.
However, they left out one very very important feature: the ability to back up. They added it in the latest patch after several of us complained.

I can see the CC series having similar controls for armor. I have been successful the last few days backing up my armor after a shot and I have even been able to position the tank so the attack angle (after I stick my nose from behind a building) ... minimizes the time it takes to turn and face the enemy before shooting. I was so glad to see a couple of Panthers go up in smoke while playing the Houtton battle with these tactics.

Having the ability to rotate the turret to a firing angle other than to the front allows that much used tactic of fire and move. ... critical to survival it is.
User avatar
Southernland
Posts: 2283
Joined: Mon Nov 19, 2007 6:51 pm

RE: Impressions - Pathfinding/Maps

Post by Southernland »

Mirco-managing helps, add several waypoints just pror to where you want your tank to stop, the line between the final two in the derection you want the tank facing.
¡¡ʎɐqǝ uo pɹɐoqʎǝʞ ɐ ʎnq oʇ ƃuıoƃ ɯɐ ı ǝɯıʇ ʇsɐן ǝɥʇ sı sıɥʇ
User avatar
Platoon_Michael
Posts: 969
Joined: Sun Mar 09, 2003 5:14 am

RE: Impressions - Pathfinding/Maps

Post by Platoon_Michael »

I'm just kinda wondering if anything can/should be done to the Troisvierges Map?


Starting at The Old Town VL and moving South/Southwest the Elevation just climbs so severely that the Elevation just doesn't match up very well with the shading thus leaving one wonder why.
The Stug III isnt able to fire upon the M7 despite what appears to be a good LOS

Image
Attachments
UO0002.jpg
UO0002.jpg (430 KiB) Viewed 823 times
User avatar
SteveMcClaire
Posts: 4339
Joined: Mon Nov 19, 2007 9:31 pm

RE: Impressions - Pathfinding/Maps

Post by SteveMcClaire »

Thanks for the report.  I'll make a note of it for future updates.
 
User avatar
CSO_Talorgan
Posts: 804
Joined: Sat Mar 10, 2007 5:53 pm

RE: Impressions - Pathfinding/Maps

Post by CSO_Talorgan »

Out of interest, is this the sort of problem which the new 3D mapping system, in Panthers in the Fog, hopes to solve?
User avatar
SteveMcClaire
Posts: 4339
Joined: Mon Nov 19, 2007 9:31 pm

RE: Impressions - Pathfinding/Maps

Post by SteveMcClaire »

This is certainly one of the problems that a 3D engine will eliminate, yes.  You'll code terrain height by actually raising the lowering the 'ground' of the terrain itself.  So there's no way for there to be a mismatch.
 
 
Post Reply

Return to “Close Combat: Wacht am Rhein”