RoboMat Posted September 24, 2013 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
RoboMat Posted September 29, 2013 Author 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 Walther, nasKo and Kurn1207 3
RoboMat Posted November 25, 2013 Author 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
RoboMat Posted December 15, 2013 Author 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.
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