Commit Graph

193 Commits

Author SHA1 Message Date
Regalis
8c19adeb5e Some more randomness in level generation, info message about the radio command in mp 2016-04-23 17:32:52 +03:00
Regalis
3347fcdd20 Server notifies clients about junction boxes breaking (+ clients aren't allowed to break them), fixed explosion lightSource positioning 2016-04-22 17:28:22 +03:00
Regalis
6c538443fd - characters aren't teleported through gaps if a wall doesn't have a hole there
- characters aren't teleported outside until they're far enough from hulls (prevents them from "jumping" outside as they're teleported partially inside the body of the sub)
- arms are mirrored/flipped when turning in water
2016-04-22 17:21:34 +03:00
Regalis
188220c464 A "suicide button" which can be used if the character is unconscious and the player doesn't want to wait for help, fixed submarine staying loaded when clicking the "load previous" button mid-round, main path waypoint generation bugfix 2016-04-20 17:22:22 +03:00
Regalis
e33f30dad1 Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets 2016-04-20 17:19:38 +03:00
Regalis
5bacb66543 - fixed holes only being passable at the first and last sections of a wall 2016-04-16 21:03:11 +03:00
Regalis
17d499d70a - clients only apply OnImpact statuseffects on items when the server says so
- fixed characters occasionally teleporting partially inside walls in mp
- made it easier to drag characters while swimming
2016-04-16 21:00:21 +03:00
Regalis
204d1333d1 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma 2016-04-16 15:36:10 +03:00
Regalis
31a04c7bc1 Cargo missions, a menu that shows the mission description mid-round 2016-04-16 15:36:01 +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
c5685db0aa - handheld sonar
- junction boxes, sonar monitors, navigation terminals and engines break down if they're underwater long enough
- reactor cools down if it's underwater
- job-specific gear are grouped by job in separate .xml files
2016-04-09 14:31:59 +03:00
Regalis
39c9c78266 - level generation refactoring: moved most of the generation logic to a static GaveGenerator class + some minor cleanup
- WIP method for splitting the voronoi cells to smaller ones and carving a small cave through them
2016-04-02 16:03:41 +03:00
Regalis
3ac8139fc7 - changes to the logic for distributing oxygen through vents: the oxygen generator pushes more oxygen to larger rooms
- bugfixes in HumanoidAnimController.Flip()
- item/itemcomponent statuseffects are stored in a dictionary with the actiontype as a key, so the item doesn't have to iterate over all the components and all their statuseffects
- gap bubble particle tweaking
2016-03-29 17:57:05 +03:00
Regalis
23f1623562 Fixed missions not matching between Linux and Windows builds 2016-03-28 19:58:22 +03:00
Regalis
c1a1990f08 - moving characters out of the way when the sub is teleported to the right position in multiplayer (monsters shouldn't randomly pop up inside the submarine anymore)
- taking sub position into account when snapping cursor position to the grid -> new items/structures are aligned with existing ones if editing the sub while a round is running
2016-03-28 16:11:55 +03:00
Regalis
9a0bf07fc2 - some more medicine value tweaking
- medicine & toxic cabinet items (added to vanilla subs)
- updating the positions of items inside a moving container (caused explosions to happen in the wrong position if the explosive inside something like a grenade)
- renamed doctors as medical doctors
2016-03-27 20:25:24 +03:00
Regalis
c8597f76be - added med bays to the vanilla subs
- some new wall prefabs
- medical item statuseffect tweaking
- fixed textBoxes not being deselected in waypoint editing hud after applying the changes
2016-03-26 23:25:04 +02:00
Regalis
2f7295eaad Option to set a duration for a status effect 2016-03-26 23:20:02 +02:00
Regalis
fc8b30c974 - npcs wont try grab items from other characters' inventories
- fixed lightcomponent LightSprites "twitching" when the sub is moving
- fixed null reference exceptions in Hull.Render if no submarine has been loaded
- submarine descriptions
- emergency sirens in Aegir & Vellamo
- changed the required item for fabricating a wire from "Copper" to "Copper Bar"
2016-03-18 17:48:25 +02:00
Regalis
d6a57f9533 Bunch of crew AI bugfixes/improvements:
- replacing empty oxygen tanks
- fixed characters only fixing leaks in the outer hull
- prioritizing large leaks over small ones
- fixed characters doing nothing after fixing all the leaks (and sinking to the bottom if they happen to be outside)
- more accurate welder aiming
- AIObjectiveGetItem makes the characters go to the cabinet/container an item is inside, not to the actual item (which may not be actually positioned at the container)
2016-03-16 17:41:59 +02:00
Regalis
5120812adf - fixed AICharacters being updated even if they're disabled
- enemies can spot targets from further away if they've previously spotted the target
- physics bodies are immediately moved to the correct position if they're really far (instead of lerping)
2016-03-13 19:24:30 +02:00
Regalis
d713874bd6 Tweaked AITarget ranges: now it's possible to evade some monsters by stopping the sub and/or turning off noisy devices, AITarget ranges can be made visible by entering "ShowAITargets" in the console, misc cleanup 2016-03-12 21:35:21 +02:00
Regalis
c99f94b1de Fixed projectiles (e.g. railgun shells) not colliding with the sub when shot from outside, fixed lightcomponents not being positioned correctly on moving items 2016-03-12 21:28:39 +02:00
Regalis
d1580328ed Some cleanup using ReSharper (mostly removing redundancies) 2016-03-12 15:32:34 +02:00
Regalis
ae4e4d8f34 - wiring tool bugfixes
- new oxygen and welding fuel tank sprites
- more reliable method of checking that the sub can pass through the level
- moved the name of the highlighted item to the bottom of the screen
2016-03-11 19:12:07 +02:00
Regalis
ad17b1a9bf - "wiring mode" which makes wiring a bit more convenient in editor
- invisible entities (items inside cabinets, hulls/gaps when they've been hidden) can't be highlighted or selected in the editor
- fixed And Components always sending a signal out during the first frame if timeframe is set to 0.0
- fixed moloch not appearing in the tutorial
2016-03-11 16:10:36 +02:00
Regalis
6deab579a1 - fixed level generation algorithm placing waypoints at unreachable positions
- changes to drowning/suffocation logic (oxygen-value drops/rises at a fixed rate depending on whether there's enough oxygen available, instead of effects "stacking")
2016-03-09 16:57:11 +02:00
Regalis
10bb5d061f - WIP attempt at syncing item positions
- Some changes to item floating logic (lift is also applied to items outside the sub, forcefactor is clamped to 1 if the item is fully submerged)
2016-03-07 00:57:15 +02:00
Regalis
436bdb1448 v0.3.4.2: fixed section bodies not being restored after repairing a wall/window, fixed servers letting all clients in despite a wrong password, game version or content package 2016-03-05 12:50:22 +02:00
Sebastian Broberg
1bc5cb24c1 Distance scaling 2016-03-04 18:20:17 +01:00
Sebastian Broberg
3a0201ca28 Items now take all gaps in account 2016-03-03 21:05:04 +01:00
Sebastian Broberg
0b7b52256b Small change to calculations. 2016-03-03 20:55:20 +01:00
Sebastian Broberg
f97ff4ca46 Merge branch 'master' of bitbucket.org:Regalis11/barotrauma 2016-03-03 20:18:35 +01:00
Sebastian Broberg
467a99f79d Fixed hatch issue with shadows
Added per segment visibility/collision
2016-03-03 20:18:21 +01:00
Regalis
35c36d283a Upgraded to MonoGame v0.3.4: rebuilt shaders, removed the old content project, added a default config file 2016-02-29 22:06:48 +02:00
Regalis
c64dbed55d Resizing structures/items in editor 2016-02-28 21:08:52 +02:00
Regalis
cc4ada952f - File transfer improvements (switching the sub selection during transfer works, max transfer duration, waiting for transfers to finish before starting the round)
- Firesource changes (more particles with shorter lifetimes, combining bugfix)
- StatusEffects can target hulls and always be active
- Cyrillic character support
- Saving server settings
- Swapping items in inventory by dropping an item to a non-free slot
2016-02-27 21:01:10 +02:00
Regalis
7309201b11 File sharing fixes: canceling transfers, displaying transfers & progress server-side, invalid sub files aren't selected or sent 2016-02-27 00:25:13 +02:00
Regalis
9f8f4e290e Fixed propulsion applying force to _every limb except_ the ones it's supposed to, fixed pressure building up in enclosed rooms that are full of water, fixed netlobby displaying multiple votes for clients, progress on file transfer 2016-02-26 22:21:00 +02:00
Regalis
77d3d22810 Camera twitching fixes, fixed crashing when loading a sub with no hull, fixed server lobby player count only working for 0-15 players, progress on downloading subs from the server 2016-02-25 22:54:10 +02:00
Regalis11
b081891dc6 Cam twitching fix? (untested) 2016-02-24 19:44:15 +02:00
Regalis11
c613e5fcf8 AICharacte syncing bugfixes, cleanbuild removes the temp save folder, minor networkevent optimizations (enum max value == GetValues().Length-1) 2016-02-21 20:46:57 +02:00
Regalis
308ae7a8b0 v0.3.3 2016-02-20 21:52:05 +02:00
Regalis
619390ab72 Water dustparticle fixes, random variation in background color, submarine is automatically moved to origo when loading, configuring a fabricable item with no material requirements doesn't throw an error, AI characters can't open doors if in handcuffs, engines can be picked through doors 2016-02-20 18:24:38 +02:00
Regalis
8672a47a12 Taking structure offset from origin into account when spawning the sub, repairtool automatically targets last section if welding the second-to-last 2016-02-20 14:12:04 +02:00
Regalis
058a269ecb More easily readable netstats (B/kB/MB instead of just B), scrollable netstats client list, possible to wear multiple items in same limb, handcuffs 2016-02-20 13:00:05 +02:00
Regalis
9cfbbb44ed Fixed a bunch of sprites not being removed 2016-02-19 15:58:43 +02:00
Regalis
c59a2b5207 Some visual effects when drowning or being killed by pressure 2016-02-19 15:00:45 +02:00