Page 1 of 1
Unit Portrait
Posted: Mon Mar 06, 2023 4:47 am
by Rosedelio
Is it possible to make it so the icon with the selected unit has a still portrait like in Pike and Shot or Sengoku Jidai? Or is it forced to be the idle unit model animation? Unit texturing is a rare skill and I'm not sure how much I can edit to fit my mod idea.
Edit: Looking more into it, if it's at all possible, it's related to the defunct IconID column of the squads.csv file. Seems like the UI battle script file would be involved too. Is there a way to code this functionality back in or is it hardcoded out?
Re: Unit Portrait
Posted: Tue Mar 07, 2023 7:54 am
by rbodleyscott
Rosedelio wrote: ↑Mon Mar 06, 2023 4:47 am
Is it possible to make it so the icon with the selected unit has a still portrait like in Pike and Shot or Sengoku Jidai? Or is it forced to be the idle unit model animation? Unit texturing is a rare skill and I'm not sure how much I can edit to fit my mod idea.
If your modded units are good enough to appear on the battlefield, surely they are good enough to appear in the unit portrait? People will zoom in anyway.
Edit: Looking more into it, if it's at all possible, it's related to the defunct IconID column of the squads.csv file. Seems like the UI battle script file would be involved too. Is there a way to code this functionality back in or is it hardcoded out?
Conveivably, but it is an old feature left over from Pike and Shot, and you are pretty much on your own if you want to try to implement it.
Re: Unit Portrait
Posted: Tue Mar 07, 2023 2:53 pm
by Rosedelio
rbodleyscott wrote: ↑Tue Mar 07, 2023 7:54 am
Rosedelio wrote: ↑Mon Mar 06, 2023 4:47 am
Is it possible to make it so the icon with the selected unit has a still portrait like in Pike and Shot or Sengoku Jidai? Or is it forced to be the idle unit model animation? Unit texturing is a rare skill and I'm not sure how much I can edit to fit my mod idea.
If your modded units are good enough to appear on the battlefield, surely they are good enough to appear in the unit portrait? People will zoom in anyway.
Edit: Looking more into it, if it's at all possible, it's related to the defunct IconID column of the squads.csv file. Seems like the UI battle script file would be involved too. Is there a way to code this functionality back in or is it hardcoded out?
Conveivably, but it is an old feature left over from Pike and Shot, and you are pretty much on your own if you want to try to implement it.
Ah, alright. I'll stick to my original plan of releasing with just armies and banners first. Then I'll worry about textures later.