OpenXcom Forum
Modding => Help => Topic started by: Dusken77 on April 12, 2022, 06:52:42 am
-
Hi, I've had an idea to make a mod that allows you to convert aliens to xcom's side, but I can't find something like that anywhere. so instead of griping about it, I'm going to make it myself. but.. how? where do I begin? I know it's possible, but I think I'll need some tips.
-
How exactly should it work? By brainwashing captured aliens, or something more involved?
-
Possibly, or maybe there's a chance to peacefully convince them to defect to the human's side. possibly an additional research tree or something?
-
Possibly, or maybe there's a chance to peacefully convince them to defect to the human's side. possibly an additional research tree or something?
Yeah, whether actual brainwashing or civilised argumentation is a matter of lore; I was just making sure that you want to use captured units for this.
I don't have an actual code for this right now, but the steps would be:
- Create a new soldier type, name it to example STR_SECTOID.
- Make a new manufacturing project which requires a live Sectoid and has the flag spawnedPersonType, pointing to STR_SECTOID.
This is the gist of it; the rest are details.