Author Topic: [DONE] Instant Battle - Hide entries  (Read 3873 times)

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
[DONE] Instant Battle - Hide entries
« on: December 14, 2019, 09:52:11 pm »
Hello,
 So doing a hybrid mod means i need to duplicate a lot of entries, Sure these are needed for testing and tracking issues but i fear the end user ( who eventually tries the mod) is going to be scared away if he just wants a quick battle.

Can we have someway to hide some items from the Instant battle screen and prevent them from being used when RANDOM BUTTON is selected? Im thinking we add a extra line of code into the ITEMS/CRAFTS etc and have a toggle button somewhere on screen to show/hide if needed...

Thoughts?
« Last Edit: December 26, 2019, 04:57:46 pm by Meridian »

Offline Stoddard

  • Colonel
  • ****
  • Posts: 485
  • in a fey mood
    • View Profile
    • Linux builds & stuff
Re: Instant Battle - Hide entries
« Reply #1 on: December 15, 2019, 10:19:18 am »
This hiding sort of defeats the use of quick battle as a testing tool I'm afraid.

And heaping another setting to disable the hiding setting for the purposes of testing (ha, try to define when it's testing and when it's not...) on top of everything, well, it just complicates things more, not less.

my 2c

Entirely possible that QB UI gets too cluttered. But I think something other has to be done, not crippling it.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Instant Battle - Hide entries
« Reply #2 on: December 16, 2019, 02:54:49 am »
Maybe if debug is enable it show all positions and when not, only show modder designed missions

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: Instant Battle - Hide entries
« Reply #3 on: December 22, 2019, 10:11:21 pm »
Maybe if debug is enable it show all positions and when not, only show modder designed missions

Such a simple solution, that would work perfectly in my opinion :)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9106
    • View Profile
Re: Instant Battle - Hide entries
« Reply #4 on: December 26, 2019, 04:57:27 pm »
done

"isHidden" attribute in alienDeployments
« Last Edit: December 26, 2019, 04:59:35 pm by Meridian »

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: [DONE] Instant Battle - Hide entries
« Reply #5 on: December 27, 2019, 10:21:32 pm »
Thankyou Meridain,
 Can you confirm the syntax, i just downloaded V6.2 to test but this is not currently setup in the Ruleset validation so i thought i better ask to be sure :)

Also will the same work for underwater versions of Armour?


Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9106
    • View Profile
Re: [DONE] Instant Battle - Hide entries
« Reply #6 on: December 27, 2019, 10:31:29 pm »
v6.2 is a month old... I did this feature yesterday... wait for v6.3

and it is "isHidden: true" (capital H) not "ishidden: 1"

it works only for alien deployments... you can already hide armors some other way... check piratez for example