Edited skin doesn't show up

Post Reply
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Edited skin doesn't show up

Post by Latro »

I've saved it as a DXT3 with explicit alpha, in my campaign directory.

Does it need to be another format?
GordonStraylight
Straylight
Straylight
Posts: 148
Joined: Tue Aug 16, 2016 12:47 pm

Re: Edited skin doesn't show up

Post by GordonStraylight »

If its a unit colour texture it should be saved as DXT1, our units dont use alpha transparency.

The file should go in MyGames\Sanctus\Campaigns\"UserCampaign"\Data\Battle\UnitTextures

Cheers,

Gordon.
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Re: Edited skin doesn't show up

Post by Latro »

Thanks for the reply.
Still doesn't work though...

Changed the blackon yellow wolf's head, shown above the units, that works fine.
pipfromslitherine
Site Admin
Site Admin
Posts: 9707
Joined: Wed Mar 23, 2005 10:35 pm

Re: Edited skin doesn't show up

Post by pipfromslitherine »

What folder did you save to, exactly?

Cheers

Pip
follow me on Twitter here
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Re: Edited skin doesn't show up

Post by Latro »

In /Battle/Unit textures.

But they need to be in a seperate directory ( like the Logan and Ragnar ones), which you can then select in the editor, I found out.
Oh and the directory needs to be with the main files, not the 'My_Campaign' one.

First tryout..
Attachments
Taxandrians.jpg
Taxandrians.jpg (64.91 KiB) Viewed 3327 times
pipfromslitherine
Site Admin
Site Admin
Posts: 9707
Joined: Wed Mar 23, 2005 10:35 pm

Re: Edited skin doesn't show up

Post by pipfromslitherine »

If you are adding new units textures to your own custom campaign (which you should be, rather than changing the core game files) then the path they need to be in are <YourCampaignFolder>/DATA/BATTLE/UNITTEXTURES

You can also add custom texture variation folders (to use in the editor) into your own campaigns too.

Cheers

Pip
follow me on Twitter here
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Re: Edited skin doesn't show up

Post by Latro »

I also tried to edit the squads file in 'My_campaign' folder. Changing the tactical squad to have 4 men, instead of 3.
This also did not work until I copied the squads file to the main folder.

It just looks as if changes to my 'My_campaign' folder are not picked up.
Could it be because I didn't install to program files? maybe?
pipfromslitherine
Site Admin
Site Admin
Posts: 9707
Joined: Wed Mar 23, 2005 10:35 pm

Re: Edited skin doesn't show up

Post by pipfromslitherine »

If you are trying to replace the main squads file you need to have #REPLACE in the very top left cell. Otherwise it just appends the units to the list.

Can you post the full path to your custom UNITTEXTURES folder.

Does your custom campaign show up in the list of campaigns on the campaign screen?

Cheers

Pip
follow me on Twitter here
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Re: Edited skin doesn't show up

Post by Latro »

pipfromslitherine wrote:If you are trying to replace the main squads file you need to have #REPLACE in the very top left cell. Otherwise it just appends the units to the list.
Ah, that could explain it, as I edited an existing, instead of creating a new one.
Mophead
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 59
Joined: Sun Jan 29, 2017 7:23 pm

Re: Edited skin doesn't show up

Post by Mophead »

I hope its working for you . I was wondering if it was the folder name in "My Campaign." Do they need to be in all caps?

Campaign directory:
_\SANCTUS\CAMPAIGNS\"MYCAMPAIGN"\DATA\BATTLE\UNITTEXTURES

Game directory:
_\Warhammer 40000 Sanctus Reach\Data\Battle\UnitTextures

Putting an edited set of .dds files into the campaign folder UNITTEXTURES will show those textures on the unit, as the Default texture in the editor on that unit.
Latro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 328
Joined: Wed Dec 19, 2012 4:05 pm

Re: Edited skin doesn't show up

Post by Latro »

OK, so I want to make a new unit.
I don't see a table that couples the unit in the squads file with the texture file.
The texture files are called 'GHunters_Bolter_xxx' but in the squads file the unit name is 'Grey_Hunter_Bolter1'. I cannot find 'GHunters_Bolter' anywhere.
Mophead
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 59
Joined: Sun Jan 29, 2017 7:23 pm

Re: Edited skin doesn't show up

Post by Mophead »

Taking the existing "unit lists" and putting those in your campaign folder, to edit those files, is much easier.

New unit might be possible in campaign or scenario calling on the asset - building from asset a new unit with scripts and then replacing an existing unit that was placed in-editor with the newly scripted one (could just script-spawn turn zero too).

I think you are looking for:
...\Warhammer 40000 Sanctus Reach\Data\Text
Text1.txt & Text3.txt

Also, in:
\Warhammer 40000 Sanctus Reach\Core
ArmyList.txt
Sanctus_Squad_Names.txt
Sanctus_Valid_Names.txt

I tried adding unit in those Core files, and those changed files tothe campaignfolder, and it didn't work.

Text1.txt (snippet) [The first below is the tooltip title that pops up upon mousing over units]
IDS_UNITNAME305,"Grey Hunter Bolter Pack",
IDS_UNITINFO305,"The Grey Hunters form the fighting heart of each Great Company. Their raw aggression has been tempered by hard-won experience and it is from their number that true heroes rise.",

Text3.txt (snippet) [This appears in the Editor Plugin: Squad Names and allows custom named squads]
IDS_UNIT_130, "Fjǫrlag",
IDS_UNIT_131, "Sigurd",
IDS_UNIT_132, "Reifr",

SanctusValidNames.txt (snippet)
Wolf_Priest 130
Wolf_Priest 131
Wolf_Priest 132

SanctusSquadNames.txt (snippet)
[WOLFPRIESTS]

UNIT_130 Wolf_Priest

UNIT_131 Wolf_Priest

UNIT_132 Wolf_Priest

*so, you can take the existing lists and add them (Text1.txt & Text3.txt) where Text1.txt is shown:
http://archonwiki.slitherine.com/index. ... yout_Guide

I think you can add army, like "[WOLFPRIESTS]" though I'm not sure where SanctusValidNames.txt & SanctusSquadNames.txt should go in the campaign directory.
pipfromslitherine
Site Admin
Site Admin
Posts: 9707
Joined: Wed Mar 23, 2005 10:35 pm

Re: Edited skin doesn't show up

Post by pipfromslitherine »

If you want to use an existing mesh but have it represent a new unit by using a differenent texture, then unfortunately that isn't easily possible. You could use the SetUnitTexture script command to re-texture the unit type when it is found on the map, in your custom campaign.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Sanctus Reach Mods and Scenario Design”