Author Topic: [Answered] percentageOutsideUfo not functioning with customUfo+addUfo  (Read 176 times)

Offline Delian

  • Colonel
  • ****
  • Posts: 257
    • View Profile
When a deployment for a mission site (alien mission with objective: 3) uses customUfo setting and then uses an addUFO mapscript command, the added ufo is currently not recognized as an actual ufo, so in the deployment data, the percentageOutsideUfo setting of the deployed units is ignored when placing units on the map.

I suggest that the functionality of "percentageOutsideUfo" be extended to work for mission sites that had a custom ufo placed on them. This would make it easier for modders to control how enemy units are deployed on such missions.
« Last Edit: April 29, 2024, 01:57:21 am by Delian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8666
    • View Profile
Re: percentageOutsideUfo not functioning with customUfo+addUfo
« Reply #1 on: April 21, 2024, 03:25:58 pm »
Not a bug.

It works as intended (and as documented).

Please open a suggestion, if a new functionality is desired.

Offline Delian

  • Colonel
  • ****
  • Posts: 257
    • View Profile
Re: percentageOutsideUfo not functioning with customUfo+addUfo
« Reply #2 on: April 21, 2024, 03:58:04 pm »
Ah, sorry, didn't read documentation carefully enough. As for making a suggestion, I can't, because I'm not a modder and it's not a QoL suggestion.

However, one thing I can say is that most deployments in XPZ have custom (not 0 or 100) percentageOutsideUfo value set for each unit, even though it doesn't function. So I can only assume that Dio thought percentageOutsideUfo worked for mission sites as he put some thought into what value to set each time.

Well, nevermind then. Can be closed.
« Last Edit: April 21, 2024, 04:17:56 pm by Delian »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11473
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Answered] percentageOutsideUfo not functioning with customUfo+addUfo
« Reply #3 on: April 21, 2024, 11:57:02 pm »
For what it's worth, making percentageOutsideUfo work with customUfo would be very useful to me. Seconded!

Offline Delian

  • Colonel
  • ****
  • Posts: 257
    • View Profile
Re: [Answered] percentageOutsideUfo not functioning with customUfo+addUfo
« Reply #4 on: April 22, 2024, 12:17:37 am »
Ok, since SS is interested and he is a modder... I edited the first post into a suggestion.
« Last Edit: April 29, 2024, 02:00:35 am by Delian »