OpenXcom Forum
Modding => Help => Topic started by: wolf619 on March 29, 2018, 06:59:24 pm
-
So far I've figured out how to change all the sectoid weapons to human weapons but how do I replace the sprites for the sectoids?
I want to replace the sprites with human sprites, just for fun. I'd need to replace the battlefield sprite and the corpse sprites as well.
Is there any total conversion mods that change all the basic stuff in the game I can look at for examples?
Any help would be appreciated thanks!
Edit: Ok I think I figured out how to add the the type of alien I want through a mod, but is there any good mods that replace vanilla stuff?
I'd like to see how they did it! Thanks again!
-
This is the vanilla Sectoid armour:
armors:
- type: SECTOID_ARMOR0
spriteSheet: SECTOID.PCK
corpseBattle:
- STR_SECTOID_CORPSE
frontArmor: 4
sideArmor: 3
rearArmor: 2
underArmor: 2
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.2
- 1.6
- 0.0
loftempsSet: [ 2 ]
If you want to make a mod which changes Sectoid sprites to standard X-Com sprites, you should do this in your ruleset:
armors:
- type: SECTOID_ARMOR0
spriteSheet: XCOM_0.PCK
This will change the sprite and leave everything as it is.
Of course it's not great modding yet, but it's a start.
-
can I do this with out modifying my main ruleset? How would I do this in a custom ruleset?
Armors:
- type: SECTOID_ARMOR0
spriteSheet: XCOM_0.PCK
corpseBattle:
- STR_CORPSE
frontArmor: 4
sideArmor: 3
rearArmor: 2
underArmor: 2
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.2
- 1.6
- 0.0
loftempsSet: [ 2 ]
I tried adding that as a rule set but it doesn't seem to change anything.
-
If you simply plop this ruleset into the game ruleset folder, then it may be written before the original file, thus it is overwritten when loading game data.
What you should do is to create a mod in the mods folder, place your ruleset there, preferable add a metdata.yml.
Or you can modify the original ruleset, but this is not recommended.
-
I entered that code exactly intoDocuments\OpenXcom\mods\Sectoids\Ruleset\armors.rul and there is no change, the sectoids still look the same as normal. Am I missing something? I don't understand what I'm doing wrong.
Armors:
- type: SECTOID_ARMOR0
spriteSheet: XCOM_0.PCK
corpseBattle:
- STR_CORPSE
frontArmor: 4
sideArmor: 3
rearArmor: 2
underArmor: 2
damageModifier:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.2
- 1.6
- 0.0
loftempsSet: [ 2 ]
-
Make sure your ruleset is enabled, I guess.
If it doesn't help, I suggest going on OXC Discord and asking people directly.
-
I've turned the mod on in the game and it loads fine, but nothing changes in game. The sectoids still look like sectoids.
-
Capitalization matters, try making the first line "armors:" instead of "Armors:".
-
Capitalization matters, try making the first line "armors:" instead of "Armors:".
Lol I missed that. I'm a bad quality person. :(
-
LOL IT WORKS! Creeped me out when I saw xcom members crawling around everywhere lol
Thanks for your help!