FerventDirections Posted February 21, 2016 Share Posted February 21, 2016 I'm trying to find the code to define the Andromedon's and Gatekeeper's wall smash ability allowing them to walk through destructible environments. I'm planning on giving this ability to a class- either being able to walk through walls, or be able to jump huge heights like Advent MECs and Faceless. However, I can't see where it is defined. In Internationalisation it adds text for the Andromedon's ability "WallSmash". I can give that ability to the class, and it appears with the description okay. However, the pathfinding doesn't go through the wall, even if I block entrances with the other soldiers. Similarly, the Faceless have an internationalisation ability of "Jump" which lets them jump to different levels, however if I try to give it to the class then it acts as if there is no ability assigned. What I have at the moment is:- about a third of the way into DefaultGameData there are perk packages for different aliens, but Andromedons aren't there.- about 3/5 through DefaultGameData it defines the loadout for Andromedons as being an acid bomb and their unique weapon, but nothing about their abilities So, I'm a bit stuck. Am I looking in the wrong config files, under the wrong name, what? Anyone got any ideas? Link to comment Share on other sites More sharing options...
davidlallen Posted February 21, 2016 Share Posted February 21, 2016 I'm pretty sure you are reaching beyond the limit of what can be done in ini files. Have you downloaded the sdk and run through the example weapons mod? Once you have looked at the uc scripts a little, you can try looking in X2Characters_DefaultCharacters.uc. Each template has variables like: bCanUse_eTraversal(something), specifically JumpUp and BreakWall. I know that the Advent MEC can jump because it has JumpUp true. You can set that on other characters if you want. (See the playable mec mod for an example of superjumping.) Unfortunately there must be more to breaking walls than just setting the BreakWall variable true. The enemies that can break walls, still set this false. Are you able to mix and match simpler abilities, such as ranger rapidfire? Because smashing walls does affect pathfinding, that one may be pretty complex to implement. Link to comment Share on other sites More sharing options...
Recommended Posts