Replacing weapons for non-playable characters.
Dec 14, 2017 23:09:51 GMT
crazyrabbits and sunegami like this
Post by ravager on Dec 14, 2017 23:09:51 GMT
I noticed that in Mass Effect games many characters using weapons that contrary to lore. For example: Turian soldiers on Menae and Tuchanka using Avenger of "Elkoss Combine" as a most common weapon. But we know that the turian army supplied by Armax Arsenal, and they must using Phaestons. So I decided to try to replace Avenger with Phaeston. I take file BioD_KroGar_100Landing.pcc for my experiment, that's level where mission on Menae begins.
With help of Package Editor i added names related to Phaeston Rifle. In game files that weapon named as "Cobra". Than i just changed all avenger's export data with that "Cobra".
Also I tried alternative way: adding new raws with "Cobra", and not replace Avenger. But that way also required to add this weapon to turian soldiers instead of avenger, I facing some troubles with that. I wasn't sure about I did it properly, and when i launched the game, there was some strange bugs: turian just has the Avenger in his hands, and in a few seconds Avenger was replaced with Cobra. That was a little strange, so I decided to return to first way: complete replace of avenger.
Here is the raws related to Phaeston what I've got eventually in pcc file:

By now i can't add some particles related to this weapon which named as Imp and Muzzle, also can't properly add this raws:

It contains some scripts.
Here what I've got in game:


Looks pretty good, but there is some catch. Turians got Phaestons only if Shepard or at least one member of his squad have this rifle in loadout. Otherwise, even though "Avenger" is replaced with "Cobra", its still avenger, like on this image:

I hope that explanation is understandable. Here Shepard and Vega equipped with vindicators, and Phaeston doesn't appear. Perhaps that because Phaeston requires something i missed, and that missing thing loaded only when this rifle appears in player's loadout.
By this moment I can't solve this problem yet, but still trying find out what am I doing wrong.
I thought, maybe someone is interested in that matter like me, so I decided to post results of my experimentation here. I didn't insist, but maybe someone can give me an advice.
With help of Package Editor i added names related to Phaeston Rifle. In game files that weapon named as "Cobra". Than i just changed all avenger's export data with that "Cobra".
Also I tried alternative way: adding new raws with "Cobra", and not replace Avenger. But that way also required to add this weapon to turian soldiers instead of avenger, I facing some troubles with that. I wasn't sure about I did it properly, and when i launched the game, there was some strange bugs: turian just has the Avenger in his hands, and in a few seconds Avenger was replaced with Cobra. That was a little strange, so I decided to return to first way: complete replace of avenger.
Here is the raws related to Phaeston what I've got eventually in pcc file:

By now i can't add some particles related to this weapon which named as Imp and Muzzle, also can't properly add this raws:

Here what I've got in game:


Looks pretty good, but there is some catch. Turians got Phaestons only if Shepard or at least one member of his squad have this rifle in loadout. Otherwise, even though "Avenger" is replaced with "Cobra", its still avenger, like on this image:

I hope that explanation is understandable. Here Shepard and Vega equipped with vindicators, and Phaeston doesn't appear. Perhaps that because Phaeston requires something i missed, and that missing thing loaded only when this rifle appears in player's loadout.
By this moment I can't solve this problem yet, but still trying find out what am I doing wrong.
I thought, maybe someone is interested in that matter like me, so I decided to post results of my experimentation here. I didn't insist, but maybe someone can give me an advice.