| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Apr 2012
Posts: 12
|
Hello there!
I realize I'm approaching the level of spam by posting 3 new threads so soon after joining, but I am a bit puzzled to why my textures won't work. I've made a new archer, called composite archer, and a corresponding unit class. Now, the unit works fine, but somehow it reverts to some default archer texture even though I've included an updated version of the "archer.fxsxml" file. My texture file is just the basic archer 3 texture file, where I've borrowed armor textures from the spearman and added metal pieces to the bow part. I've saved the file as dds, including mipmaps. As for the code, here are some snippets from the art defines: Code:
<UnitMemberArtInfo> <Type>ART_DEF_UNIT_MEMBER_COMPOSITE_ARCHER</Type> <fScale>0.14</fScale> <Granny>Composite_archer.fxsxml</Granny> <Combat> <Defaults>ART_DEF_TEMPLATE_ARCHER</Defaults> </Combat> <MaterialTypeTag>CLOTH</MaterialTypeTag> <MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag> </UnitMemberArtInfo> Code:
<UnitArtInfo> <Type>ART_DEF_UNIT_COMPOSITE_ARCHER</Type> <Formation>Archer</Formation> <DamageStates>1</DamageStates> <UnitMemberArt> <MemberType>ART_DEF_UNIT_MEMBER_COMPOSITE_ARCHER</MemberType> <MemberCount>12</MemberCount> </UnitMemberArt> </UnitArtInfo> Code:
<Texture file="Composite_Archer_SREF.dds"/> <Texture file="Composite_Archer_DIFF.dds"/> I'd appreciate any assistance. Thanks! EDIT: Forgot to say. The fxsxml is a copy of the archer.fxsxml which I've renamed to Composite_archer.fxsxml. It is not intended to overwrite the old archer. Last edited by God 2.0; Apr 12, 2012 at 11:40 AM. |
|
|
|
|
|
#2 |
|
King
Join Date: Mar 2011
Location: Orange County, California, U.S.A.
Posts: 626
|
It sounds like you didn't use IndieStone Nexus Buddy to change the texture references in the gr2.
__________________
-n. City States Leaders Randomize City Names Smaller Landmarks for R.E.D. Modpack Swiss Guard Gray/Sharkmouth Gunship Misc. Units
Last edited by Nutty; Apr 12, 2012 at 03:40 PM. Reason: Add link |
|
|
|
|
|
#3 | |
|
Chieftain
Join Date: Apr 2012
Posts: 12
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|