Skip to content

Update animal XML#40

Open
SokyranTheDragon wants to merge 1 commit intojuanosarg:masterfrom
SokyranTheDragon:update-animal-xml
Open

Update animal XML#40
SokyranTheDragon wants to merge 1 commit intojuanosarg:masterfrom
SokyranTheDragon:update-animal-xml

Conversation

@SokyranTheDragon
Copy link
Contributor

First, any place using <ToxicEnvironmentResistance> had its Biotech requirement removed, since it's a vanilla feature now.

Second, I changed <defaultFactionType> to <defaultFactionDef>. It was renamed in-game, so I thought it may be for the best to do it. The old name was kept as an alias in-game, which is why it still works.

Third, any black hive insectoids were changed so their <PawnKindDef> inherits from InsectKindBase, rather than AnimalKindBase. This means all the black hive insectoids will benefit from extra movement speed on insectoid terrain. Using the vanilla's insect base ensures that any other movement speed modifications, like the ones from VFE-I2, are also applied without needing any extra changes besides that.

From animals using BaseInsect2 or AA_AlphaBaseInsect as a base, I did NOT include changes to:

  • Any of the 'lisks
  • Barb slinger
  • Chemfuel myrmidon
  • Any other insects that inherit from different defs

I wasn't sure if you wanted them to benefit from insectoid terrain or not, so I just left them as-is.

Additional notes due to using InsectKindBase:

  • It forces <canArriveManhunter> to false, so if any animal had it to true/unspecified, I forced it back to true
  • It forces <defaultFactionDef> to Insect, so again - I forced it to null if it was unspecified before

If you don't want that, you may want to go and change it.

First, any place using `<ToxicEnvironmentResistance>` had its Biotech requirement removed, since it's a vanilla feature now.

Second, I changed `<defaultFactionType>` to `<defaultFactionDef>`. It was renamed in-game, so I thought it may be for the best to do it. The old name was kept as an alias in-game, which is why it still works.

Third, any black hive insectoids were changed so their `<PawnKindDef>` inherits from `InsectKindBase`, rather than `AnimalKindBase`. This means all the black hive insectoids will benefit from extra movement speed on insectoid terrain.

From animals using `BaseInsect2` or `AA_AlphaBaseInsect` as a base, I did NOT include changes to:
- Any of the 'lisks
- Barb slinger
- Chemfuel myrmidon
- Any other insects that aren't from black hive

I wasn't sure if you wanted them to benefit from insectoid terrain or not, so I just left them as-is.

Additional notes due to using `InsectKindBase`:
- It forces `<canArriveManhunter>` to false, so if any animal had it to true/unspecified, I forced it back to true
- It forces `<defaultFactionDef>` to `Insect`, so again - I forced it to null if it was unspecified before

If you don't want that, you may want to go and change it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant