OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: bulletdesigner on January 22, 2018, 02:16:05 am
-
Custom armor preview for a 2x2 unit
can someone make this change/add to sugestions for 2x2 armored units?
armors:
- type: exemple
customArmorPreviewIndex: [5, 6]
and using the both slots 5 and 6 in this case !
-
Yes, I will make support for larger armor previews.
-
Will be available in the next release
extraSprites:
- type: CustomArmorPreviews
width: 120
height: 20
subX: 12
subY: 20
files:
0: Resources/GUI_Soldiers.png
- type: CustomItemPreviews
width: 120
height: 20
subX: 12
subY: 20
files:
0: Resources/GUI_Items.png
armors:
- type: STR_PERSONAL_ARMOR_UC
customArmorPreviewIndex: 1
- type: STR_POWER_SUIT_UC
customArmorPreviewIndex: [2, 3]
items:
- type: STR_TANK_LASER_CANNON
customItemPreviewIndex: 1
- type: STR_HOVERTANK_PLASMA
customItemPreviewIndex: [2, 3]
-
Nicceeee
-
well it works perfectly but i have to use 3 spaces
-
But it looks so fantastic!
-
But it looks so fantastic!
Seconded
-
@bulletdesigner
I noticed you are using 12x20 sprites like Dioxine... who used it only to see more clearly the beginning and the end of each sprite... and maybe to have easier calculations...
...but, the game will only render the 10x18 (from top left)... so it may be easier for you to switch to such size... instead of splitting the big units as seen in the attachment
PS: also, 1x1 units may be a bit too wide too... looks like they take more than 10 pixels sometimes
-
@bulletdesigner
I noticed you are using 12x20 sprites like Dioxine... who used it only to see more clearly the beginning and the end of each sprite... and maybe to have easier calculations...
...but, the game will only render the 10x18 (from top left)... so it may be easier for you to switch to such size... instead of splitting the big units as seen in the attachment
PS: also, 1x1 units may be a bit too wide too... looks like they take more than 10 pixels sometimes
yes i noticed something was off, but i like the end result, like soldier stacking up and the last one get more pixels. But i will take the info into account if a make a new 2x2 prev thks for the hand