jpcsupplies / JupiterSpeedBox

Space Engineers Skybox of jupiter with altered ship speed settings
0 stars 0 forks source link

Add smoke effects when going over 200ms #1

Open jpcsupplies opened 8 years ago

jpcsupplies commented 8 years ago

Now we have planets be cool if i could trail smoke if i go too fast.. trouble is can it be set to only occur in a planet or not.. although jamming across space at 800ms would look pretty hardcore if you are throwing smoke as you go

jpcsupplies commented 8 years ago

Possible logics - trail smoke at 200-300ms trail colored smoke (eg radiation leak effect) at 350-400, go full armageddon or burning effect at 400+

On entry to a planet, save original color, then change the lead edge blocks to fluro yellow color (400ms+)

Once speed slows down cherry red (300-400ms)

Once below 300, restore original color, but Darken shade on armor accents a few lumens on lead edge blocks

Alternately generate a "spotlight" source at full radius and brightness while at speed..

All depends what is possible really.

midspace commented 8 years ago

I can't find any way of producing the particle effect in the API.

Each functional cube can have a DamageEffect applied to it through it's definition, and it may be possible to force that effect on for given cubes, but I can't find anything more than this.

jpcsupplies commented 8 years ago

One step at a time i suppose, step 1 can we catch our speed (possibly) step 2 can we detect if we are in an atmosphere or gravity well step 3 can we work out our lead edge blocks (maybe) step 4 can we apply color or light effects to those lead edge blocks (hopefully) step 5 some way to apply damage/smoke effects (may need some dirty hack here.. like attach a damaged block to the front or rear of our ship and remove it when we slow down..or sync an armageddon meteor to the ship?)

Hack thoughts... can an atmos engine be polled to see what thrust its making... if so there is our atmosphere detector maybe..