OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions NEW => Topic started by: Daev on May 14, 2025, 07:23:35 pm
-
Hello, I have delved into the ruleset references for crafts, transformations, scripts etc. But I cannot find a way to restrict armor types for certain crafts.
The idea being that Power Armored Soldiers cannot fit on a motor bike or in a small craft like an interceptor.
I know you can restrict by SoldierTypes, but in the mod i am working on, promotions change the soldier type, meaning rookies are completely different from higher ranks, and their stats are much higher as well.
I don't want to restrict the type (or in my case stats/level) of soldier you can bring on a vehicle, but I do want to restrict what armor you can bring on the vehicle, to have tradeoff between fast strike style vehicles and slow troop transports. If you have to travel light and fast, no power armor, but if the mission can wait (Like a sitetype mission) then you can bring the PA on a different vehicle.
This is not a request, but if this is not possible, please move the topic to feature requests.
I hope this makes sense
-
You can't restrict by armor, but you can restrict by armor size (small or large).
This is not a request, but if this is not possible, please move the topic to feature requests.
I hope this makes sense
No, this sentence doesn't make any sense.
Either it is a request or it is not a request.
-
Yeah my bad, I didn't know if it was possible to restrict by armor or not. If it was then the topic was support/help category, as it was not a Suggestion.
Seeing that it is a Suggestion now, I am curious to know how easy that would be to implement, if you think its worth the gameplay aspect it introduces.
The example i would propose is somthing like this:
- type: STR_SKYRANGER
sprite: 0
fuelMax: 1500
damageMax: 150
speedMax: 760
accel: 2
soldiers: 14
restrictedArmors:
- STR_POWER_SUIT_UC
- STR_FLYING_SUIT_UC
vehicles: 3
Somthing like this, or the reverse would work!
-
I'd go for `allowedArmorGroups` similar to `allowedSoldierGroups` as described here: https://openxcom.org/forum/index.php?topic=10678.msg161784#msg161784
Not difficult to do.
I don't have any strong opinion on this, but Yankes already voted for this earlier (https://openxcom.org/forum/index.php?topic=10678.msg147883#msg147883) and your two combined votes are enough for me to spend one Monday evening working on it.
-
Sweet! Thank you Merdian!