Can this be updated please with the new brick skin
Needs Updating
Yes please
Yes Please.. for the new skins
same problem, need update for work it
From what I've heard: "Its not possible to add it to the current code. That's why its not been updated. It doesn't support multiple skins for each grade unfortunately."
Look for this in BuildingSkins.cs.
private readonly Dictionary<BuildingGrade.Enum, ulong> gradesSkin = new Dictionary<BuildingGrade.Enum, ulong>()
{
{ BuildingGrade.Enum.Wood, 0 },
{ BuildingGrade.Enum.Stone, 10220 },
{ BuildingGrade.Enum.Metal, 10221 },
{ BuildingGrade.Enum.TopTier, 0 }
};
Now you change : { BuildingGrade.Enum.Stone, 10220 }, to { BuildingGrade.Enum.Stone, 10223 },
But you also need to change in the .cs the link to a new image of the brick skin.
Warkingz
Look for this in BuildingSkins.cs. private readonly Dictionary<BuildingGrade.Enum, ulong> gradesSkin = new Dictionary<BuildingGrade.Enum, ulong>() { { BuildingGrade.Enum.Wood, 0 }, { BuildingGrade.Enum.Stone, 10220 }, { BuildingGrade.Enum.Metal, 10221 }, { BuildingGrade.Enum.TopTier, 0 } }; Now you change : { BuildingGrade.Enum.Stone, 10220 }, to { BuildingGrade.Enum.Stone, 10223 }, But you also need to change in the .cs the link to a new image of the brick skin.
Legend. Heres a image of the brick skin I made up quick https://i.imgur.com/IamyyVe.png
this is the good link mate https://rustlabs.com/img/skins/324/10223.png
This change will only let you have the new brick skin until its updated by the dev big thank you to project Stingz for working out the cs file change
That links broken bud
what link ?
Original4DThat links broken bud
Warkingz
what link ?
The one you just posted. lol
the "rustlabs.com/img/blablabla.png" one
JackReigns
From what I've heard: "Its not possible to add it to the current code. That's why its not been updated. It doesn't support multiple skins for each grade unfortunately."
I hope this can be changed! Wouldn't mind paying a few bucks to speed up development.
Here is the RustLabs photo to use https://rustlabs.com/img/skins/324/10223.png
Or right click and save image link on the photo of the page just in case the above link dosen't work https://rustlabs.com/skin/brick
Making the wood tile behave like it is stone and toggling brick might work good enough until an official update is released. Only few changes are needed:
Line 35
{ BuildingGrade.Enum.Wood, 10223 },
Line 184 (adapt urls to your needs)
new BuildingImage(0, new BlockInfo("https://i.imgur.com/wDMwXFh.png", "Wooden skin"), new BlockInfo("https://rustlabs.com/img/skins/324/10223.png", "Brick skin")),
Line 272
var gradesKey = grades.Key == BuildingGrade.Enum.Wood ? BuildingGrade.Enum.Stone : grades.Key;
playerData.GetType().GetField(gradesKey.ToString())?.SetValue(playerData, !skinInfo[player][index] ? grades.Value : 0);
One caveat: The wood type is used for saving the brick preset, therefore the data file needs to be wiped when the new version gets released in order to avoid it behaving in funny ways. Alternatively the wood preset can be set to 0 again in the data file.
Patched v1.1.1: https://pastebin.com/w03vm3KT
0x2422
Making the wood tile behave like it is stone and toggling brick might work good enough until an official update is released. Only few changes are needed:
Line 35{ BuildingGrade.Enum.Wood, 10223 },
Line 184 (adapt urls to your needs)new BuildingImage(0, new BlockInfo("https://i.imgur.com/wDMwXFh.png", "Wooden skin"), new BlockInfo("https://rustlabs.com/img/skins/324/10223.png", "Brick skin")),
Line 272var gradesKey = grades.Key == BuildingGrade.Enum.Wood ? BuildingGrade.Enum.Stone : grades.Key; playerData.GetType().GetField(gradesKey.ToString())?.SetValue(playerData, !skinInfo[player][index] ? grades.Value : 0);
One caveat: The wood type is used for saving the brick preset, therefore the data file needs to be wiped when the new version gets released in order to avoid it behaving in funny ways. Alternatively the wood preset can be set to 0 again in the data file.
Patched v1.1.1: https://pastebin.com/w03vm3KT
I installed your updated cs file but its still the same as before, i dont know, maybe im doing something wrong :D
edit: nevermind, had to change the url in the config file to make it work
- 1
- 2