diff --git a/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Graphics.png b/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Graphics.png index 01148279b..6265f7b7b 100644 Binary files a/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Graphics.png and b/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Graphics.png differ diff --git a/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Particle.txt b/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Particle.txt index 6f9d6af2f..aea5702f0 100644 --- a/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Particle.txt +++ b/planet/Parkour.ocf/Boomshire.ocs/Confetti.ocd/Particle.txt @@ -1,3 +1,3 @@ [Particle] Name=Confetti -Face=0,0,128,128,-64,-64 +Face=0,0,10,10,-5,-5 \ No newline at end of file diff --git a/planet/Parkour.ocf/Boomshire.ocs/System.ocg/Chest.c b/planet/Parkour.ocf/Boomshire.ocs/System.ocg/Chest.c index 44d0009da..586da6cce 100644 --- a/planet/Parkour.ocf/Boomshire.ocs/System.ocg/Chest.c +++ b/planet/Parkour.ocf/Boomshire.ocs/System.ocg/Chest.c @@ -46,16 +46,23 @@ public func DoTheConfetti() { this.confetti = { - CollisionVertex = 500, + R = PV_Cos(PV_Random(0, 360, 0, 3), 127, 128), + G = PV_Cos(PV_Random(120, 480, 0, 3), 127, 128), + B = PV_Cos(PV_Random(240, 600, 0, 3), 127, 128), + Phase = PV_Step(1, PV_Random(0, 7), PV_Random(1, 3)), + DampingX = 900, + DampingY = 900, + ForceY = PV_Gravity(500), + Size = PV_Random(1, 4), + Rotation = PV_Random(0, 359), + Alpha = PV_KeyFrames(0, + 0, 255, + 900, 255, + 1000, 0), // fade out at end only OnCollision = PC_Stop(), - ForceX = PV_Random(-5, 5, 10), - ForceY = PV_Gravity(100), - Size = 1, - R = PV_Random(100,255), - G = PV_Random(100,255), - B = PV_Random(100,255), - DampingX = 900, DampingY = 900 + CollisionDensity = 25, // also collide with water + CollisionVertex = 0, }; } - CreateParticle("Confetti", PV_Random(-5, 5), PV_Random(0, 2), PV_Random(-30, 30), PV_Random(-80,-20), PV_Random(100, 150), this.confetti, 15); + CreateParticle("Confetti", PV_Random(-5, 5), PV_Random(0, 2), PV_Random(-30, 30), PV_Random(-80,-20), PV_Random(40, 80), this.confetti, 15); } \ No newline at end of file