DeGorro82 Posted April 2, 2015 Share Posted April 2, 2015 (edited) I already use search function, but after search many pages, unable to find any similar trouble like me. In short, I want to change my rank soldier name. Also create my own rank soldier icons. this is default script in strings.xml <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">rank.private</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> <Cell><Data ss:Type="String">Private</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> </Row> <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">rank.private.short</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> <Cell><Data ss:Type="String">Pvt.</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> </Row> I change Private text to Guardsman. And also to the other ranks. When launch the game, everything works fine, but I notice, the soldier rank are changed, but no more Rank Icons in their picture. I don't know where to go after this. When I changed back the strings.xml to default, my rank Icons are shown on the soldier picture, and re-edit the rank name, the rank icon disappear. So, What the problem ? and how to solve this ? Add note : My self-created new Icon use the same default files name and same pixel scale. I even copy-paste the file and rename one with default rank.private.png and rank.guardsman.png in the ...\Xenonauts\assets\rankimages and ...\Xenonauts\assets\gui\rankimages Edited April 2, 2015 by DeGorro82 Quote Link to comment Share on other sites More sharing options...
Max_Caine Posted April 2, 2015 Share Posted April 2, 2015 Never done it myself, so I can't tell you what the problem is, but I did find a really old mod made during the beta which adjusted both rank titles and rank icons. Perhaps there's something you can learn form there? Quote Link to comment Share on other sites More sharing options...
kabill Posted April 7, 2015 Share Posted April 7, 2015 I think the game possibly uses the string for the ranks as a way of identifying the correct rank icons, therefore you need to name the new rank icons after the new rank names you've created. Might be wrong, but I seem to remember seeing this before and this being the problem. Quote Link to comment Share on other sites More sharing options...
DeGorro82 Posted April 9, 2015 Author Share Posted April 9, 2015 Txs for the reply, but I learn it by doing it and it's fruitful. So I just share what I found, when you want to change the rank title and had your own picture with it, this what you have to do. <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">rank.private</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> <Cell><Data ss:Type="String">Private</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> </Row> <Row ss:AutoFitHeight="0"> <Cell><Data ss:Type="String">rank.private.short</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> <Cell><Data ss:Type="String">Pvt.</Data><NamedCell ss:Name="_FilterDatabase"/></Cell> </Row> Eg. You want to change "Private" - "Pvt." with "Rookie" - "Rok.". So your new picture files of Rank Icon in both ...\Xenonauts\assets\rankimages and ...\Xenonauts\assets\gui\rankimages had to be written the same name as the same with the scripts. In this example, you have to naming your Rank Icon files spell ... rank.Rookie.png in the ...\Xenonauts\assets\rankimages and Rookie.png in the ...\Xenonauts\assets\gui\rankimages ...\Xenonauts\assets\gui\rankimages\large ...\Xenonauts\assets\gui\rankimages\small Quote Link to comment Share on other sites More sharing options...
drages Posted April 9, 2015 Share Posted April 9, 2015 thx for sharing your info!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.