Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

The Saiyans Beast Form

This is a simple example of The Saiyans submod that adds beast form transformation. The transformation should be learnable through Ki Skill book for the ease of new transform Ki Ability. Just me using comments in the code and xml, try to guide new modder through this, all xml and code should be read if you are using this as a template and you are starting fresh at modding. Please open the .sln solution file in the source folder with visual studio to view the source code and comment. Requirement: [list] [*] Require base mod The Saiyans [*] Recommended but Not Required, if you got Facial Animation The Saiyans Continued, the brows and eye color will change as the pawn transform into beast form I thought the original saiyan head is not going to fit the hair. Never mind, it fits. [/list] How to get the skill/what the code demonstrate in skill accquire [b] Currently, when the Half-Saiyan pawn level to 100(Ki class level >= 100) and got Potential III, there is 3% chance(by default can be adjust in mod setting) that the pawn learn beast form on level gain. So 75% for each pawn(3% x 25). If the Half-Saiyan pawn has learned Super Saiyan, Temperate Rage (any tier/level), and Potential III, 10% chance(by default can be adjust in mod setting) to learn beast form when a friend colonist died and the pawn get the ____ died memory as mood debuff. Half-Saiyan also can learn the Skill via Skill book that can be made at the Ki writing table or spawn the Skill book at the beginning with Character Editor/Prepare Carefully. (This is for testing and cheating?) Remember to check the ModSetting for Balancing or making it more OP (for god's sake, it is already very op): the chance to gain beast form by gaining a level, when Ki level >= 100 the chance to gain beast form by losing colonist the internal damage multiplier, not shown in hediff The slider has upper limit of 20000% but the text box for typing number has no upper limit (Hediff has x25 damage multiplier, the internal one is x100 by default, 25000k damage per hit for saiyan punch with power of 12) the hediff battle buff and press Apply Hediff Change for it to take effect no need to restart, just toggle off Beast Form and then toggle it back on [img]https://i.imgur.com/KXk4UdX.png[/img] WIP [list] [*] Adjust and override/overwrite Hediff value in Mod Setting [*] Special Beam Cannon [*] New Skill icon for Beast form, I did "borrow" a sticker design, Run! before they found out [*] Fix the bug where Power-up will also toggle off Beast Form Not fixed,but Beast form now has Ki regen buff which is better than that of power-up [/list] [/b] P.S. Both the xml and the code is well comment. Each comment will highlight the change you need to made to the xml or the code to create your own Ki Ability (This mod is an example of Transformation mainly.