Closed BraveDevelopment closed 1 year ago
Did you try different pattern values and can you post your code?
Did you try different pattern values and can you post your code?
I tried every pattern and every penthouse theme. Does it work on your test server? Did you test it? Perhaps you could try it and post a picture of how it should look.
The whole casino part was not added by me so I didn't see it actually working. I will try to setup a server to check it.
The whole casino part was not added by me so I didn't see it actually working. I will try to setup a server to check it.
That would be awesome. Although I’m not the first one having this issue. Github Issue
All right, I got something:
I will have to make some changes to the penthouse code, but the issue comes from the need to set a color to the patterns:
DiamondPenthouse.Ipl.Interior.Load()
-- setting a wall style
DiamondPenthouse.Interior.Walls.SetColor(DiamondPenthouse.Colors.timeless)
-- setting carpets patterns
DiamondPenthouse.Interior.Pattern.Set(DiamondPenthouse.Interior.Pattern.pattern01)
-- setting carpets colors
SetInteriorEntitySetColor(DiamondPenthouse.interiorId, DiamondPenthouse.Interior.Pattern.pattern01, DiamondPenthouse.Colors.timeless)
DiamondPenthouse.Interior.SpaBar.Set(DiamondPenthouse.Interior.SpaBar.open)
DiamondPenthouse.Interior.MediaBar.Set(DiamondPenthouse.Interior.MediaBar.open)
DiamondPenthouse.Interior.Dealer.Set(DiamondPenthouse.Interior.Dealer.open)
RefreshInterior(DiamondPenthouse.interiorId)
I've updated the repo, could you give it a shot?
You can set the color of patterns now:
LoadDefault = function()
local styleColor = DiamondPenthouse.Colors.sharp
local stylePattern = DiamondPenthouse.Interior.Pattern.pattern01
DiamondPenthouse.Ipl.Interior.Load()
DiamondPenthouse.Interior.Walls.SetColor(styleColor)
DiamondPenthouse.Interior.Pattern.Set(stylePattern)
DiamondPenthouse.Interior.Pattern.SetColor(stylePattern, styleColor)
DiamondPenthouse.Interior.SpaBar.Set(DiamondPenthouse.Interior.SpaBar.open)
DiamondPenthouse.Interior.MediaBar.Set(DiamondPenthouse.Interior.MediaBar.open)
DiamondPenthouse.Interior.Dealer.Set(DiamondPenthouse.Interior.Dealer.open)
RefreshInterior(DiamondPenthouse.interiorId)
end
I've updated the repo, could you give it a shot?
You can set the color of patterns now:
LoadDefault = function() local styleColor = DiamondPenthouse.Colors.sharp local stylePattern = DiamondPenthouse.Interior.Pattern.pattern01 DiamondPenthouse.Ipl.Interior.Load() DiamondPenthouse.Interior.Walls.SetColor(styleColor) DiamondPenthouse.Interior.Pattern.Set(stylePattern) DiamondPenthouse.Interior.Pattern.SetColor(stylePattern, styleColor) DiamondPenthouse.Interior.SpaBar.Set(DiamondPenthouse.Interior.SpaBar.open) DiamondPenthouse.Interior.MediaBar.Set(DiamondPenthouse.Interior.MediaBar.open) DiamondPenthouse.Interior.Dealer.Set(DiamondPenthouse.Interior.Dealer.open) RefreshInterior(DiamondPenthouse.interiorId) end
I will try it. Thank you very much!
Walls are green/red or blue in penthouse after applying patterns.