Closed zymex22 closed 4 years ago
I have a few questions to ask.
Originally there is workSpeedBaseFactor in AssemblerDefModExtension. https://github.com/nullre/Project-RimFactory-Revived/blob/master/Source/ProjectRimFactory/SAL3/Exposables/AssemblerDefModExtension.cs#L11 Can you use this?
Do you want to set the skill level uniformly? Individual?
uniformly
<skillLevel>15</skillLevel>
or individual
<skillLevel>
<Cooking>15</Cooking>
<Crafting>8</Crafting>
</skillLevel>
Do you just want to switch textures? Is "tex00 to texture 01" meaningful?
Does it just glow red when working? do pulse? I don't know how pulse works.
with xml? ingame?
thank you for your reply.
oh i didnt know didnt see it anywhere, but yes if i can set speed its perfect =)
Maybe Assembler can work at double speed if you do the following.
<modExtensions>
<li Class="ProjectRimFactory.SAL3.Exposables.AssemblerDefModExtension">
<importRecipesFrom>ElectricStove</importRecipesFrom> <!-- import same bills as vanilla electric stove have -->
<workSpeedBaseFactor>2</workSpeedBaseFactor>
</li>
</modExtensions>
glow was just if i could make blinking/pulsing light somehow so it can flash redlight when working, would look good on furnace.
I might not have understood that content correctly. I will try it. please check after that.
https://media.giphy.com/media/3o6fIPzkn0CsfSo0lG/giphy.gif glower / pulse light like this picture =) normal comp Glow can only light solid light. would be nice if i could make it pulse
just tested:
<modExtensions>
<li Class="ProjectRimFactory.SAL3.Exposables.AssemblerDefModExtension">
<importRecipesFrom>ElectricStove</importRecipesFrom> <!-- import same bills as vanilla electric stove have -->
<workSpeedBaseFactor>2</workSpeedBaseFactor>
</li>
</modExtensions>
That works thank didnt know it was aldready in =) i have marked done on original post
Change the glowColor and glowRadius of CompGlower little by little? I'll try it.
Able to use smoke effect on working like NR miner
Assembler use only Drill Effect instead of effectWorking of RecipeDef? SelfCooker etc too?
effectWorking of ButcherCorpseFlesh Recipe is ButcherFlesh Effect.
effectWorking of CookMealSimple Recipe is Cook Effect.
These are when using the effectWorking of RecipeDef.
Implemented pulse temporarily. is it right?
XML:
<li Class="ProjectRimFactory.Common.CompProperties_GlowerPulse">
<minGlowRadius>3</minGlowRadius>
<maxGlowRadius>5</maxGlowRadius>
<minGlowColor>(255,0,0,100)</minGlowColor>
<maxGlowColor>(255,0,0,10)</maxGlowColor>
<intervalTicks>15</intervalTicks>
</li>
It makes a linear transition during intervalTicks between max and min.
this looks really good
this looks good too =)
updated Original post
please check test_#41 branch. Only SelfCooker is set.
SkillLevel https://github.com/nullre/Project-RimFactory-Revived/blob/66644eaaa2c1122093d789ea07f110e9707ebba2/Defs/ThingDefs_Buildings/Buildings_Assemblers.xml#L259 Recipes that do not meet the skillRequirements will be hidden.
Able to use smoke effect on working like NR miner The effectWorking of RecipeDef is used.
Swap from tex00 to texture 01 when working (true/false) https://github.com/nullre/Project-RimFactory-Revived/blob/0d56b563bce352663d584fa4c7f3ec71e5f12380/Defs/ThingDefs_Buildings/Buildings_Assemblers.xml#L260-L264
Glow comp that can pulse light like red lamp when working https://github.com/nullre/Project-RimFactory-Revived/blob/6ae43f42475a1b2e0fcfe18edc82f948793ab38d/Defs/ThingDefs_Buildings/Buildings_Assemblers.xml#L230-L239
Hide Idle/working text (true/false) https://github.com/nullre/Project-RimFactory-Revived/blob/66644eaaa2c1122093d789ea07f110e9707ebba2/Defs/ThingDefs_Buildings/Buildings_Assemblers.xml#L265
Able to use smoke effect on working like NR miner The effectWorking of RecipeDef is used. -- Can this be turned on/off didnt see it in def. -- also can it overwrite RecipeDef effect if that item have wrong effectWorking
glower seems to work
work texture work
hide idle work
set skill level work
added sound process. enabled to override effect and sound. please check.
wrong at line 281. but i understand.
also it does work =) i check it on main list
You are so fast and amazing at doing this, i didnt expect this be so quick and even better than i Imagineged it
The remaining four take time. If you want to merge it into your repository first, you should make the rest a new Issue. If not, I will do this issue slowly. Merge will be delayed.
You can PR theese first theese seems most importent i move others to new issue
Hello i had a Assembler update in mind wich would allow me to create more and better control over machines
A comp or extension to set following on each def assembler
Less important