Page 1 of 1
AI wont use scaling option?
Posted: Wed Sep 14, 2016 12:01 am
by orelbon
I was playing around in game, and decided i wanted to use the scaling option, but i wanted to make all the ships scaled including the AI designed ones. However it seems the AI is set to disregard that completely and do what ever it wants. I looked around the settings and couldn't find anything regarding scaling for the AI. Is there any way to make the AI use ship scaling?
RE: AI wont use scaling option?
Posted: Mon Oct 31, 2016 1:28 am
by syntaXerroR
Scaling only changes the size of the sprites. It has no game play effect other that aesthetics.
RE: AI wont use scaling option?
Posted: Tue Nov 01, 2016 6:11 pm
by Retreat1970
Is there any way to make the AI use ship scaling?
Sorry, no.
RE: AI wont use scaling option?
Posted: Thu Mar 30, 2017 10:58 am
by RogerBacon
What if you change the size of the bmp file. Will that result in larger/smaller ship images?
RE: AI wont use scaling option?
Posted: Mon Dec 02, 2019 10:21 am
by sneo24
So, I tried too.
Added the ImageScaling ;Scaled 0.8
At the beggining of the .txt template
at EVERY. SINGLE. CUSTOMIZED. DESIGNTEMPLATE. (yeap, that's a week in my life non coming back)
It didn't work. It send it a very large amount of error report.
So sad

AI wont use scaling option?
Posted: Mon Dec 02, 2019 4:26 pm
by rjord2021
ORIGINAL: sneo24
So, I tried too.
Added the ImageScaling ;Scaled 0.8
At the beginning of the .txt template
at EVERY. SINGLE. CUSTOMIZED. DESIGNTEMPLATE. (yeap, that's a week in my life non coming back)
It didn't work. It send it a very large amount of error report.
So sad
Hi sneo24
I saw you had tried scaling when it comes to the AI and had errors.....and I thought I would add my two cents.
Below is an example where I was playing the Empire (red) with the Rebel Alliance(green) as the AI.
Yes you can get the AI to use image scaling. If you look at the picture below I changed the scaling of an X-Wing so that it was huge compared to the other ships.
With the X-Wing I have the image scaling lines as ImageScaling ;Absolute 300
With the Millenium Falcon the image scaling is ImageScaling ;Absolute 120
With the red Imperial Freighter, image scaling is ImageScaling Scaled 5.0 much smaller than first 2.
This is probably because I did not use the ; in the line before Scaled.
So the answer is yes you can get the AI to use image scaling but it will depend on the image as well.
If I recall the scaling is affected by the amount of space around the ship graphic.
So I make sure I have the ship filling the entire image which has a size of 300 x 300.
The trick is to add the image you want and test the scaling. Some pictures will scale properly, others will not.
Also where you have ImageScaling ;Scaled 0.8 you may not see a difference
Try ImageScaling ;Absolute 120 or ImageScaling ;Absolute 300
Remember : test as you do each race instead of testing after doing all of them and then finding it did not work.

RE: AI wont use scaling option?
Posted: Mon Dec 02, 2019 4:31 pm
by rjord2021
The design template below drew the large X-Wing showed in the black box in the prior post..... the black box being an image 300 x 300 pixels in size
-------------------------------------------------------------------------------------------------------------------
'Distant Worlds Design Template - 1.9.0.0
'Specify amounts of each component type below. The amount should be a whole number greater than or equal to zero, and should be placed immediately after the semi-colon.
'Note that it is not necessary to specify Command Center, Life Support or Hab Module components. A sufficient number of each of these components will automatically be added to all designs.
'Also note that while Reactors and Energy Collectors can be specified here, an adequate amount of these components will always be added to meet the energy needs of the design.
'Also, for ships you do not need to specify a HyperDrive - a single hyperdrive will always automatically be added to ship design templates.
'Escort ship type
ImageScaling ;Absolute 300
AreaShieldRecharge ;0
Armor ;3
AssaultPod ;0
CargoBay ;0
ColonizationModule ;0
CombatTargettingSystem ;1
CommerceCenter ;0
ConstructionYard ;0
CountermeasuresSystem ;1
DamageControl ;1
DockingBay ;0
EnergyCollector ;1
EnergyManufacturingPlant ;0
EnergyResearchLab ;0
EnergyToFuelConverter ;0
Engine ;6
FighterBay ;0
FleetCountermeasuresSystem ;0
FleetTargettingSystem ;0
FuelCell ;2
GasExtractor ;0
GravityWellProjector ;0
HighTechManufacturingPlant ;0
HighTechResearchLab ;0
HyperDeny ;0
IonCannon ;0
IonDefense ;1
IonPulse ;0
LongRangeScanner ;0
LuxuryResourceExtractor ;0
MedicalCenter ;0
MiningEngine ;0
PassengerCompartment ;0
PointDefense ;0
ProximityArray ;1
Reactor ;1
RecreationCenter ;0
ResourceProfileSensor ;0
ScannerJammer ;0
Shields ;1
StealthCloak ;1
TraceScanner ;0
TroopCompartment ;0
VectoringEngine ;1
WeaponArea ;0
WeaponBeam ;0
WeaponBombard ;0
WeaponMissile ;0
WeaponPhaser ;3
WeaponRailGun ;0
WeaponsManufacturingPlant ;0
WeaponsResearchLab ;0
WeaponSuperBeam ;0
WeaponTorpedo ;0
WeaponTractorBeam ;0
WeaponGravitonBeam ;0
WeaponAreaGravity ;0
RE: AI wont use scaling option?
Posted: Mon Dec 02, 2019 4:58 pm
by rjord2021
To show that the image scaling works for AI-controlled ships, below is the same X-Wing as in the previous picture but with
ImageScaling ;Absolute 500

RE: AI wont use scaling option?
Posted: Mon Dec 02, 2019 6:58 pm
by sneo24
I see what you did. My intention was to reduce the scale mostly of escorts, frigates and ore mining bases. But is like you said, there is a lot to consider.
Thank you very much!
RE: AI wont use scaling option?
Posted: Mon Dec 02, 2019 8:14 pm
by rjord2021
ImageScaling ;Absolute ranges from 10 to 1000..... if you want escorts, frigates and ore mining bases to be smaller you can go as far down as ImageScaling ;Absolute 10.
With the highet value of ImageScaling ;Absolute 1000 I doubt you would ever need to go above 1000..... but that depends on the graphic being used.
I ise Imagescaling absolute as I found it gave me the best results on a pixel basis.