Search found 2 matches

by 20percenttaco
Sun May 22, 2016 1:02 pm
Forum: Modding help
Topic: Making projectiles shrink with time?
Replies: 2
Views: 1048

Re: Making projectiles shrink with time?



if (flame.speed >= 0.06) then
flame.animation.height = flame.animation.height - 1
flame.animation.width = flame.animation.width - 1
end



You can't do scripting like this in a prototype definition,
And also we are making our own flamethrower turret so it might not be worth your time to ...
by 20percenttaco
Sat May 21, 2016 8:42 pm
Forum: Modding help
Topic: Making projectiles shrink with time?
Replies: 2
Views: 1048

Making projectiles shrink with time?

Heya!

I have tried to create a flame turret mod, and want the fire projectiles to decrease in size with time. I thought I could use the speed variable for this, since there's acceleration.
So what I did was add this to my projectiles.lua file -


(everything that's there - this stuff works)

data ...

Go to advanced search