Joonas Rikkonen
8b3a089884
Fixed clients being unable to select subs, GUIListBoxes can be scrolled even if selection is disabled
2018-01-28 19:14:24 +02:00
Joonas Rikkonen
ad18eb0db0
Fixed vote count text overlapping with the submarine preview button in NetLobbyScreen
2018-01-26 10:36:34 +02:00
Joonas Rikkonen
a1ccf501c7
Fixes to server settings. Closes #225
...
- Selected mode and mission type settings are saved and loaded.
- RandomizeSeed setting can be changed via the debug console and it also has an effect in the dedicated server.
- Dedicated server randomizes sub & mode settings if their selection modes are set to random.
2018-01-25 15:09:44 +02:00
Joonas Rikkonen
09e4687cd0
The content package a submarine was saved with is included in the submarine preview, added a warning when attempting to start a campaign using a sub with a mismatching content package
2018-01-25 12:19:47 +02:00
Joonas Rikkonen
788ae63b71
Removed testing hotkey that saves a screenshot of the sub
2018-01-24 12:25:00 +02:00
Joonas Rikkonen
f5dbbf0735
Submarine preview window with a preview image & some extra information of the subs
2018-01-17 17:01:44 +02:00
Joonas Rikkonen
8544dea9db
Fixed clients being able to votekick/kick/ban themselves in the server lobby.
2018-01-16 17:39:20 +02:00
Joonas Rikkonen
4e7e6ef60e
Client name is saved in config.xml (no need to re-enter every time you start the game). Closes #224
2018-01-12 14:45:55 +02:00
Joonas Rikkonen
bd1cd15dd4
Added votekick button to the server lobby. Closes #190
2018-01-10 20:43:31 +02:00
Joonas Rikkonen
37217db7cb
Fixed GUIListBox background frame not moving when the listbox is moved (dropdowns inside listboxes work correctly now), opening the "add submarine" dropdown menu in sub editor deselects all entities to prevent the entity editing panel from overlapping with the dropdown.
2018-01-10 12:24:30 +02:00
Joonas Rikkonen
6a3a4efba6
Option to display lighting in sub editor
2018-01-09 12:27:42 +02:00
Joonas Rikkonen
778b1a78ad
Fixed sub editor crashing when attempting to use illegal characters in the filename. Closes #207
2018-01-08 15:37:01 +02:00
Juan Pablo Arce
904052390c
Fixed LOS effect on Windows, fixed SharpDX reference, rebuilt damageshader_opengl
2017-12-31 17:45:05 -03:00
Joonas Rikkonen
627d6ecd78
Minor UI fixes
2017-12-29 21:09:53 +02:00
Joonas Rikkonen
454e0def3b
Particle additions:
...
- Support for subemitters (= particles can emit particles).
- Option to set a different velocity change value for particles in water (can be used to simulate buouancy).
- Fixed drag vector & timer not being reset when initializing a particle.
2017-12-29 20:58:29 +02:00
Joonas Rikkonen
4f0b190371
Some more hard-coded text removal
2017-12-27 14:40:33 +02:00
Joonas Rikkonen
2894b74edc
Started moving hard-coded texts to a separate xml file (Content/Texts.xml) to make modding and translating the game easier (see #80 ). Also Renamed InfoTextManager as TextManager.
2017-12-26 23:51:18 +02:00
juanjp600
5374c0f9a6
Windows-specific fixes 3
...
MS PLOX
2017-12-25 18:35:21 -03:00
juanjp600
e2f4431357
Added a command for automatic hull generation
...
It's not perfect by any means, but it should be usable enough as a
baseline for most subs.
2017-12-23 17:57:19 -03:00
juanjp600
47b5ccd7c6
Merge branch 'master' of https://github.com/Regalis11/Barotrauma
2017-12-21 20:31:24 -03:00
Joonas Rikkonen
ac53c5f80d
Fixed campaign view button overlapping with the spectate button in NetLobbyScreen. Closes #117
2017-12-22 01:18:16 +02:00
juanjp600
40a46f96e2
Fixed LOS not going red + Fixed additive particles not looking right at all
2017-12-20 20:47:17 -03:00
juanjp600
07626a1989
Merge branch 'master' of https://github.com/Regalis11/Barotrauma
...
Barotrauma/BarotraumaShared/Source/Items/Components/ItemComponent.cs
2017-12-20 19:46:53 -03:00
juanjp600
7a413aee93
Optimized GameScreen.DrawMap
...
- Downscaled lightmap, since blurring will make this unnoticeable anyway
(TODO: make this optional)
- Render LOS in fewer passes by using a shader
- Use light volume to calculate LOS
- This also means we can use the override texture to render the diving
suit obstruct effect
- Don't render bunks and labels onto LOS background (TODO: add the
option to render back into the LOS background, i.e. just use
multiplicative blending as if it was the lightmap)
- Prefer SpriteSortMode.Deferred over all others, prefer
SamplerState.LinearClamp/PointClamp over all others
- Remove shader blur in favor of geometry blur (TODO: improve on this
further, right now it has a few artifacts)
- Trim light volumes
- Do some weird shit with the background particles (use DrawTiled
instead of relying on SamplerState.LinearWrap, because that's faster
somehow :/ )
- Pressing up/down in the console only returns a typed command now
2017-12-20 19:41:23 -03:00
Joonas Rikkonen
ce37411a29
Merge branch 'permission-overhaul'. Closes #49
...
Conflicts:
Barotrauma/BarotraumaShared/Source/DebugConsole.cs
Barotrauma/BarotraumaShared/Source/Networking/ChatMessage.cs
2017-12-20 19:36:17 +02:00
Joonas Rikkonen
0204bc2c49
Added permission presets (or ranks). Current presets are none (no special permissions), moderator (round management & kicking) and admin (almost everything permitted).
2017-12-19 22:27:07 +02:00
juanjp600
4997ebf20d
[WIP] Overhauled project to make Linux build work out of the box
...
TODO: fix the Windows build, fix the Debug builds, make OSX
configurations, work around a bug in MonoDevelop where copied content
files don't respect the original directory structure
2017-12-15 08:31:07 -03:00
Joonas Rikkonen
9599137e83
Console command permissions can be changed in the client permission menu, permitted commands are displayed in the client-side permission popup
2017-12-07 18:25:08 +02:00
Joonas Rikkonen
0b603ba10b
Fixed particles in water being drawn under ruin structures (making it seem like plasma cutters aren't working), fixed all structures having the default health of 100 because of mismatching parameter name (Health vs MaxHealth)
2017-12-05 22:30:24 +02:00
Alex Noir
0e586651e7
Adds a [PM] tag
...
Fixes .Private message type colors being silly
2017-12-05 18:50:36 +03:00
Alex Noir
d4ce079d65
Lets people use keybinds to start chatting in lobby
2017-12-05 18:01:10 +03:00
juanjp600
c6ca3572ba
Added an option to respawn directly in the main sub
2017-12-05 03:03:37 -03:00
juanjp600
2347f2937e
Improved revolver hitreg, shooting structures affects karma, fixed 5th server being blocked in server list
...
Closes #70
2017-12-04 12:39:27 -03:00
juanjp600
4a1eea8c30
Fixed crash when setting a filter while the game is refreshing the server list
2017-12-03 20:33:20 -03:00
Joonas Rikkonen
78e97097cd
Fixed autorestart counter overlapping with the campaign map in the server lobby screen
...
Closes #57
2017-12-02 15:28:46 +02:00
Joonas Rikkonen
1c09f757a2
Renaming fields in the Client class for consistency
2017-11-23 20:43:22 +02:00
Joonas Rikkonen
18db667c1e
The server list can be filtered based on a few criteria
2017-11-21 00:59:53 +02:00
Joonas Rikkonen
fce7d43ef3
Fixed characters not appearing in the round summary in mp, minor CrewManager refactoring
2017-11-20 20:46:54 +02:00
Joonas Rikkonen
765587efd7
Renamed screens (EditMapScreen -> SubEditorScreen, EditCharacterScreen -> CharacterEditorScreen)
2017-11-18 15:13:03 +02:00
Joonas Rikkonen
cda08b1745
Fixed inability to move selectable items in character mode in the sub editor
2017-11-18 15:12:23 +02:00
Joonas Rikkonen
903686aed7
Modified particle properties can be saved directly to the config file
2017-11-18 14:18:46 +02:00
Joonas Rikkonen
3a6508648f
Progress on particle editor:
...
- Emission settings of the preview particles can be edited.
- The XML config of the selected particle prefab can be copied to clipboard.
+ pressing enter when a GUINumberInput textbox is selected deselects the textbox
2017-11-17 20:58:00 +02:00
Joonas Rikkonen
acfee80755
WIP particle editor, added tooltips to ParticlePrefab properties
2017-11-17 01:30:33 +02:00
Joonas Rikkonen
04e3710a65
Renaming fields for consistency
2017-11-14 22:45:22 +02:00
Joonas Rikkonen
5f4bf48449
Replaced instances where MapEntityPrefabs are searched for based on the name with a static Find method that takes the aliases of the prefabs into account.
2017-11-14 21:40:43 +02:00
Joonas Rikkonen
f46dc5da28
Water flow logic tweaking:
...
- Less fluctuation, water doesn't constantly flow back and forth through gaps.
- Flowing water pushes characters around much more heavily, and the force is applied to the collider in addition to the limbs.
- Vertical gaps don't push characters up/down unless the character is roughly above/below the gap.
+ Renamed some fields in the hull and gap classes (Volume -> WaterVolume, FullVolume -> Volume, public fields start with a capital letter)
2017-10-10 21:07:45 +03:00
Joonas Rikkonen
1ff2054ca8
Converted the GetAttribute methods in the ToolBox class to extension methods
2017-10-04 18:38:40 +03:00
Joonas Rikkonen
f127c410b0
Option for clients to spectate the game without respawning
2017-09-25 21:31:21 +03:00
Joonas Rikkonen
5eb1544f1e
Clients can be given a permission to select the sub or the game mode
2017-09-24 17:11:10 +03:00
Joonas Rikkonen
04b0c63f30
Campaign mode can't be voted for. The host has to manually create/select the campaign save, so switching to the campaign mode when the host isn't present would cause problems.
2017-09-24 13:41:54 +03:00