|
|
|
Notices |
Do you own this game? Write a review and let others know how you like it.
|
|
|
May 28th, 2021, 09:58 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
My tests so far show that if I place a multihex building, no matter if it's wood or stone residential or a "specialty" building.....if it does not have a part of the building in the first hex ( that is the registration hex.. the hex you clicked on to place the building ) I see a paved road reported in that hex.
If anyone sees differently let us know
|
The Following 2 Users Say Thank You to DRG For This Useful Post:
|
|
May 28th, 2021, 10:41 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
This is one of those things that once known is so obvious it seems impossible for it to have existed so long but it has.
Anyone interested can try this experiment
Place 6 multi hex buildings spaced a few hexes apart that have no part of the building in the hex you clicked on to place them
after you are done move your cursor over those hexes and you should see paved road reported
Now place map editor page one clear terrain on those registration hexes.. that's the clear terrain that is level zero
All the buildings should be gone
Now, look at the mini-map. You should still see the shape of where they were
Now change to winter ( this assumes you started the experiment in summer )
Pass your cursor over the area you placed those buildings hex by hex and every time you find one that reports paved road click on it with the clear terrain snow
You should see something like this............
What I found is why some of these older scenarios and probably the newer ones too that show strange residual paved road is because editing had been done that did not clear down all hexes that building was placed in and this is what we need to investigate in the code. Why an empty registration hex places a paved hex and why paved hexes are left behind when the building is removed when only the registration hex is cleared
SO........ Please note when building a map in case the cause of this cannot be found..... when you change your mind about the placement of a multi hex building you MUST clear down the entire area the building had been NOT just the registration hex
As well be aware that even if you place a multi hex building that DOES have a building in the registration hex and then you remove it by placing clear terrain in the registration hex ANY HEX THAT BUILDING HAD OCCUPIED WILL REPORT PAVED ROAD.
So any "change of mind" when it comes to placing multi hex buildings EVERY hex they had occupied MUST be cleared using page one clear terrain to remove all traces of the paved road bug otherwise it will report being paved road
Last edited by DRG; May 29th, 2021 at 08:46 AM..
|
The Following User Says Thank You to DRG For This Useful Post:
|
|
May 28th, 2021, 12:43 PM
|
|
First Lieutenant
|
|
Join Date: Mar 2011
Location: Ohio
Posts: 788
Thanks: 1,257
Thanked 576 Times in 313 Posts
|
|
Re: Multi-layer and hex buildings
...or let ReLT fine it in my scenarios and have me go back and fix it lol...
Great find DRG
__________________
ASL
|
The Following User Says Thank You to zovs66 For This Useful Post:
|
|
May 28th, 2021, 01:50 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
and further FYI using " clear damage" with the extended editor does not remove them because paved roads are not "damage"
|
The Following User Says Thank You to DRG For This Useful Post:
|
|
May 28th, 2021, 06:23 PM
|
|
National Security Advisor
|
|
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
|
|
Re: Multi-layer and hex buildings
The placement of multi-hex buildingss works for generated battles. It also works for scenarios, so long as you then do not remove them, otherwise you will manually have to remove the paving/road heses the building splatters as part of its deployment.
The game keeps no records that building #1234 "owns" these splattered hexes. So in order to remove them, I think I'll have to examine the placement code for building #1234 and find its splatter pattern and then remove them with the building. That will need to be done if the building is simply deleted, or if it gets replaced with another one I think. Right now, there is no such code for the removal of any such splatter - it just deletes building #1234 and leaves the splatter.
Doable, but not going to be fun!.
|
May 28th, 2021, 07:09 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
It * may* be that the solution is simple...its FINDING the solution that is difficult. We now know what is happening and how to prevent it from being a issue in a final scenario and that might be all you get
|
May 28th, 2021, 07:21 PM
|
|
First Lieutenant
|
|
Join Date: Mar 2011
Location: Ohio
Posts: 788
Thanks: 1,257
Thanked 576 Times in 313 Posts
|
|
Re: Multi-layer and hex buildings
SP2: yes it automatically places the paved road as per the screen shots.
__________________
ASL
|
May 28th, 2021, 07:24 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
OK that likely explains why then having stray paved road around the building was not an issue and MAYBE stray paved road around the building is WHY pavement was pasted down around them
|
The Following User Says Thank You to DRG For This Useful Post:
|
|
May 28th, 2021, 07:28 PM
|
|
First Lieutenant
|
|
Join Date: Mar 2011
Location: Ohio
Posts: 788
Thanks: 1,257
Thanked 576 Times in 313 Posts
|
|
Re: Multi-layer and hex buildings
Yep, as soon as I saw it splatter all the grey I was like that’s why...
I just adapted as I went along in creating all my scenarios.
__________________
ASL
|
May 29th, 2021, 09:30 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
|
|
Re: Multi-layer and hex buildings
The original code as written has 8 types of buildings
0=GOVERNMENT
1=INDUSTRIAL
2=RESIDENTIAL
3=BUSINESS
4=OIL REFINERY
5=AIRFIELD
6=RADAR
7=SINGLE HEX
and there are four sets of code for the 7 MULTIPLE HEX BUILDINGS
one for type 0 , 4 , 5 and 6
one for type 1
one for type 2
and one for type 3
and there are subtle differences ( and randoms...there are always randoms ) in each set up for ground height. overall building height and density, as well, some use wood building code and others use "stone" building code
And the original SP2 code references "gpaved" 158 times ( SP3 only 115 times ) but in MBT it's referenced 274 times and in SPWW2 it's 284 times so this probably can be sorted out but it's not something glaringly obvious ATM so in the meantime if you place a multi then remove it make sure you clear every hex it had been on especially if you "dog pile" buildings and be aware that if the registration hex does not have a part of the building in it there will be a paved road showing so those would be best placed where you were going to have a paved road anyway
|
The Following 4 Users Say Thank You to DRG For This Useful Post:
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|