OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: krautbernd on May 05, 2019, 01:30:47 pm
-
Would it be possible to also tie the 'allowCountriesToCancelAlienPact' option to a specific mission or research? Assaulting alien bases to cancel the pacts ties in nicely if you play vanilla, but i think for mods it would be nice to have additional options/requirements. That way you could implement missions to round up alien collaborators, black-mail government officials etc. - would this even be possible given the current research and mission generation system (given that inifiltrations can happen multiple times per country)?
-
don't know, give me a specific example
EDIT: I'd suggest letting the alien base generate a new mission. The player would have to win this mission to obtain a unique item. This item can be used as pre-requisite to enter the alien base and cancel the pact.
-
Aliens infiltrate a country. Instead of destroying the alien base you get a mission to recover evidence from a government facility or to take out/assassinate alien collaborators. Researching the evidence cancels the alien pact / completing the assassination mission cancels the alien pact. This might also remove the alien base.
Another option:
Aliens infiltrate a country. Destroying the base itself doesn't cancel the pact - the destruction only enables follow up missions which, when completed, cancel out the pact.
Basically: Can the state of a country (infiltrated/not infiltrated) be used as a mission spawn trigger and can the state of country be tied to missions or research? Seeing how infiltrations can be recurring but research can not i realize this might be difficult.
-
I don't see how a research topic could remember which country it corresponds to.
Savegame objects (e.g. Base, Soldier, Alien base, ...) can remember things.
Ruleset objects (e.g. Research topic, Ufopedia article, Alien deployment, ...) cannot remember things.
-
Would it be possible to spawn mission sites in addition to the initial alien base set up by a successful alien infiltration (e.g. spawn a second 'base' that could be used for a custom mission)? Could an infilitrated country be used to trigger mission spawns?
-
Would it be possible to spawn mission sites in addition to the initial alien base set up by a successful alien infiltration (e.g. spawn a second 'base' that could be used for a custom mission)?
Yes, alien bases can spawn missions already today.
Could an infilitrated country be used to trigger mission spawns?
Would require development.
-
It's already possible for alien bases spawned by infiltration to be placed upon the defecting countries' borders. So, 'technically' the infiltrated country would be triggering mission spawns. Unless you pretend other gameplay effects other than visualizing the base in a country.
-
Yes, alien bases can spawn missions already today.
How exactely does this work? I couldn't find anything related to that in the ruleset reference.
-
How exactely does this work? I couldn't find anything related to that in the ruleset reference.
Either using "genMission" or using "huntMissionWeights".
-
Either using "genMission" or using "huntMissionWeights".
Thanks for the heads-up, i must have overlooked those when i searched the ruleset for 'base'. There were a lot of matching entries :P
Is there any way to restrict those mission spawns to bases that were set up by an infiltration?
-
Is there any way to restrict those mission spawns to bases that were set up by an infiltration?
Yes, by making the infiltration spawn a special kind of alien base which has its own rules.
Which is exactly what we're doing in X-Com Files.
-
Yes, by making the infiltration spawn a special kind of alien base which has its own rules.
Which is exactly what we're doing in X-Com Files.
Where in the ruleset are those defined?
-
Where in the ruleset are those defined?
It's unreleased yet, you'd need the GitHub version. But it's a flag "allowCountriesToCancelAlienPact".
-
It's unreleased yet, you'd need the GitHub version. But it's a flag "allowCountriesToCancelAlienPact".
Ahm...you mean the option i talked about in my initial post? ???
No, i meant where i can find the "special" bases definitions that are used for infiltrations? How/where are they defined in the ruleset?
-
Where in the ruleset are those defined?
under alienDeployments
-
No, i meant where i can find the "special" bases definitions that are used for infiltrations? How/where are they defined in the ruleset?
alienMissions:
- type: STR_ALIEN_INFILTRATION
siteType: STR_ALIEN_BASE_ASSAULT
siteType determines the alienDeployment corresponding to the base that is spawned
-
Ahm...you mean the option i talked about in my initial post?
Oops! Sorry.