.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Campaigns, Scenarios & Maps (http://forum.shrapnelgames.com/forumdisplay.php?f=140)
-   -   Trench project (http://forum.shrapnelgames.com/showthread.php?t=53097)

DRG April 14th, 2024 08:44 AM

Trench project
 
Here's a little project for anyone interested in helping solve a mystery

set up a defensive game
buy 20 points worth of Mines/DT/Trenches/BW x5

That will allow you to 10 of those

Lay trenches
Delete sections and re- lay them again
Do that a number of times
Keep track of how many of them you have laid and how many points you have left
Try clicking on hexes using the trench button after your points are zero

Report any weirdness or if you didn't see any weirdness

dTerm April 16th, 2024 12:59 PM

Re: Trench project
 
2 Attachment(s)
Don, I set up a game as you described and observed the following:

- When removing the trenches, one trench element remained and I wasn't able to remove it

- The build points didn't fully increase, it stopped at 19

- When laying again I was able to lay one, sometimes two, trenches more than should be (with build points at zero that is)

If you need more detailed info or specific setup, or savegame file, etc., let me know. ;)

I am not sure though, whether the left over trenches are treated as such, or are just graphic glitches, like the green junk.

I attached two image files, but they are quite ugly, because of upload filesize limits... :o

DRG April 16th, 2024 04:34 PM

Re: Trench project
 
What we have found is this issue morphs depending on who is doing it and when. I found an email I made to Andy last summer showing it but I CANNOT recreate it now following the steps I detailed

We have seen the "one left behind" issue. I found laying more trench over it then deleting that trench *usually* gets rid of it but not always and I have seen one point allow many hexes of trench to be laid but that was months ago and I cannot get the same thing now but I have managed to get trenches that show on the map as trenches but do not report as being trench

Andy is looking into it but it is looking like this might remain a weird little game quirk for all time but it DOES haves it's uses.... if you are on defence......which you would be if you are playing with trenches you can use them to clear lanes of fire by laying them then deleting them......which pioneers do with chainsaws and bulldozers in RL so ITS NOT A BUG......ITS A FEATURE:D

RE screenshots--------- set up an account with Imgur and you can post good-quality screenshots

https://imgur.com/

THANK YOU for putting in the effort to test this for us.

WilliamB April 17th, 2024 10:17 AM

Re: Trench project
 
I tried it and had the same thing happen. Only got 19 points back after removing the trenches.

DRG April 17th, 2024 03:49 PM

Re: Trench project
 
Quote:

Originally Posted by WilliamB (Post 856338)
I tried it and had the same thing happen. Only got 19 points back after removing the trenches.


What that makes me think of is a "count from zero" vs. a "count from one" issue.

BOTH ways are used in this code because it had already evolved from other older code long before we ever saw it

DRG April 17th, 2024 04:08 PM

Re: Trench project
 
Was a field ( any kind ) involved with your test ?

WilliamB April 17th, 2024 05:42 PM

Re: Trench project
 
Yes.

DRG April 17th, 2024 09:06 PM

Re: Trench project
 
Andy noticed some of the odd behaviour appeared to be connected to fields and is looking into that aspect

dTerm April 18th, 2024 10:19 AM

Re: Trench project
 
1 Attachment(s)
I reproduced this on a desert map, with clear, sand, soft sand and earth.

I discovered, that when extending the ends of the laid trenches, I was able to keep on laying much more of them, way beyond of the allowed numbers. :eek:

WilliamB April 18th, 2024 11:34 AM

Re: Trench project
 
I tried it again, using both desert and flat terrain (no fields). Got the same result, only 19 points after removing the trenches.


All times are GMT -4. The time now is 06:21 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.