Jump to content

Issues with adding new armors and getting them to show up in combat properly...help?


Slayerjerman
 Share

Recommended Posts

Here's the deal, I took armour.basic and copied the folder, changed all the sprites so the blue is now red (Photoshop --> replace color method). I renamed this folder to armour.basic_red. I did the same for the corpses and GUI outfits...etc

I went through the files an added the proper armour sets to:

  • armours.xml
  • armours_gc.xml
  • items.xml
  • strings.xml
  • gsgcitemtranslator.xml (amour.basic_red = BasicRedArmour)
  • soilderprops.xml (for corpses)
  • assets\units\xenonaut\armour.basic_red (I changed all soilder_spectre.xmls from "armour.basic" to armour.base_red)
    units/xenonaut/armour.basic_red/weapon.rifle/run_w"
    etc

It works fine in GS and in GC inventory UI only when a unit is wearing the new "red" outfit, the actual units in combat dont display the proper sprites at all, they show up as unequipped Jackal armor units (completely wrong). I checked the armour.basic_red folder and all the solider_spectre.xmls and they are correct....:confused:

Screenshot 2014-07-06 20.05.19.jpg

Screenshot 2014-07-06 20.05.51.jpg

Anyone have idea of what I may have missed that is causing the GC unit from not using the new sprites?

Screenshot 2014-07-06 20.06.01.jpg

Screenshot 2014-07-06 20.05.19.jpg

Screenshot 2014-07-06 20.05.51.jpg

Screenshot 2014-07-06 20.06.01.jpg

577e7d08b6311_Screenshot2014-07-0620.05.

577e7d08b9df0_Screenshot2014-07-0620.05.

577e7d08bbf28_Screenshot2014-07-0620.06.

Link to comment
Share on other sites

  • assets\units\xenonaut\armour.basic_red (I changed all soilder_spectre.xmls from "armour.basic" to armour.base_red) etc

I assume this is a typo in the post rather than your actual change?

If this is the change you made to the file then the spectres should probably say armour.basic_red not armour.base_red.

Just starting from basics because we can't see your file structure :)

Edited by Gauddlike
Link to comment
Share on other sites

I think that your problem is the "_"

The system in C++ read segments of alphanumeric, try only "armour.basicred"

You'll see that it work ^^

I took your advice and changed everything from "armour.basic_red" over to "armor.basicred", but still have the same issue of the unit in GC not using the right sprites. I even double checked the soldier_spectre XMLs too.

Here's my XMLs and one set of the sprites for weapon.rifle as well as a spectre.xml for weapon.testrifle (i didnt include items.xml or strings.xml)

https://dl.dropboxusercontent.com/u/20763616/armor_Help.zip

Mind taking a look and seeing if I missed something?

Link to comment
Share on other sites

  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...