v0.5.4.1 + regenerated waypoints in vanilla subs & FishAnim tweaking

This commit is contained in:
Regalis
2016-12-04 19:21:17 +02:00
parent 8cd04afb80
commit d95acec6a2
6 changed files with 30 additions and 5 deletions
+2 -2
View File
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.5.4.0")] [assembly: AssemblyVersion("0.5.4.1")]
[assembly: AssemblyFileVersion("0.5.4.0")] [assembly: AssemblyFileVersion("0.5.4.1")]
@@ -207,13 +207,13 @@ namespace Barotrauma
Vector2 pullPos = Limbs[i].pullJoint == null ? Limbs[i].SimPosition : Limbs[i].pullJoint.WorldAnchorA; Vector2 pullPos = Limbs[i].pullJoint == null ? Limbs[i].SimPosition : Limbs[i].pullJoint.WorldAnchorA;
Limbs[i].body.ApplyForce(movement * Limbs[i].SteerForce * Limbs[i].Mass, pullPos); Limbs[i].body.ApplyForce(movement * Limbs[i].SteerForce * Limbs[i].Mass, pullPos);
if (Limbs[i] == MainLimb) continue; /*if (Limbs[i] == MainLimb) continue;
float dist = (MainLimb.SimPosition - Limbs[i].SimPosition).Length(); float dist = (MainLimb.SimPosition - Limbs[i].SimPosition).Length();
Vector2 limbPos = MainLimb.SimPosition - Vector2.Normalize(movement) * dist; Vector2 limbPos = MainLimb.SimPosition - Vector2.Normalize(movement) * dist;
Limbs[i].body.ApplyForce(((limbPos - Limbs[i].SimPosition) * 3.0f - Limbs[i].LinearVelocity * 3.0f) * Limbs[i].Mass); Limbs[i].body.ApplyForce(((limbPos - Limbs[i].SimPosition) * 3.0f - Limbs[i].LinearVelocity * 3.0f) * Limbs[i].Mass);*/
} }
Collider.LinearVelocity = Vector2.Lerp(Collider.LinearVelocity, movement, 0.5f); Collider.LinearVelocity = Vector2.Lerp(Collider.LinearVelocity, movement, 0.5f);
Binary file not shown.
Binary file not shown.
Binary file not shown.
+25
View File
@@ -1,3 +1,28 @@
---------------------------------------------------------------------------------------------------------
v0.5.4.1
---------------------------------------------------------------------------------------------------------
Bugfixes:
- copypasted items are now correctly aligned to the "grid"
- cabinets can be copypasted from a sub to another without the items inside disappearing
- placing explosives inside an item and that item inside another item doesn't prevent explosions
- fixed a bug that occasionally caused crashing when the game happens to generate a very small level
Sub editor:
- structures/items that are behind something else can be selected using a listbox that appears
when hovering the cursor over them
- wires have to be selected by clicking before any of the points can be moved (makes it possible
to move the correct wire even if it's overlapping with other wires)
- the selected wire is renderer over all structures
- points can be added to wires by clicking while holding ctrl
- disabled music
Misc:
- some rendering optimization
- pathfinding and waypoint generation improvements
- made mantises more aggressive
- water flows more slowly through partially damaged walls
--------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------
v0.5.4.0 v0.5.4.0
--------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------