jpcsupplies / Economy_mod

Basic Economy System for Space Engineers
13 stars 12 forks source link

sbc autopsies & list of interesting api stuff #65

Closed jpcsupplies closed 8 years ago

jpcsupplies commented 8 years ago

Crunch Crunch sounds... planets must be close

    <ContactProperty>
      <Type>Run</Type>
      <Material>Snow</Material>
      <SoundCue>PlayStepsSnow</SoundCue>
      <ParticleEffect>PlanetCrashDust</ParticleEffect>
      <ParticleProperties>
        <ColorMultiplier> <X>512.0</X> <Y>512.0</Y> <Z>512.0</Z> <W>0.0</W> </ColorMultiplier>
        <SizeMultiplier>0.1</SizeMultiplier>
        <Preload>1.05</Preload>
      </ParticleProperties>
    </ContactProperty>
    <ContactProperty>
      <Type>Sprint</Type>
      <Material>Snow</Material>
      <SoundCue>PlayStepsSnow</SoundCue>
      <ParticleEffect>PlanetCrashDust</ParticleEffect>
      <ParticleProperties>
        <ColorMultiplier> <X>512.0</X> <Y>512.0</Y> <Z>512.0</Z> <W>0.0</W> </ColorMultiplier>
        <SizeMultiplier>0.1</SizeMultiplier>
        <Preload>1.05</Preload>
      </ParticleProperties>
    </ContactProperty>
jpcsupplies commented 8 years ago

Also appears to be new music, related to planets or combat.. hard to say reading raw xml

jpcsupplies commented 8 years ago

\SpaceEngineers\Content\Audio\ARC\PLAYER lot of new sounds added last month

jpcsupplies commented 8 years ago

Useful sounding things: Sandbox.Game.Multiplayer.MyFactionCollection.GetPlayerFaction(long) Sandbox.Game.Entities.MyFloatingObject.ClosestDistanceToAnyPlayerSquared Sandbox.Game.Multiplayer.MyFactionCollection.TryGetPlayerFaction(long) Sandbox.Game.Multiplayer.MyPlayerCollection.TryGetPlayerById(Sandbox.Game.World.MyPlayer.PlayerId, out Sandbox.Game.World.MyPlayer) Sandbox.Game.World.MyPlayer.GetRelationBetweenPlayers(long, long) Sandbox.Game.World.MyPlayer..... lots of interesting stuff here Sandbox.ModAPI.IMyPlayer.GetPosition()

jpcsupplies commented 8 years ago

Looks like they are getting to the Git hub stuff now.. @midspace

Fixes