Skip to content

Tiberium Custom Image - #2327

Open
GreyVacuum wants to merge 10 commits into
Phobos-developers:developfrom
GreyVacuum:INI-Tiberiums-Image
Open

Tiberium Custom Image#2327
GreyVacuum wants to merge 10 commits into
Phobos-developers:developfrom
GreyVacuum:INI-Tiberiums-Image

Conversation

@GreyVacuum

@GreyVacuum GreyVacuum commented Aug 5, 2026

Copy link
Copy Markdown

Tiberium Custom Image

Tiberium types can now use custom overlay images and override NumFrames, NumImages, and NumSlopes values.

Priority: Per-Tiberium CustomImage > Global Tiberium.ImageX > Game engine defaults.

Per-Tiberium configuration (in rulesmd.ini):

[SOMETIBERIUM]  ; Tiberium type name
CustomImage=                   ; OverlayType name, default: game engine default
CustomImage.NumFrames=         ; integer, default: game engine default
CustomImage.NumImages=         ; integer, default: game engine default
CustomImage.NumSlopes=         ; integer, default: game engine default

Global configuration (only applies to built-in Tiberium types Image1-4, in [General] section):

[General]
Tiberium.Image1=               ; OverlayType name, default: game engine default
Tiberium.Image1.NumFrames=     ; integer, default: game engine default
Tiberium.Image1.NumImages=     ; integer, default: game engine default
Tiberium.Image1.NumSlopes=     ; integer, default: game engine default

Tiberium.Image2=               ; OverlayType name, default: game engine default
Tiberium.Image2.NumFrames=     ; integer, default: game engine default
Tiberium.Image2.NumImages=     ; integer, default: game engine default
Tiberium.Image2.NumSlopes=     ; integer, default: game engine default

Tiberium.Image3=               ; OverlayType name, default: game engine default
Tiberium.Image3.NumFrames=     ; integer, default: game engine default
Tiberium.Image3.NumImages=     ; integer, default: game engine default
Tiberium.Image3.NumSlopes=     ; integer, default: game engine default

Tiberium.Image4=               ; OverlayType name, default: game engine default
Tiberium.Image4.NumFrames=     ; integer, default: game engine default
Tiberium.Image4.NumImages=     ; integer, default: game engine default
Tiberium.Image4.NumSlopes=     ; integer, default: game engine default
**About global vs. per-Tiberium configuration**:
- Global `Tiberium.ImageX` settings only apply to the 4 built-in Tiberium types (Image1-4).
- For custom Tiberium types, use `CustomImage` under the individual type's section.
- `Image=1-4` is the game's native setting that refers to a built-in Tiberium type.
- `CustomImage=Name` is a Phobos feature that replaces the image with a custom OverlayType by name.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

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.

Comment thread docs/Whats-New.md
Comment thread docs/Whats-New.md Outdated
Comment thread docs/New-or-Enhanced-Logics.md
Comment thread docs/New-or-Enhanced-Logics.md Outdated
Comment thread src/Ext/Rules/Body.cpp Outdated
Comment thread src/Ext/Rules/Body.h Outdated
Comment thread src/Ext/Rules/Body.h
Comment thread docs/locale/zh_CN/LC_MESSAGES/New-or-Enhanced-Logics.po Outdated
Comment thread docs/locale/zh_CN/LC_MESSAGES/New-or-Enhanced-Logics.po Outdated
Comment thread docs/New-or-Enhanced-Logics.md Outdated
@GreyVacuum

Copy link
Copy Markdown
Author

@DeathFishAtEase Changes have been made, please review again; if there are any issues, I will continue.

@phoboscn-bot

Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/700/1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants