OpenXcom Forum

Modding => OpenXcom Extended => OXCE Support => Topic started by: drages on February 13, 2019, 02:14:37 pm

Title: [Solved] Alien Deployment per Race
Post by: drages on February 13, 2019, 02:14:37 pm
I want to give different weapon branches to different alien races. Sectoids, alien lasers.. Mutons, plasmas.. snakes, alien gauss weapons.. like that.. i think you can make it just adding the "race" name at deployment code.

Code: [Select]
data:
      - alienRank: 3
       [b] alienrace: sectoid[/b]
        lowQty: 2
        highQty: 8
        dQty: 3

Other ways like buildinweapons or deployment per mission are way harder and not so code friendly if you want to make it to all races. I think this kind of code would help to create specific races with their own abilities and weaponry.
Title: Re: [Suggestion] Alien Deployment per Race
Post by: luke83 on February 13, 2019, 06:10:16 pm
Just watching this thread as i will have different FACTIONS in my mod with specific ufo,weapons, missions etcm  hoping a easy solution already exist ... 8)
Title: Re: [Suggestion] Alien Deployment per Race
Post by: Solarius Scorch on February 13, 2019, 06:54:30 pm
I wouldn't say the current solution is hard, or even especially work-intensive. All you need to do is to define alienDeployments for variants you want to add, then add an appropriate flag under the ufos section - voila, now your Battleship has a different set on weapons on board when crewed by Mutons. You can even modify the UFO's parameters, such as accuracy, when crewed by Mutons.
(Works in OXCE only.)