Commit Graph

31 Commits

Author SHA1 Message Date
Regalis
9b15d2f894 Improved background sprite placement logic: orientation of the cell edges determined by their normals instead of their position relative to the cell 2016-09-27 20:18:55 +03:00
Regalis
7f543c394a More background sprites again, sprite commonness can vary between different level types 2016-09-14 19:54:03 +03:00
Regalis
eae854abbc More background sprites (+ some sprites swing slightly, sprites are less likely to be placed in unreachable places) 2016-09-13 21:23:37 +03:00
Sebastian Broberg
400084f9e5 BackgroundCreatureManager and BackgroundSpriteManager can be overridden via Content packages
Changed "topshaft"
2016-09-03 18:05:26 +02:00
Regalis
a5111d33df Tons of AI + pathfinding bugfixes:
- waypoints are created between docked subs and removed when they undock
- fixed start waypoint being left out of steering paths
- NPCs won't close doors/hatches on themselves
- NPCs won't let go of ladders until their feet are above the lower edge of the hull
- fixed FindDivingGear "loops": need to find a suit -> need to get to a suit -> need a suit to get to the suit -> need to find a suit...
- fixed characters constantly turning from side to side in small rooms
- recursive function for finding the button which opens a door (so a button doesn't have to be connected straight to a door for an NPC to be able to open it)
- AIObjectiveGetItem keeps searching for more suitable items even if a path to a matching item has been found
2016-07-08 20:53:11 +03:00
Regalis
be72fee824 Dirty workaround for background music breaking during loading (the music is switched when a round starts), the "wall" at the top of the levels is drawn on top of the lightmap, small fixes in AIObjectiveGetItem and BackGroundSpriteManager 2016-05-15 17:58:56 +03:00
Regalis
3f22b2e4df GUIMessageBoxes are drawn on top of everything else (they were obstructed by shiftsummary), placing background sprites based on level seed, instructions for dealing with broken junction boxes in tutorial 2016-05-01 18:55:44 +03:00
Regalis
d3ab7946a8 Using ToLowerInvariant instead of ToLower (the game works for Turkish players now!)
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
2016-04-27 17:14:09 +03:00
Regalis
204d1333d1 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma 2016-04-16 15:36:10 +03:00
Regalis
6876bdc481 Crates, some new chemicals, statuseffects that are triggered on impact, explosions can trigger "OnFire" statuseffects, applying impulses to items (and not just characters) when the submarine hits something 2016-04-16 15:33:28 +03:00
Regalis11
f9d64ea5c4 Some more commenting & cleanup 2016-04-10 21:03:40 +03:00
Regalis
c6df095a8b Narrow caves in levels, more background sprites 2016-04-10 10:57:38 +03:00
Regalis
d1580328ed Some cleanup using ReSharper (mostly removing redundancies) 2016-03-12 15:32:34 +02:00
Regalis
4f54e04c8c Improved level generation algorithm, fixed invisible hulls, turret projectile fix, fabricators work in mp 2016-02-11 21:37:37 +02:00
Regalis
75b8e44d3c Fixed wrappingwalls, fixed Level.GetCells returning the same cell multiple times, placing backgroundsprites based on level seed 2016-01-20 23:26:41 +02:00
Regalis
92d396e6b2 Fixed AIObjectiveGoto terminating if previous path was unreachable, BackGroundSpriteManager won't place a sprite if a suitable position isn't found, StatusEffect fire position fix, UI improvements, door convexhull fix, progress on Fabricators & Deconstructors, mapentities sorted by category in edit mode, item descriptions, TutorialMode refactoring to make it easier to add new types of tutorials 2015-12-28 13:21:24 +02:00
Regalis11
63dd5e1bf6 Added HhyperDescriptor, sorting backgroundsprites according to texture 2015-12-21 12:12:31 +02:00
Regalis
af470eab2e more accurate submarine body generation, multiplayer fixes, saving takes HiddenSubPosition into account, fire coordinate fixes, editscreen fixes, checking item triggers in AIObjectiveGoto, netlobbyscreen sync fixes, re-enabled level start/end positions, water edit fixed 2015-12-17 18:26:40 +02:00
Regalis
78bccca4af Moar progress, fixed shadow/los/submarine misalignment issues 2015-12-09 19:29:53 +02:00
Regalis
c064c5eb50 Very unfinished attempt at changing the coordinate system to work relative to the level and to move the sub instead of the whole level 2015-12-03 19:42:11 +02:00
Regalis
c9cc94f701 Crew commands 2015-11-26 23:04:02 +02:00
Regalis
4d949e3be1 Spectating, fire, damaged limb sprites, water detector, engineer jumpsuit, new signal comp sprites, resharper cleanup (god knows what else, commit more often) 2015-11-10 22:22:26 +02:00
Regalis
838022fcd5 Switch to Barotrauma & too many misc changes to remember 2015-10-16 18:11:58 +03:00
Regalis
0a96254696 Tutorial fixes 2015-10-09 17:18:25 +03:00
Regalis
db7128a475 Better autopilot, guiframe tweaking, fixed ui scaling, aicontroller bugfixes, human walk/run anim uses HandIK 2015-10-06 21:18:36 +03:00
Regalis
45178e745b misc optimization & refactoring 2015-09-29 18:03:38 +03:00
Regalis
f6966f06c3 WIP CrashReporter, misc refactoring 2015-09-19 15:14:47 +03:00
Regalis
ea15397725 Merged linux changes, water effect using a BasicEffect and a simpler pixel shader, multi-colored wires 2015-09-08 21:55:27 +03:00
Regalis
04d55891f0 Particles using display coordinates, particle growtime, character death&stun animations 2015-09-05 12:13:44 +03:00
Regalis
0cbcdd0b03 Turret rotation fix, CharacterInventory networking bugfixes, prevent limbs clipping with other colliders when mirroring, fixed mantis animations, better looking explosions, spark effect when overvoltage breaks an item 2015-09-04 21:56:39 +03:00
Regalis
2f08dcf3f9 Admin can play in multiplayer, backgroundsprites, fixrequirement bugfix, the condition of the reactor won't detoriate when it's running 2015-09-04 12:57:12 +03:00