Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D2K - Concrete Doesn't Gives Buildable Area #5931

Open
MustaphaTR opened this issue Jul 11, 2014 · 15 comments
Open

D2K - Concrete Doesn't Gives Buildable Area #5931

MustaphaTR opened this issue Jul 11, 2014 · 15 comments

Comments

@MustaphaTR
Copy link
Member

MustaphaTR commented Jul 11, 2014

Concrete isn't giving buildable area like there;
image

Edit (by @penev92):

Intended behaviour:

1. Concrete gives buildable area to its owner regardless of distance.
2. You can't place concrete on enemy concrete,
3. But you can place your buildings on enemy concrete if close enough to your base

Prerequisites:

  1. Change the CustomTerrain "layer" to support ownership and HP per cell.
  2. Make D2k concrete destructible and aware of the owner.
@phrohdoh
Copy link
Member

AFAIK this is intentional. If concrete gave buildable area then you could build anywhere easily.

@MustaphaTR
Copy link
Member Author

I used them for build barracks and capture building system at normal D2K. It is very useful against AI.

@Mailaender
Copy link
Member

I consider it an exploit in the original game such as base walking with sandbags in Tiberian Dawn.

@pchote
Copy link
Member

pchote commented Nov 4, 2017

I think this warrants at least further discussion. This behaviour is part of the core d2k gameplay (they even refer to it in the game's readme.txt), and we are aiming for d2k to be faithful to this.

Generalizing our adjacency logic to allow mods to define alternative behaviour is also good for the general flexibility of the engine / common RTS code.

@pchote pchote reopened this Nov 4, 2017
@penev92
Copy link
Member

penev92 commented Nov 5, 2017

I consider destructible concrete a hard prerequisite here. Also building your own concrete over enemy concrete.
Otherwise this would be a straight-up exploit.

@MustaphaTR
Copy link
Member Author

Also building your own concrete over enemy concrete.

That was not the case in original.

@penev92
Copy link
Member

penev92 commented Nov 6, 2017

Did the original force you to destroy it before you can put your own there?
That sounds more like an unintended side effect than an intentional feature :|

@MustaphaTR
Copy link
Member Author

You can place own buildings on enemy concrete. Just not more concrete on already concreted area,which is an effective way to prevent capture-building, place-cconcrete, build-barracks, capture-more style basepush i often use against AI in original game.

@penev92
Copy link
Member

penev92 commented Nov 8, 2017

OK, so...

  1. Concrete gives buildable area to its owner regardless of distance.
  2. You can't place concrete on enemy concrete,
  3. But you can place your buildings on enemy concrete if close enough to your base

Sounds a bit odd, but OK. Did I sum it up correctly?

@MustaphaTR
Copy link
Member Author

Yes.

@penev92 penev92 mentioned this issue Nov 10, 2017
45 tasks
@Mailaender
Copy link
Member

I wonder how we could implement this. At the moment the concrete actor KillsSelf after LaysTerrain. Shall we keep it alive until no custom terrain tiles are left?

@pchote
Copy link
Member

pchote commented Sep 15, 2018

The concrete layer should grant buildable area from the cells that are owned.

@pchote
Copy link
Member

pchote commented Nov 25, 2020

Related: #18853.

@Orb370
Copy link
Contributor

Orb370 commented May 4, 2021

Does capturing a building give you ownership of the concrete underneath it?

@MustaphaTR
Copy link
Member Author

MustaphaTR commented May 5, 2021

Does capturing a building give you ownership of the concrete underneath it?

No it did not. You had to build a concrete yourself to be able to place buildings to enemy bases later after capturing stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants