Skip to content

[Vanilla Enhancement] Crush level system #1616

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

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

NetsuNegi
Copy link
Contributor

@NetsuNegi NetsuNegi commented Apr 8, 2025

  • It's possible to customize crush level and crushable level for now. Rolling is only allowed when the CrushLevel of the compactor is greater than the CrushableLevel of the crushed object.
  • 现在可以指定碾压与被碾压等级了。当且仅当碾压者的碾压等级大于目标的被碾压等级时才可以进行碾压。

In rulesmd.ini

[General]
CrusherLevel=5                            ; integer
CrushableLevel=5                          ; integer
OmniCrusherLevel=10                       ; integer
OmniCrushResistantLevel=10                ; integer

[WallModel]
WallCrushableLevel=10                     ; integer

[SOMEUNIT]                                ; Crusher
CrushLevel=                               ; integer
CrushLevel.Veteran=                       ; integer
CrushLevel.Elite=                         ; integer

[SOMETECHNO]                              ; infantry, unit, aircraft
CrushableLevel=                           ; integer
CrushableLevel.Veteran=                   ; integer
CrushableLevel.Elite=                     ; integer

[SOMEINFANTRY]
DeployedCrushableLevel=                   ; integer
DeployedCrushableLevel.Veteran=           ; integer
DeployedCrushableLevel.Elite=             ; integer

Copy link

github-actions bot commented Apr 8, 2025

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@TaranDahl TaranDahl added ❓New feature ⚙️T2 T2 maintainer review is sufficient labels Apr 8, 2025
@NetsuNegi NetsuNegi changed the title Crush level system [Vanilla Enhancement] Crush level system Apr 11, 2025
@NetsuNegi NetsuNegi added ⚙️T1 T1 maintainer review is sufficient and removed ⚙️T2 T2 maintainer review is sufficient labels Apr 17, 2025
Copy link
Contributor

@Coronia Coronia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be better to use Promotable for those variables that got changed by veterancy

@Coronia Coronia requested a review from CrimRecya April 21, 2025 02:34
@NetsuNegi NetsuNegi requested a review from Coronia April 21, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs testing ❓New feature ⚙️T1 T1 maintainer review is sufficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants