Sigma88 / Sigma-Replacements

Handles replacement of various KSP assets
13 stars 1 forks source link

Syntax Questions #40

Open Sigma88 opened 6 years ago

Sigma88 commented 6 years ago

If you have any syntax questions feel free to ask here

theonegalen commented 6 years ago

Hello, I understand you've closed the issue, but I would really like to replace the stock skybox. How do I do that?

Sigma88 commented 6 years ago

hi, no problem, I just closed it because nobody seemed to have any questions

first of all, do you want to make a mod that replaces the skybox or is this just for personal use?

theonegalen commented 6 years ago

I was just going to use it myself. I don't need anything else TR does, but the stock skybox is just so bad.

Sigma88 commented 6 years ago

first of all, there are some skybox packs from @poodmund that you might want to look at just in case they provide what you are looking for.

otherwise, if you already have the textures and just want the syntax to apply them, this is how:

1- put all textures in a folder somewhere in GameData 2- rename the textures to have the following names: XN, XP, YN, YP, ZN, ZP 3- create a cfg with the following inside:

@SigmaReplacements
{
    SkyBox
    {
        CubeMap
        {
            SkyBox = yourmod/yourfolder/
        }
    }
}

this should be enough for a standard skybox

theonegalen commented 6 years ago

Thank you!

BottleRocketeer commented 6 years ago

@Sigma88 How do I replace textures for heads and suits?

Sigma88 commented 6 years ago

@BottleRocketeer sorry for the late reply

sadly, I don't have the time to go into all the details of the syntax

I plan to write a wiki as soon as I get some free time, but right now I don't even have the time to update my mods to 1.4.whateverSQUADhasreleasednow so it will take *some* time for me to get the whole syntax explained in a wiki

sorry

theonegalen commented 5 years ago

@sigma88 I just tried to reinstall SR skybox as instructed and got the stock skybox. KSP 1.4.5 and SR skybox 0.3.0.

Sigma88 commented 5 years ago

can you show me the config and the textures ?

it might be a syntax issue

theonegalen commented 5 years ago

I cannot, unfortunately. I don't have internet at my house. I am currently messaging you on my phone. I might be able to get it for you tomorrow.

eusouaverdade commented 5 years ago

Hello Sigma, I need a little help with Head textures replacements if you are not too busy.

Lets suppose I have a folder "Gamedata/Skins/Male/" with files 1.dds, 2.dds, 3.dds... How do I put those skins randomically on the male kerbals?

Thanks.

Sigma88 commented 5 years ago

you need to setup a cfg that looks something like this:

@SigmaReplacements
{
    Kerbal
    {
        Requirements
        {
            gender = Male
        }
        Head
        {
            Folders
            {
                headTex = Skins/Male/
            }
        }
    }
}