Author Topic: What are the lobby script commands for ship types?  (Read 787 times)

Offline Lokarin

  • Newbie Mark II
  • *
  • Posts: 14
What are the lobby script commands for ship types?
« on: June 18, 2013, 03:35:59 pm »
I'm talking about the second panel where you can turn Turrets, Parasites, Core Shields, Mines, Tractors, Starships, Etc on and off. (As well as choose between Simple, Normal, Complex - which I know is SetShipDifficulty)

I'm trying to create a lobby script that picks them randomly on or off, but I don't know the command for it.  It should be somewhere after SetShipDifficulty as far as I know.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: What are the lobby script commands for ship types?
« Reply #1 on: June 18, 2013, 03:40:13 pm »
For that you'd probably want to use:

RemoveAllOptionalShipCategories

Followed by 0 or more AddOptionalShipCategory operations (in if branches on random numbers or whatever)

The valid literal values for that are:

Cloaking
Teleporting
HeavyDefense
Mines
Parasites
Starships
Turrets
TractorBeams
CoreShieldGenerators
Swallowers
FastDrones
DireGuardianLairs
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!