• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

Help me solve the stadium NIGHT problem. Half way there...

dimDev

Club Supporter
Maybe some people have already done this, but I have found a way to force the night sky for any added ID in Creation Master, but I have not yet figured out how to illuminate the field and players to go along with the sky.

I've forced the night sky by using the Stadium.lua file and it seems to me that a solution is possible, I'm just not quite there yet. It seems to me it might have something to do with the Crowd.lua and the Player.lua file, but I'm not really sure.

I'm not a fan of Stadium Server, I'd much rather have the stadiums in the db like every other stadium.
 

dimDev

Club Supporter
rotua98;n6457370 said:
Do you mean the dark sky ? Wow good news, how to do that ?Â*

Yes I am able to make the sky dark with any stadium ID and also have the lights turn on...

In the Stadium.lua it's possible to change the variables "skyCategoryId" to 10 and "skyAssetId" to 13. This combination will make the sky dark. But like I said, the players are still covered in darkness as if the lights are not on. If we can find a way to turn the lights on the players, then the problem will be solved.

Changing the "envLighting" variable does not seem to do anything, or else I have not figured out which value it should be.

It makes sense to reason that this is possible via .lua files, but I am not very experienced with them and I am basically just guessing and testing at this point.
 

rotua98

Club Supporter
dimDev;n6457399 said:
Yes I am able to make the sky dark with any stadium ID and also have the lights turn on...

In the Stadium.lua it's possible to change the variables "skyCategoryId" to 10 and "skyAssetId" to 13. This combination will make the sky dark. But like I said, the players are still covered in darkness as if the lights are not on. If we can find a way to turn the lights on the players, then the problem will be solved.

Changing the "envLighting" variable does not seem to do anything, or else I have not figured out which value it should be.

It makes sense to reason that this is possible via .lua files, but I am not very experienced with them and I am basically just guessing and testing at this point.

How can i modif stadium.lua ?, i hope you can finish this mod, good luck, and thanks
 


Top