OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: Daev on November 21, 2024, 11:23:16 pm
-
In conjunction with my other request, in order to achieve this "mission select" style of research topic, I would want to have a topic that has no material or item requirements, that is also repeatable. So the same mission can be generated over and over, or even as a way to have scientist and research man hour be used to get items, as a tradeoff for research, or if there is nothing to research.
For example, If you have nothing to research, which will be quite possible in my TC, you could research "Community Outreach". Which would spawn an event with random rewards, or a random outcome. Almost like a clicker game, or similar to covert actions I guess.
If this is already doable, I apologize in advanced, but if not, is this something that is able to be implemented?
-
Are these just dummy always-present items in the list, which can be researched from the very beginning until the very end of the game?
Or is it something smarter?
If smarter, how much smarter?
The easiest way to implement this is to not add the researched topic to the list of researched topics when researched... which feels weird, but if that's enough for you...
-
It would be a topic that has no requirements except for a man hour cost. These would not be that smart, as the event itself can have random outcomes.
The only thing that I think that would be "Smart" would be if the events are chosen from a weighted list, and maybe have an option to override the region to be the one the base is in, or an adjacent one.
It would be a dummy research technically, as it would not unlock anything, only trigger an event that would then give you an outcome.
These would then be "Upgraded", as old topics are disabled, and new ones are enabled with better event pools, etc.
-
By "event" do you mean "research completion" or "alien mission spawn" or "OXCE geoscape event" ?
And what do you mean by "outcome" of the event?
I'm quite confused by the terminology in your last post, in relation to the first post in this thread and also in relation to the other request.
-
By "event" do you mean "research completion" or "alien mission spawn" or "OXCE geoscape event" ?
And what do you mean by "outcome" of the event?
I'm quite confused by the terminology in your last post, in relation to the first post in this thread and also in relation to the other request.
So for this one, I mean spawnedEvent, So the main premise is a topic that does not go away unless disabled, and for me, the purpose of it would be to repeat the spawnedEvent that it causes.
That's it basically for this request, I mentioned if a weight listed of spawnedEvent's could be implemented, that would be the best version, but its not a part of this request, per the rules.
I apologize tho for any terminology errors, still not super seasoned of a modder, thats on me.
-
So for this one, I mean spawnedEvent, So the main premise is a topic that does not go away unless disabled, and for me, the purpose of it would be to repeat the spawnedEvent that it causes.
Understood.
-
Done.
https://github.com/MeridianOXC/OpenXcom/commit/197eec82dc77d7bb8b0b007af5ba97119cdc7d34
Sample ruleset:
research:
- name: STR_REPEATABLE_TOPIC
spawnedEvent: STR_TEST_EVENT1
cost: 192
points: 50
repeatable: true # default false
-
Is it possible, using this feature, to do the following:
1. Player obtains an INTEL item.
2. Player researches the INTEL item (destroying it in the process) to spawn a mission site.
3. Rinse and repeat.
?
I took for granted that it was possible, but an event doesn't seem to allow spawning missions; perhaps I'm missing something.
Thanks.
Edit: Maybe the event is unnecessary and it can be achieved with researchTriggers+maxRuns:1 in missionScripts. It depends if the missionScript is restarted once the research is repeated.
-
This suggestion is for repeatable research only.
For research spawning alien missions, there is a separate suggestion.