Joonas Rikkonen
055bf13f59
Fixed minimap not powering up
2018-02-13 12:29:57 +02:00
Joonas Rikkonen
ff883ae882
Bunch of fixes to statuseffects:
...
- Fixed the multi-target StatusEffect.Apply method ignoring target names and always allowing stacking.
- Fixed delayed effects not working if the single-target StatusEffect.Apply method is used.
- Fixed delayed effects ignoring target names.
- Fixed delayed effects comparing the equality of the target lists, not the elements in the list (if the contents of the lists are identical the statuseffects should be considered identical).
2018-02-12 11:25:40 +02:00
Joonas Rikkonen
43d6ee5e06
Spark & smoke particle effects when welding or cutting something. Closes #155 .
2018-02-12 11:20:25 +02:00
Joonas Rikkonen
633dc1ff1e
Option to define multiple compatible content packages in submarine files, added extension methods for parsing string, float and int arrays from XML elements
2018-02-06 10:18:39 +02:00
Joonas Rikkonen
ec302e099b
Fixed Powered ItemComponents (not components deriving from Powered) never resetting their voltage after receiving power, causing them to stay powered indefinitely. Closes #247
2018-02-05 22:31:55 +02:00
Joonas Rikkonen
74cd265952
Fixed railgun shells never deactivating their particle emitter
2018-02-05 17:10:00 +02:00
Joonas Rikkonen
ff85400f01
Removed hard-coded path to humanhusk (now the huskified human config is found based on the name), characters with severed limbs cannot turn into husks. Closes #243
2018-02-05 15:55:32 +02:00
Joonas Rikkonen
60ad5ed3fb
Reverted b26b6a74. Making stunned characters receive damage from limb impacts caused them to suffer excessive amounts of damage when falling or getting thrown around when the sub hits something (e.g. a moloch attacking a sub could easily kill crew members by bumping the sub and falling down the stairs was often a death sentence). In general I don't think it's a good idea to apply impact damage from limb impacts, because the limbs may occasionally move or rotate at very high velocities due to the animations.
2018-02-05 11:16:03 +02:00
Joonas Rikkonen
b4e5aad2ce
Added "electromagnetic pulse strength" parameter to explosions. EMPs damage repairable power items (e.g. junction boxes) and discharge power containers (e.g. batteries and supercapacitors).
2018-02-02 15:15:46 +02:00
Joonas Rikkonen
dcb6de32c0
Some more hard-coded text removal
2018-01-31 19:01:48 +02:00
shoter
9feb5b694d
Stream position was not reset for MD5 calculation for xml files.
2018-01-27 21:31:45 +01:00
shoter
d36dab42f8
XML files are calculated according to XML content.
2018-01-27 21:14:27 +01:00
Joonas Rikkonen
729f850175
Fixed a "sequence contains no elements" exception in IndoorsSteeringManager
2018-01-26 17:28:48 +02:00
Joonas Rikkonen
98d0f42510
Fixed structure impact damage sounds. Character colliders caused the impact sounds to be triggered almost constantly, but the sounds were not played at the world position of the structure, causing them to only be heard inside ruins (whose positions are the same as worldpositions).
2018-01-26 17:25:22 +02:00
Joonas Rikkonen
d4e0cbbf02
Submarines can't enter ruins through broken walls, ramming ruins causes damage to the sub and the ruin structures. Closes #199
2018-01-26 16:47:32 +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
490e373c7a
Artifacts and monsters are allowed to spawn close to the sub if they spawn inside ruins. Fixes "could not find a suitable position" errors in levels where there's only one ruin next to the spawnpos of the sub.
2018-01-25 13:58:08 +02:00
Joonas Rikkonen
e6e132aa1e
More gib particles when characters get crushed by pressure
2018-01-25 13:56:39 +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
51ea71333e
Fixed ChangeProperty network events
2018-01-24 15:53:32 +02:00
juanjp600
ddaf5f21cf
Fixed exception when using radio chat without an inventory
2018-01-19 14:03:31 -03:00
Joonas Rikkonen
965eef365b
Fixed relay components not carrying power & deactivated (CanTransfer = false or IsActive = false) PowerTransfer components still carrying power
2018-01-17 21:25:52 +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
0f7befa09e
Fixed occasional invalid object header errors when attempting to send a status NetworkEvent for a character (easy way to reproduce was to kill multiple characters during the same frame with an explosion).
2018-01-16 17:02:01 +02:00
Joonas Rikkonen
567b4408ad
Nerfed wall damage. Crawlers, mantises, threshers and coelanths now take much more time to tear through the hull and collisions with the level cause less damage.
2018-01-12 15:46: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
d05ed6c54b
Fixed banip command only kicking the matching client out of the server without banning, + the command now kickbans all clients with a matching ip. Closes #227
2018-01-12 10:56:56 +02:00
Joonas Rikkonen
b4064adc9a
Fixed connections not being refreshed when a junction box breaks, made junction box deterioration rate proportional to the ratio between the available power and the load (i.e. more power makes the boxes break faster) & added some more variation between the deterioration rates of boxes to prevent all of them breaking at the same time.
2018-01-11 20:53:34 +02:00
Joonas Rikkonen
1eaccef8c7
Added damaged variants of junction box sprite, damaged item sprites can be set to fade in.
2018-01-11 20:48:26 +02:00
Joonas Rikkonen
25ebe52248
Option to configure alternate sprites for broken items
2018-01-11 16:51:36 +02:00
Joonas Rikkonen
a3f49e0bc5
Pathfinding fixes:
...
- The parent fields of the nodes are cleared before finding a path. Should fix the "constructing final path failed" errors.
- Nodes that have been marked as unreachable because of GetNodePenalty can still be used if another path to the node is found.
2018-01-11 16:03:16 +02:00
Joonas Rikkonen
e2c7b684de
Fixed character limb rendering order not being consistent (limbs with the same depth value being randomly drawn behind or in front of each other)
2018-01-11 13:32:21 +02:00
Joonas Rikkonen
aa0fdfb790
All highlighted items are rendered to the lightmap, not just the ones the player is focusing on. -> Highlighted wires and the items they are connected to now glow in the dark.
...
Fixed LightComponent light source position not being updated if the item has no body, causing the light source to appear in a wrong position when attaching lights to walls.
2018-01-11 13:22:04 +02:00
Joonas Rikkonen
47f9900fdc
Lighting fixes:
...
- Re-enabled lightsprites (glowing lamp sprites on lamps).
- Limb sprites use lightsprites instead of overriding the texture (positioned correctly now).
- Fixed lights that don't cast shadows not being rendered.
2018-01-11 11:23:55 +02:00
Joonas Rikkonen
9f58d1b74d
Cargo items can be set to spawn inside specific types of containers instead of being scattered on the cargo room floor.
2018-01-10 15:56:11 +02:00
Joonas Rikkonen
5f2227489b
Reactor temperature has to stay above the meltdown temperature for 30 seconds before it explodes. The reactors now also have an output connection that sends out a signal when the temperature is critical. + Added reactor meltdown warning sirens & lights to vanilla subs. Closes #157
2018-01-10 00:33:21 +02:00
Joonas Rikkonen
d1bb33be78
Cutting/repairing holes in walls is logged, fixed gaps emitting drip particles even if there's no water in either hull. Closes #139
2018-01-09 19:50:55 +02:00
Joonas Rikkonen
6fff303d30
Removed inlined out variables from PropertyConditional. Didn't realize this was a C# 7 only feature.
2018-01-09 18:26:34 +02:00
Joonas Rikkonen
3956785032
Moved PropertyConditional match checking & status effect cancelling from the StatusEffect class to PropertyConditional.
2018-01-09 16:42:11 +02:00
Joonas Rikkonen
0671dba1b4
Changed PropertyConditional operators from strings to enums
2018-01-09 16:18:05 +02:00
Joonas Rikkonen
e21959d0a2
Some PropertyConditional refactoring & fixes:
...
- Changed the "attribute" field from a string to a more descriptively named enum (TODO: do the same for the operators).
- Changed the "value" field from an object to a string because the value is always a string anyway (might want to make it an object that holds the actual value we're comparing against so there's no need to do any parsing in the Matches method).
- Fixed "!=" operator checking for equality.
- Removed unnecessary property value getting from the Matches method (reflection ain't cheap!)
2018-01-09 16:10:07 +02:00
Joonas Rikkonen
c502d9545c
Moved StatusEffect related classes to their own folder and PropertyConditional to its own file.
2018-01-09 16:09:59 +02:00
Joonas Rikkonen
18ae9d7820
Base ItemComponents can apply OnUse statuseffects, grenades can be placed in detonators. Closes #113
2018-01-09 14:55:16 +02:00
Joonas Rikkonen
85d76989c9
Tweaked structure gap logic to make smaller leaks more common. Walls now start leaking after taking >10% damage, and initially only emit smaller "drip particles".
2018-01-09 14:24:15 +02:00
Joonas Rikkonen
6a3a4efba6
Option to display lighting in sub editor
2018-01-09 12:27:42 +02:00
Joonas Rikkonen
4b1b6b6927
Merge pull request #188 from Crystalwarrior/moStuff
...
Motion detectors, ducts, more chem effects and chems, fabricator/deconstructor overhaul, more footsteps, clown hitsounds...
2018-01-09 12:11:15 +02:00
Joonas Rikkonen
662ead0bb4
ToggleHUD console command hides the mp chat box. Closes #208
2018-01-09 11:19:21 +02:00
Joonas Rikkonen
7187c277e7
Merge branch 'master' into moStuff
2018-01-09 10:38:06 +02:00
juanjp600
539845665a
Made further accuracy improvements to the timing of the dedicated server
...
TODO: make the dedicated server load all of the settings from
serversettings.xml
2018-01-08 18:11:07 -03:00
Joonas Rikkonen
1aa654a5a3
Severed joints can't be severed again (fixes severed limbs constantly emitting gore particles at the clients' side due to the constant status update messages)
2018-01-08 16:35:53 +02:00