Commit Graph

2171 Commits

Author SHA1 Message Date
Blue
a0b3fe7b46 Locky typo fixed
"loxky" to "locky"
2018-05-23 21:25:55 +02:00
Joonas Rikkonen
76e8b078c3 Added missing railgun sprite & fixed indentation in the new item configs 2018-05-21 20:59:11 +03:00
Joonas Rikkonen
914e11d878 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-05-21 20:31:01 +03:00
Joonas Rikkonen
b9b3c96f99 Fixed Timing.TotalTime not being updated in the dedicated server. Caused clients never timing out, AIObjectiveFixLeaks not working at all, reactor usage not being logged and possibly other issues. 2018-05-21 20:30:51 +03:00
Joonas Rikkonen
384453b05c Fixed compiler errors caused by mission refactoring in the server project 2018-05-21 20:27:23 +03:00
Joonas Rikkonen
bb31fd1e73 Moved some client-specific limb code to the client project, dripping water particles when characters get out from water 2018-05-21 19:17:34 +03:00
Joonas Rikkonen
2805ca78c4 Merge pull request #412 from ClasticM/patch-2
Railgun Shell Rack
2018-05-21 11:48:03 +03:00
Joonas Rikkonen
06e99cdfda Merge pull request #411 from ClasticM/patch-1
Rear Railgun Controller/Additional Railgun Loaders
2018-05-21 11:47:51 +03:00
ClasticM
a71c10a2bc Railgun Shell Rack
Adds a rack capable of holding 3 Railgun shells,
so players / sub makers won't have to store shells on the floor anymore. Also helps the crew keep track of how many Railgun shells they sub have. 

Because the racks take up space, it also would help with balancing subs for PvP and so on.

texture located in "content/items/weapons/railgunetc2.png", which it shares with the new loaders and rear facing controller.
https://imgur.com/muAIF9P

This feature has been requested a lot lol, so I hope this will make a lot of people really happy
2018-05-18 20:13:12 -05:00
ClasticM
9da4deaed5 Rear Railgun Controller/Additional Railgun Loaders
Tested code for new Railgun items
 
* "Rear Railgun Controller" - Rearward facing Railgun controller

* "Railgun Single Loader" - Vertical loader with 1 shell capacity
* "Forward Railgun Loader" - Forward facing loader with 1 shell capacity
* "Rear Railgun Loader" - Rearward facing loader with 1 shell capacity

Gives sub makers more variety and different ways to arm subs. Can also be used to make a challenging balance with the weapons that requires more teamwork to operate. Also useful for simulating torpedo's tubes

Sprite example:
https://imgur.com/muAIF9P

All items tested and implemented.
2018-05-18 19:58:09 -05:00
Joonas Rikkonen
95fc1cc025 Mission initialization fixes 2018-05-18 12:23:31 +03:00
Joonas Rikkonen
f931d81aed Mission refactoring (mission prefabs) and option to select which types of missions can be selected when mission type is set to random (TODO: a way to set the allowed types from the UI). 2018-05-17 23:45:29 +03:00
Joonas Rikkonen
244acd3ec5 Fixed character getting spawned at a random spawnpoint in any sub if no spawpoint that fits the character's job is found, making it possible for them to spawn inside the respawn shuttle. Closes #408 2018-05-17 19:56:36 +03:00
Joonas Rikkonen
cc594a502c Merge pull request #406 from BlueTheKing/patch-1
Docking port and hatch changed
2018-05-10 15:59:00 +03:00
Blue
fed959e8eb Docking port and hatch changed
Docking port needs electrical skill to get fixed.
Both construction skill requirement changed to 50
2018-05-10 13:12:54 +02:00
Joonas Rikkonen
5ea88a0929 Fixed explosives not detonating inside railgun shells. Closes #400 2018-05-08 10:31:28 +03:00
Joonas Rikkonen
421e77cc3e Fixed itemcomponents being loaded incorrectly if an item has multiple components of the same type. 2018-05-07 11:15:49 +03:00
Joonas Rikkonen
7dd4dca2ed Fixed crashing when a round starts if the sub has been saved while a fabricator was running. Closes #398 2018-05-07 11:15:12 +03:00
Joonas Rikkonen
bdc9ca6d59 Merge pull request #399 from BlueTheKing/master
Deconstructing certain items now gives materials
2018-05-07 10:41:00 +03:00
Blue
890c0dc1d9 Deconstructing certain items now gives materials
Some tools and the body armor wouldn't give any materials
2018-05-05 23:08:01 +02:00
Juan Pablo Arce
d0c1d170f3 Increased searchlight camera offset to 515
Requested by Clastic, the person who submitted the item
2018-05-04 19:47:49 -03:00
Joonas Rikkonen
323c9ceabb v0.8.1.2 2018-04-25 21:35:03 +03:00
Joonas Rikkonen
7c9c3195bf Need to copypaste more carefully (e15fa11) 2018-04-25 20:58:11 +03:00
Joonas Rikkonen
e15fa11d6e Fixed meds not being usable with a medical syringe. Closes #388 2018-04-25 16:39:12 +03:00
Joonas Rikkonen
ed22ca360f Fixed AND/OR or components staying inactive until they receive their first signal. Closes #387 2018-04-25 14:43:44 +03:00
Joonas Rikkonen
8190358d2b v0.8.1.1 2018-04-24 22:21:16 +03:00
Joonas Rikkonen
87bfa89f80 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-24 22:19:33 +03:00
Joonas Rikkonen
fdcd34fc12 v0.8.1.0 2018-04-24 22:19:21 +03:00
Joonas Rikkonen
88eabef8af Made characterusable default to false (as it did before 91d6c7b) 2018-04-24 20:58:42 +03:00
Joonas Rikkonen
8cf26e2d7f Fixed null reference exception if a statuseffect removes an item when a round is not running. Closes #385 2018-04-24 18:02:53 +03:00
Joonas Rikkonen
91d6c7b91f Fixed explosives being directly usable by characters, causing them to explode when left clicking while holding them due to 9dd9425c. See #385 2018-04-24 18:00:36 +03:00
Joonas Rikkonen
1f460c401e Readded oxygenite shard as containable to diving suit (accidentally removed in f2842c2) 2018-04-23 16:08:44 +03:00
Joonas Rikkonen
1d98df11a3 PropertyConditionals match if any of the targets match, junction boxes only take damage underwater when therey're powered up (because trying to fix all boxes in a flooded sub before they break again is pain in the ass) 2018-04-23 15:25:46 +03:00
Joonas Rikkonen
f2842c265c Removed the need for batteries in diving suits, now the light stays on as long as the suit is worn by a living character. 2018-04-23 15:24:55 +03:00
Joonas Rikkonen
eff5976461 PropertyConditional fixes:
- Fixed Equals/NotEquals not working at all because they checked for float values when the property is not a float and vice versa.
- Bool comparisons work now.
- Removed unnecessary property.GetValue calls, no need to get the value twice in the same method.
2018-04-23 15:19:40 +03:00
Joonas Rikkonen
6e666939a0 Wearables apply OnWearing StatusEffects in all the components of an item, not just the Wearable component. 2018-04-23 15:17:25 +03:00
Joonas Rikkonen
c71315f4da Fixed StatusEffects of child ItemComponents not being added to an item's StatusEffect lists 2018-04-23 15:16:51 +03:00
Joonas Rikkonen
ceaba2f5ca Fixed some entities occasionally not being removed at the end of a round. CargoMission removed the cargo items at the end of a round without checking if the items have already been removed, which could cause another entity to be removed from the entity dictionary if it's taken the ID of the cargo item. This prevented the new entity from being removed in Entity.RemoveAll, causing errors during the next round. Closes #278 2018-04-23 13:55:08 +03:00
Joonas Rikkonen
e61dc5ae5f Option to log debug console output to a file. Closes #318 2018-04-20 20:11:01 +03:00
Joonas Rikkonen
177f31d538 Some more logging to help diagnose #278, a potential workaround to remove items/characters that Entity.RemoveAll failed to remove for some reason. 2018-04-20 16:50:10 +03:00
Joonas Rikkonen
395ca3c5c2 Removed debug code from PhysicsBody.ApplyLinearImpulse 2018-04-18 17:27:06 +03:00
Joonas Rikkonen
c6f3d0c1b8 Attempt to fix characters occasionally getting launched out of the sub at lightspeed when the sub crashes into something (even if the impact doesn't appear to be that hard): impacts don't increase the velocity of the characters above 20 units/s. 2018-04-18 17:24:10 +03:00
Joonas Rikkonen
eed7b72b4e Fixed player-controlled creatures being able to do damage to themselves and RepairTools causing damage to the user regardless of the user's skills. 2018-04-18 15:04:18 +03:00
Joonas Rikkonen
edf5bacc89 Fixed EndRound music looping forever. Closes #334 2018-04-18 11:02:58 +03:00
Joonas Rikkonen
9a8f13140e Cherry-picked [ab78991]: Rendering tiled sprites with scaling works correctly now (I think?), added option to edit the offset of structure textures 2018-04-17 14:06:40 +03:00
Joonas Rikkonen
607acb6e8a Fixed wall sections being rendered incorrectly if texture scale is changed, fixed gaps between tiles due to the width/height of the tile being rounded down as a result of texture scaling 2018-04-10 22:28:14 +03:00
itchyOwl
22e2c8d8c2 Fix the gap and submarine position indicator icon position. 2018-04-09 18:11:27 +03:00
Joonas Rikkonen
8c4531188b Fixed scrollable area of GUIListBoxes not changing when children are hidden (e.g. when filtering messages in the server log), fixed new log messages appearing in the server log even if the type of message has been filtered out. 2018-04-09 17:31:03 +03:00
itchyOwl
cc92341fae Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-09 16:16:23 +03:00
itchyOwl
7d31f0cdb6 Add a backing field with the default value Vector2.One for TextureScale. Clamp the values between 0.01 and 10 to keep them sensible. 2018-04-09 16:16:17 +03:00