OpenXcom Forum

Modding => Help => Topic started by: Biggieboy on May 06, 2018, 09:39:24 am

Title: Recruitment office - is this possible?
Post by: Biggieboy on May 06, 2018, 09:39:24 am
Hi!

I wanna create Recruitment office, but i dont know, how can i do.. Build first this building, and after can buy this soldiers, but how definite this in ruleset?

"requests:" its for only research right?

Thank you!
Title: Re: Recruitment office - is this possible?
Post by: Nord on May 22, 2018, 03:46:26 pm
Mmmm.. Not sure, but maybe
    requiresBaseFunc: [SUPERBUILDING]
in soldier description will help?
And
    provideBaseFunc: [SUPERBUILDING]
In facility ruleset.
Title: Re: Recruitment office - is this possible?
Post by: Biggieboy on May 22, 2018, 04:36:53 pm
Mmmm.. Not sure, but maybe
    requiresBaseFunc: [SUPERBUILDING]
in soldier description will help?
And
    provideBaseFunc: [SUPERBUILDING]
In facility ruleset.

I try this, but not work:

Code: [Select]
facilities:
  - type: STR_TRAINING_ROOM
    provideBaseFunc: [TRAININGROOM]
..

soldiers:
  - type: STR_SOLDIER_ELITE
    costBuy: 180000
    costSalary: 30000
    requiresBaseFunc: [TRAININGROOM]
..
Title: Re: Recruitment office - is this possible?
Post by: bulletdesigner on May 22, 2018, 05:58:50 pm
do it by manufacture that way is possible
Title: Re: Recruitment office - is this possible?
Post by: Biggieboy on May 22, 2018, 07:27:00 pm
do it by manufacture that way is possible

Manufactur? And how? I think only items can manufacturing.
Title: Re: Recruitment office - is this possible?
Post by: bulletdesigner on May 22, 2018, 07:54:00 pm
  - name: STR_PROMOTE_Soldier
    category: STR_NEWONE
    requires:
      - STR_UNLOCKED1
    space: 1
    time: 500
    cost: 1000
    requiredItems:
      STR_SOMEGUY: 1
    producedItems:
      STR_SOMEITEM: 1
    spawnedPersonType: STR_SOLDIER_TYPE
Title: Re: Recruitment office - is this possible?
Post by: Biggieboy on May 22, 2018, 10:16:12 pm
HEY!

That's my idea of turning soldiers into Cyborgs, MEPS Troopers, MEC Troopers and other types of soldiers and classes via Manufacture, Genetics Lab, Cybernetic Lab or other.

Way to go, bulletdesigner! :D

@bulletdesigner,
You should check out my topic about these if you want. I'm just asking. :)
https://openxcom.org/forum/index.php/topic,6287.msg96473.html#msg96473

Looks good, but only pictures right?
Title: Re: Recruitment office - is this possible?
Post by: Solarius Scorch on May 22, 2018, 10:32:19 pm
    requiredItems:
      STR_SOMEGUY: 1
    producedItems:
      STR_SOMEITEM: 1

Sorry to be that guy, but shouldn't these be the other way around?