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
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
f5dbbf0735
Submarine preview window with a preview image & some extra information of the subs
2018-01-17 17:01:44 +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
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
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
7187c277e7
Merge branch 'master' into moStuff
2018-01-09 10:38:06 +02:00
Alex Noir
32a2b38112
Removed DamageSoundType and replaced it with a string "tag" instead to allow mod creators to create custom damage sounds
...
Fixed damagemodifier sounds being completely ignored due to a variable misname
Added structure damage possibility for melee weapons so you can break down windows with a crowbar in spectacular fashion (it's clearly a very inferior method to plasma cutters though)
Clown hitsounds are in now which is awesome. Beat up some clowns!
2017-12-30 13:46:59 +03:00
Joonas Rikkonen
6777a039d5
Characters receive damage when crushed between a sub and the level and are gibbed if the impact is hard enough. Closes #186
2017-12-30 02:17:08 +02:00
Joonas Rikkonen
bcd2582cf9
- More gore particles when severing limbs!
...
- Explosions can sever limbs even if the target character is dead. Now explosive projectiles can explode creatures into pieces even if the creature dies of the initial projectile impact and not the explosion.
- Disabled blood particles on carriers and fractal guardians.
2017-12-29 21:06:11 +02:00
Joonas Rikkonen
fe54b75117
Fixed modified structure colors not being cloned. Closes #212
2017-12-29 15:32:08 +02:00
Joonas Rikkonen
9dd4d21cac
Fixed opened and broken doors being ignored during waypoint generation, causing waypoint connections to go through the doors and preventing AI characters from opening them. + Updated waypoints in Aegir Mark III
2017-12-28 20:53:27 +02:00
Joonas Rikkonen
bd4388042f
Fixed map generation going crazy if the main path node interval is very large relative to the size of the level. Closes #201
2017-12-27 18:18:31 +02:00
Joonas Rikkonen
a5d2dd37f4
Merge branch 'master' of https://github.com/Regalis11/Barotrauma
2017-12-26 20:04:47 +02:00
Joonas Rikkonen
bc6c828a14
Option to make limb attacks do damage based on contact with physics bodies instead of distance. Attacks also do damage to all sections of a structure that are within damage range. Closes #108
2017-12-26 20:02:33 +02: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
dde320b387
Merge pull request #101 from Crystalwarrior/moRags
...
Body shoulder-grab, better CPR anims, CPR and Crit overhaul!
2017-12-20 19:37:38 +02:00
Joonas Rikkonen
4ce4b0a934
Fixed submarines bouncing on characters submarines that are laying on the ocean floor. Not a very realistic way to handle the collisions - the sub just stops as if it had collided with the level walls (making it seem as if the characters were made of concrete), maybe make the collisions gib the character?
...
Closes #152
2017-12-19 17:30:08 +02:00
Joonas Rikkonen
eedc3ffe49
Fixed submarines bouncing on other submarines that are laying on the ocean floor (see #152 ). + Reduced the cap of ice and structure damage particles per impact.
...
TODO: the same thing for characters (and items?)
2017-12-18 20:23:03 +02:00
Alex Noir
1e5b25bd1a
Merge branch 'master' into moRags
2017-12-17 22:41:45 +03:00
Joonas Rikkonen
62bb5119ab
Merge branch 'master' into coolthings
2017-12-17 21:11:42 +02:00
Alex Noir
714b52dce8
Fixed several sound-related issues that have been bothering me for ages, e.g.
...
* Sounds not playing when the structure is fully destroyed
* Glass windows using wrong sound effects
* Only one glassBreak sound was used despite there being 3
2017-12-17 18:05:05 +03:00
Alex Noir
0ce9acb76a
fix things
2017-12-16 21:45:30 +03:00
Alex Noir
8ab97af456
Allow sub makers to alter the ID Card's description property on spawn points
2017-12-16 21:30:18 +03:00
juanjp600
1cb39f7fd5
Fixed some inconsistencies and oddities in physics-handling code
...
I'm not sure if this fixes or breaks anything, but it's worth a shot.
2017-12-15 18:11:00 -03:00
Joonas Rikkonen
e17b5a195c
Increased the minimum distance between monster spawns and subs (20 000 units in monster events, 30% of the width of the level in monster missions). Closes #63 and closes #151
2017-12-14 20:01:45 +02:00
Alex Noir
141214eadc
Fix infinitely repairing karma by welding fixed hulls
2017-12-14 19:08:17 +03:00
Joonas Rikkonen
1da15dbca2
OnFire statuseffects aren't applied to items inside fireproof containers. Closes #98
2017-12-14 17:18:25 +02:00
Joonas Rikkonen
cce2cf942d
Fixed hulls not being linked to gaps if the center of the gap is exactly at the edge of the adjacent hulls.
...
Closes #147
2017-12-13 21:07:51 +02:00
juanjp600
23b220b6af
Sync character collider rotation, try to make collider face the main limb by instantly flipping it if the angle's too wide, client-side ragdoll correction is more aggressive
2017-12-12 17:58:49 -03:00
juanjp600
d34c783c30
Removed collision from wall gaps
2017-12-06 13:33:54 -03: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
Joonas Rikkonen
fd09cb4ef5
Fixed ruin props being placed on ruin doors, which occasionally caused artifact holders and artifacts to appear inside the doors.
...
Closes #72
2017-12-05 21:23:39 +02:00
Joonas Rikkonen
63493d2b9d
Added a Character.AddDamage override method that does damage to a specific limb instead of the limb closest to the source of the damage. Projectiles and melee weapons now always do damage to the limb they hit, even if the center point of some other limb happens to be closer.
...
Also refactored the IDamageable interface to make more sense; now the attacker has to be a character instead of an IDamageable and damageable classes don't need to have an AiTarget.
Closes #69
2017-12-05 18:03:00 +02:00
juanjp600
a0782e5d8d
Blowing up the reactor sets karma to 0, all jobs except assistant require a certain karma level
2017-12-04 17:05:22 -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
3db407fe52
Fixed wire connections being lost when copy-pasting in sub editor
2017-12-03 11:59:29 -03:00
Joonas Rikkonen
04bcc6b9b1
Modifications to the damage/armor system:
...
- Armor values aren't reduced from the damage taken, but instead multiply the damage (e.g. an item reduces damage by 10% instead of 10 hp). Now armor doesn't make characters invulnerable to small amounts of damage.
- Armoring isn't defined as a single "armor value", but instead there are "damage modifiers" which can be added to items and limbs. The modifiers can only affect specific types of damage and have separate multipliers for the damage amount and bleeding amount.
- Having a fire proof item on a limb doesn't make that limb invulnerable to burn damage. Item's that protect against fire now have a damage modifier for the Burn damage type.
2017-12-02 15:42:13 +02:00
Joonas Rikkonen
deefcafe02
Made the name of the "Linkable/IsLinkable" property consistent
2017-12-02 14:19:23 +02:00
juanjp600
5cb603b3e5
Fixed entity linking not working
2017-12-02 01:05:16 -03:00
Joonas Rikkonen
765587efd7
Renamed screens (EditMapScreen -> SubEditorScreen, EditCharacterScreen -> CharacterEditorScreen)
2017-11-18 15:13:03 +02:00
Joonas Rikkonen
08cf902cb8
MapEntityPrefabs are deserialized using SerializableProperty
2017-11-15 19:01:55 +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
d072713936
Replaced manual rect parsing in a bunch of places with an extension method
2017-11-14 21:09:07 +02:00
Joonas Rikkonen
913a102591
Option to set aliases for StructurePrefabs
2017-11-14 21:04:49 +02:00
Joonas Rikkonen
f7298c241e
Progress:
...
- Input fields for vectors & colors in SerializableEntityEditor.
- SerializableProperty tooltips.
- GUINumberInput supports floats.
- EditingHUD for structures (atm the only editable property is the color of the sprite)
2017-11-12 20:24:11 +02:00
Joonas Rikkonen
8e556f1c76
- Renamed a bunch of ObjectProperty-related stuff (ObjectProperty -> SerializableProperty, IPropertyObject -> ISerializableEntity, the "SerializableProperty" attribute -> Serialize).
...
- Rectangle serialization.
- Option to restrict numeric properties to a range of values.
- WIP generic ISerializableEntity editor.
2017-11-08 21:15:03 +02:00