Krita and notepad++ are the stuff I use for modding
These Buff things are confusing.
at first I thought it might have been the fact that the bullet went faster than light but when I turned it's speed down it still chrashed
The problem only occurs while having a buff
In case this helps, here is the buff code:`{
Action = Add
AddTo = "<buffs/buffs.txt>"
Name = "Defense"
ToAdd
{
CombineMode = Max
BaseValue = 100%
Icon
{
Texture
{
File = "buff_engine.png"
MipLevels = 2
SampleMode = Linear
}
Size = [2, 2]
}
IconTextFormatKey = "BuildBox/BuffPercentageFmt"
IconTextMultiply = 100
IconTextAdd = -100
RectBorderColor = [0, 255, 84, 160]
RectFillColor = [0, 84, 255, 64]
}
}`Two things:
In order for a bullet to receive buffs from the weapon that fires it, you need to add
ReceivableBuffs = [Defense]to the bullet in addition to the part.It look like there's a bug where if a part does receive buffs but a bullet it fires does not receive buffs, then it crashes. I will fix this for the upcoming RC.
But the bullet doesn't change, does it?
I'll add that
This shows how true the name is!
I'll try that tomorrow, thanks a lot!
