Author Topic: Player controlled civilians (brainstorming) ?  (Read 2932 times)

Offline robin

  • Commander
  • *****
  • Posts: 1226
  • ULTIMATE ROOKIE
    • View Profile
Player controlled civilians (brainstorming) ?
« on: October 22, 2019, 10:59:24 pm »
Wanting to discuss an idea.
Theoretically, exploiting the item-spawn-unit mechanic, you should be able to populate the map with civilians under direct control of the player.
You have to disseminate the map with such items, with the flag that the unit spawned is player-controlled, pre-primed to go off on round 0 (this last bit should be doable, it is already used in X-Piratez to make minefields AFAIK).
The units spawned in this scenario are civilians (at least looks-wise) and they could also be armed too (using the builtInWeapons entry on the unit definition); but of course they could be any third party units that fit whatever narrative the mod adopts (soldiers, cops, friendly aliens).

(Then -but this is unrelated- I guess it is also possible to bring home the surviving "civilians" on the craft and turn them into regular soldiers... still haven't looked into those mechanics tho').

It it feasible or am I missing something?
Is anyone already doing this?

Thanks
« Last Edit: October 22, 2019, 11:07:02 pm by robin »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9144
    • View Profile
Re: Player controlled civilians (brainstorming) ?
« Reply #1 on: October 22, 2019, 11:04:57 pm »
Yes, all of this is doable (already).

EDIT: You can't bring them home in the craft as soldiers... they are unsummonned at the end of the battle... but they can be transformed into real civilians instead of being unsummonned and you can use civilian recovery to turn them into soldiers/scientists/engineers/etc.
« Last Edit: October 22, 2019, 11:08:45 pm by Meridian »

Offline robin

  • Commander
  • *****
  • Posts: 1226
  • ULTIMATE ROOKIE
    • View Profile
Re: Player controlled civilians (brainstorming) ?
« Reply #2 on: October 22, 2019, 11:07:53 pm »
This is great, so many possibilities!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9144
    • View Profile
Re: Player controlled civilians (brainstorming) ?
« Reply #3 on: October 22, 2019, 11:14:41 pm »

Offline robin

  • Commander
  • *****
  • Posts: 1226
  • ULTIMATE ROOKIE
    • View Profile
Re: Player controlled civilians (brainstorming) ?
« Reply #4 on: October 22, 2019, 11:21:38 pm »
Thanks a lot. I'll definitely use this stuff sooner or later.