RoboMat Posted September 24, 2013 Share Posted September 24, 2013 THIS MOD WAS ADDED TO THE VANILLA GAME. YOU DON'T NEED IT ANYMORE Custom Profession Clothing changes the way in which the game loads colours for the professions. Allows modders to easily insert custom professions to the game.How to use? Well you need to distribute it with your mods which shouldn't be a big problem. Then you need to create a custom profession (might do a tutoria on that in the near future). I included the thief profession of my lockpicking mod as an example how to use this. What you have to do is set the custom clothing as a table just like the spawn points. Example given: ----- Set custom clothing and clothing colors for this-- profession.--local function initClothing() local clothes = { male = { "Shirt_White", "Shirt", "Trousers_White", "Trousers", }, female = { "Blouse_White", "Blouse", "Trousers_White", "Trousers", }, -- Colours for top top = { 0.1900, 0.1900, 0.1900, }, -- Colours for trousers / skirts bottom = { 0.1900, 0.1900, 0.1900, }, }; ProfessionClothing.rm_thief = clothes;endEvents.OnGameBoot.Add(initClothing); ! Only tested with 2.9.9.17 ! Have fun! RegularX, Tonythedemon and kinyoshi 3 Link to comment Share on other sites More sharing options...
RoboMat Posted September 29, 2013 Author Share Posted September 29, 2013 The custom system will be included in the upcoming steam release, so you modders only have to wait for that update Best thing that could've happened because now I don't have to worry about having to update it every time Kurn1207, Walther and nasKo 3 Link to comment Share on other sites More sharing options...
alemendes Posted November 25, 2013 Share Posted November 25, 2013 In Steam version screen goes black Link to comment Share on other sites More sharing options...
RoboMat Posted November 25, 2013 Author Share Posted November 25, 2013 In Steam version screen goes black Hey there. You don't need to install this mod! It is already in the main game Link to comment Share on other sites More sharing options...
tommysticks Posted December 6, 2013 Share Posted December 6, 2013 How big do profession icons need to be? Link to comment Share on other sites More sharing options...
RoboMat Posted December 15, 2013 Author Share Posted December 15, 2013 How big do profession icons need to be? I don't think that there is a limit. The one from my lockpicking mod is 58x64. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now