a620b06831
Play a loud sound when the door is crowbarred open so everyone is alerted! (Security should know when someonoe is breaking into places without ID card) TODO: use bump.ogg when wrenching/crowbarring is initiated
Alex Noir
2017-12-17 15:49:16 +03:00
4f7c805a9c
Hide character names/health/etc. if you can't see their head or it doesn't exist. TODO: use Line of Sight instead of CheckVisibility
Alex Noir
2017-12-17 15:17:15 +03:00
d5e409bfff
Increase muffling effects with obstruction for spoken speech (barely affects radio chat and wifi components, however it does add extra 100f range to the distance) Decreased required muffling to 0.3f Added an "obstructionmult" to intensify speaking obstruction effects
Alex Noir
2017-12-17 14:55:35 +03:00
828bde6f04
Make flashlight's idle holding position similar to that of oxygen/welding tanks so you can still use them unaimed
Alex Noir
2017-12-17 14:18:30 +03:00
0ce9acb76a
fix things
Alex Noir
2017-12-16 21:45:30 +03:00
8ab97af456
Allow sub makers to alter the ID Card's description property on spawn points
Alex Noir
2017-12-16 21:30:18 +03:00
9a91480256
Expose Description to Sub Editor so you can do things like create spare ID cards or w/e
Alex Noir
2017-12-16 21:09:02 +03:00
af53449d2d
Update the size of tools.png to 64x128 as according to juanjp600, powers of two for sizes are more efficient due to memory alignment or something.
Alex Noir
2017-12-16 20:38:27 +03:00
bdeb3a19fd
Updated server logs so admins can see disguised persons clientist should also display stuff TODO: Log inventory interactions like putting item in slots (e.g. oxy mask equipped in Head slot or equipped in Any slot, etc.) so you can tell the exact moment someone decided to disguise themselves.
Alex Noir
2017-12-16 20:24:24 +03:00
bd646fb23e
Implements identity system! If your mask hides your face (e.g. oxygen mask, clown mask and diving suit), the game will either use the name of the ID card owner in your ID card slot or will give you a "?" name. This only affects "DisplayName". The reason why I can't completely override the .Name for the client from server is due to how crew manifest and CharacterInfo classes are handled - it would require a major rework of many Character-related systems and interactions to truly make this "hack-proof". Server hosts will have to stay on their toes I guess.
Alex Noir
2017-12-16 19:52:25 +03:00
eb92242a8c
Port over changes from 9ad9a65f1e
Alex Noir
2017-12-16 17:26:54 +03:00
1cb39f7fd5
Fixed some inconsistencies and oddities in physics-handling code
juanjp600
2017-12-15 18:11:00 -03:00
9ad9a65f1e
If a saved ItemComponent doesn't define required items, the ones defined by the item prefab are used instead
juanjp600
2017-12-15 16:15:31 -03:00
c203ece2cb
FPS counter can be enabled separately from DebugDraw
juanjp600
2017-12-15 11:28:46 -03:00
ae344c89c5
Fixed indentation
Juan Pablo Arce
2017-12-15 11:25:21 -03:00
a68fd85ab0
Improved giveperm/revokeperm commands
Juan Pablo Arce
2017-12-15 11:21:37 -03:00
18d75c620f
Adds crowbar function to force-open doors... ***except the Door component ignores the damn requireditem and allows bare fukken hands to open it goddamnit***
Alex Noir
2017-12-15 16:47:10 +03:00
4997ebf20d
[WIP] Overhauled project to make Linux build work out of the box
juanjp600
2017-12-15 08:31:07 -03:00
8a7af2affd
Players can't use other items when a railgun controller is selected. Prevents accidentally firing weapons or hitting people with something while using the railguns.
Joonas Rikkonen
2017-12-15 00:25:46 +02:00
31153ebb20
disguise bool for Wearable class
Alex Noir
2017-12-14 23:24:25 +03:00
760452170e
Implement ID card slot and ID card description that states the owner and his job in preparation for identity system
Alex Noir
2017-12-14 22:57:42 +03:00
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
Joonas Rikkonen
2017-12-14 20:01:45 +02:00
58e98977df
Fixes to projectiles going through walls: - Continuous collision detection (body.IsBullet) is disabled when the body is moving slow enough, not immediately when it hits something. - The prismatic joint that sticks projectiles to walls/characters stays active for a minimum of 1 s to prevent the projectile from immediately overshooting the joint limits and falling off (usually at the wrong side of a wall/door it hit). - Separate properties for determining which types of bodies the projectile can stick to (character/structure/item). - Spears and syringes only stick to characters. - Increased syringe launch impulse.
Joonas Rikkonen
2017-12-14 19:25:31 +02:00
141214eadc
Fix infinitely repairing karma by welding fixed hulls
Alex Noir
2017-12-14 19:08:17 +03:00
ff55140ce3
Revert "forgot to remove the console command for karma"
Alex Noir
2017-12-14 19:07:53 +03:00
986862b23e
The GUIMessageBox constructor with no width or height parameters automatically resizes the box according to the size of the text instead of using the default height.
Joonas Rikkonen
2017-12-14 00:16:13 +02:00
7e03235f8b
Changed the species name of the huskified humans from "human" to "husk" and gave them the same combat strength as normal husk to prevent them from attacking each other.
Joonas Rikkonen
2017-12-13 21:24:41 +02:00
cce2cf942d
Fixed hulls not being linked to gaps if the center of the gap is exactly at the edge of the adjacent hulls.
Joonas Rikkonen
2017-12-13 21:07:51 +02:00
383d9f3aab
Karma too unfinished to be enabled by default
Alex Noir
2017-12-13 21:29:54 +03:00
847e10d4a2
Fixed wires not being dropped server-side when a player drops a connected wire without dragging it to their inventory first (or client-side when a host does so).
Joonas Rikkonen
2017-12-13 18:34:23 +02:00
c4e894cb2e
Fixed camera going insane when dropping through hatches
juanjp600
2017-12-12 21:08:37 -03:00
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
juanjp600
2017-12-12 17:58:49 -03:00
4a1ba21067
Fixed OnActive statuseffects not being applied on powered items that don't require power (prevented flare particles from working because they are configured in the LightComponent that inherits from Powered)
Joonas Rikkonen
2017-12-12 22:21:29 +02:00
f34968be30
Tweaked visuals a bit Added tiny bleeding and structure damage to the syringes
Alex Noir
2017-12-11 12:33:59 +03:00
a2a4225598
Added a fully functional syringe gun! Accepts syringes as ammo. Has custom sprite and sound. Made syringes have a "projectile" component for syringe guns Adds several missing signal components to the fabricator, as well as medical syringe to medical fabricator Adds support for status effects applied to characters from onImpact Removed "contained.Condition = 0.0f;" in Projectile.cs due to it limiting the possibilities of the .xml content creation Added a couple null checks in StatusEffect.cs due to crashes caused by the new projectile changes - might need to debug further, perhaps there's a root cause? Added itemlist console command
Alex Noir
2017-12-10 22:17:14 +03:00
55dd58579f
I DID IT HOLY SHIT I GONE AND DONE IT OnSecondaryUse is what throwing uses for doing things SPECIFICALLY on throw. This way, you can theoretically have grenades on which you'll have to pull the pin before throwing. This also lets flares be used without the need to throw them. did i mention my brain hurts
Alex Noir
2017-12-10 15:56:34 +03:00
231a38f71d
roll back name change from "Aim" to "SecondaryUse" Expand SecondaryUse to have similar properties to normal Use so it can apply SecondaryUse-related status effects Make Throwable great again
Alex Noir
2017-12-10 15:00:52 +03:00
1d6d1a066f
realised half way through that I don't even need a new action type, oops
Alex Noir
2017-12-10 13:45:12 +03:00
00653c5aa4
Renames "OnSecondaryUse" to "OnAim" for more sense adds new "OnHudUse" to separate normal and self use
Alex Noir
2017-12-10 13:39:00 +03:00
04707232de
forgot to remove the console command for karma
Alex Noir
2017-12-09 19:15:51 +03:00
ffba72c750
Forgot to put new settings into the .xml
Alex Noir
2017-12-09 19:13:21 +03:00
07aeac4fdc
Traitor Count/Coefficient and Ragdoll and Karma server settings buttons!!! oh my GOD!!!
Alex Noir
2017-12-09 19:09:10 +03:00
e050404278
Carrying stunned/unconscious/dead people up ladders woot!!! Properly orient grabbed player on climbing and shoulder grab Allow interaction with buttons, ladders, etc. when grabbing someone
Alex Noir
2017-12-08 22:30:47 +03:00
de7489db8b
Change int to UInt32 for grabLimb networking Fixed IsRagdolled state networking
Alex Noir
2017-12-08 20:55:46 +03:00
286f290e57
Fixed networking
Alex Noir
2017-12-08 15:32:37 +03:00
8788efa007
Merge remote-tracking branch 'origin/master' into moRags
Alex Noir
2017-12-08 14:43:56 +03:00
fff8d714fe
I THINK this is all that needs to be done to network it...right?
Alex Noir
2017-12-08 14:09:09 +03:00
48fb3d58b9
Let players choose to grab onto the body's torso! Better CPR animations todo: network the limb targeting
Alex Noir
2017-12-08 13:47:27 +03:00
db7d5539e0
Fixed modified clients being able to disconnect locked wires
Joonas Rikkonen
2017-12-07 20:20:05 +02:00
7026da2748
Health Scanner HUD shows the status of all nearby characters without having to highlight them. Fixes being unable to scan characters that aren't dead or unconscious. Non-human characters can also be scanned now.
Joonas Rikkonen
2017-12-07 19:34:19 +02:00
9599137e83
Console command permissions can be changed in the client permission menu, permitted commands are displayed in the client-side permission popup
Joonas Rikkonen
2017-12-07 18:25:08 +02:00
26216a0d99
Fixed fish being selectable
juanjp600
2017-12-07 00:01:48 -03:00
a272d22de8
Players can now pick up corpses to eat them
juanjp600
2017-12-06 17:57:58 -03:00
9bc0931be5
Clients can execute permitted console commands server-side now. The console commands have three different actions: the default action, one that's executed client-side when a client uses it, and one that's executed server-side when a clients requests it. If the client-side action is omitted, the client relays the command to the server as-is. If the third action is omitted, the server executes the default action.
Joonas Rikkonen
2017-12-06 19:52:57 +02:00
0d8d0d62ec
Fixed ragdolling in multiplayer
juanjp600
2017-12-06 14:48:47 -03:00
d34c783c30
Removed collision from wall gaps
juanjp600
2017-12-06 13:33:54 -03:00
3df2c20ee1
Merge pull request #81 from Crystalwarrior/ragdollbutton
Juan Pablo Arce
2017-12-06 13:02:35 -03:00
4a8e411a70
Fixed carrying stunned people being a severe case of a major ass pain by carrying over the "stairs" from the carrier. Added "CarriedBy" property, publicized CarriedCharacter and CarriedBy, synced CarriedCharacter and CarriedBy for cool points Publicized Stairs property
Alex Noir
2017-12-06 18:58:18 +03:00
91a8e6d0c6
Saving & loading client console command permissions, the permissions are saved as an xml file
Joonas Rikkonen
2017-12-06 14:04:35 +02:00
10a77e6137
Cleanbuild console command removes the list of banned players (won't be included in builds to prevent the file from being cleared when updating the game)
Joonas Rikkonen
2017-12-06 13:31:08 +02:00
cccdd20401
Fixed exceptions when adding entities to EntitySpawner remove queue in single player mode
Joonas Rikkonen
2017-12-06 02:39:58 +02:00
2e6d35ce8e
Doors with no broken sprite turn black when destroyed (just like before). TODO: graphics for broken ruin doors/hatches
Joonas Rikkonen
2017-12-05 22:31:13 +02:00
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)
Joonas Rikkonen
2017-12-05 22:30:24 +02:00
b26b6a7418
Fixed ragdolled players suffering less impact damage than non-ragdolled one. Also fixed limb impact sounds on the clientside for ragdolls
Alex Noir
2017-12-05 23:03:40 +03:00
fd09cb4ef5
Fixed ruin props being placed on ruin doors, which occasionally caused artifact holders and artifacts to appear inside the doors.
Joonas Rikkonen
2017-12-05 21:23:39 +02:00
f37323e9a8
Fixed dragging thru stairs being annoying as hell (this line of code made it impossible to carry a body thru stairs on ground level without holding Down all the time)
Alex Noir
2017-12-05 21:38:07 +03:00
ee8c4dfb3a
Adds ragdoll button. Because why not. Also adds admin ragdoll command to force people into ragdoll mode. The networking/syncing wasn't yet tested for this but hopefully everything should work. Updates config.xml to add default keybinds for radio chat and ragdoll
Alex Noir
2017-12-05 20:50:24 +03:00
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.
Joonas Rikkonen
2017-12-05 18:03:00 +02:00
258047e638
Merge pull request #79 from Crystalwarrior/ClientFixes
Juan Pablo Arce
2017-12-05 12:54:28 -03:00
0e586651e7
Adds a [PM] tag Fixes .Private message type colors being silly
Alex Noir
2017-12-05 18:50:36 +03:00
fdd3db82e6
oops fixed logic
Alex Noir
2017-12-05 18:22:03 +03:00
d4ce079d65
Lets people use keybinds to start chatting in lobby
Alex Noir
2017-12-05 18:01:10 +03:00
fde3ed40a8
Prevent clients from chatting when unconscious on the serverside to prevent clients from "hacking" and enabling chat box.
Alex Noir
2017-12-05 17:21:45 +03:00
a290a6a337
Tweak chatting so you can finally use keybinds OTHER than TAB/~ for chat/radio chat by disabling those keybinds when the chat box is active. This is not a problem anymore because pressing enter stops the chat box. This is a positive change since this is a lot more "industry standard" than the previous system, which initially was very confusing and unfamiliar (at least personally).
Alex Noir
2017-12-05 16:25:51 +03:00
1e8c1f7f04
Fixed a NullReferenceException caused when you try to play a round with traitors enabled while there are not enough player characters.
Alex Noir
2017-12-05 16:17:51 +03:00
72e42bd257
Added try-catch to PhysicsBody.Enabled setter
juanjp600
2017-12-04 20:32:22 -03:00
243b3843b8
Fixed worn items being assigned multiple times to the same limb when equipping an item that takes up multiple slots, causing damagemodifiers to be applied multiple times. + DamageModifiers with the damage type "None" don't affect damage.
Joonas Rikkonen
2017-12-05 01:01:44 +02:00
38815c3b69
Added code words to traitorlist console command
Alex Noir
2017-12-05 00:30:21 +03:00