Skip to content

[Vanilla Enhancement] Crush level system#1616

Open
NetsuNegi wants to merge 28 commits intoPhobos-developers:developfrom
NetsuNegi:origin/feature/crush_level
Open

[Vanilla Enhancement] Crush level system#1616
NetsuNegi wants to merge 28 commits intoPhobos-developers:developfrom
NetsuNegi:origin/feature/crush_level

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
BuildingCrushableLevel=                   ; 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

@github-actions
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
@Starkku Starkku force-pushed the develop branch 2 times, most recently from b429215 to 280b1c8 Compare June 29, 2025 19:13
@TaranDahl
Copy link
Contributor

Tested by @Flactine

Copy link
Contributor

@TaranDahl TaranDahl 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 best if AE could be allowed to adjust the level.
However, the current code is extensible enough, so this is just an optional item.

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

Labels

❓New feature ⚙️T1 T1 maintainer review is sufficient Tested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants