Commit Graph

57 Commits

Author SHA1 Message Date
Noah4ever
572344254d Little fix on player, added trigger collider on usp
@juliuse98 needs to fix when looking up the weapon gets to far away an the hands look strange. Tried to fix it a bit. Its no a little better but NOT completely fixed.

USP has now a collider that is a trigger. When the weapon is clipping through the wall (befor that the collider should trigger and the player puts the weapon upright) ITS NOT WORKING but the structure is there... (All collider gets disabled when you pick up a weapon)
2021-12-15 13:19:10 +01:00
Noah4ever
bdf043d299 Quick bug fixes
fixed pickup weapon
fixed drop weapon
changed switch weapon
2021-12-14 20:18:18 +01:00
Noah4ever
0fc8c6e08c Distance to grenade explosion camera shake
if you are close to the grenade you get more camera shake
2021-12-13 21:52:38 +01:00
Noah4ever
b2b997307b CameraShake
Camera shake is working now
2021-12-13 16:02:11 +01:00
Noah4ever
a2ac91bf6e Camera Shake, WeaponSwitch Animation
Added camera shake. Its not working.. i dont know why.
WeaponSwitch is also not working
2021-12-12 18:19:36 +01:00
Noah4ever
9512d9dac1 DebugCanvas and ShootDebug
Fixed DebugAmmunitionText on DebugCanvas
Added hitForce on Weapons. When you hit an object with a rigidbody its going to fly back a little bit
2021-12-10 15:38:59 +01:00
Noah4ever
14a8f084d3 PostProcessing & Universal RP
added PostProcessing and Universal Render Pipeline from the Packet Manager.
You can disable PostProcessing (If it lags too much) by disabling PostProcessingVolume in the Hierarchy.

added some fancy lights to the test scnee
added dirt texture to the camera
added bloom to the lights
added light to explosion from grenade
2021-12-10 09:22:32 +01:00
Noah4ever
e0b4b94412 idk 2021-12-09 16:33:13 +01:00
Noah4ever
0b7ff6f5f1 Grenade Data Location
Grenade data is now on Grenade.cs and not on Weapon.cs.
You need both scripts to make a grenade work
2021-12-09 14:55:06 +01:00
Noah4ever
e59b767daf Grenade Fix
Grenade is now a Sphere.
set Commented the [Command] on CmdFireBullet in Shoot.cs to see how it is in multiplayer
2021-12-09 13:33:54 +01:00
Noah4ever
3a1a279530 Grenades damage at player
Grenades now remove the correct damage
2021-12-08 20:53:40 +01:00
Noah4ever
59a55bf5fd Grenades
Fixed some issues.
Grenades work now.
2021-12-08 17:18:23 +01:00
Noah4ever
56f5aec9cc Grenades
[+] added
+ grenade.cs script
+ grenades can be thrown
+ grenades "explode" and spawn "explosion" (currently only a 50% transparent cube)

- NEEDS TO BE TESTED => BUG FIXED
2021-12-08 15:31:13 +01:00
juliuse98
cf5d47eca9 SearchForNext Overhaul 2021-11-29 12:21:32 +01:00
Noah4ever
59ff72d498 Weapons are now in correct position
When u switch or pickup weapons u have them now in your hand.

- Scrollup doesnt work on the highest weapon index (will be fixed soon)
- Shooting with the hand will give an error because there is no animation "shoot" on the hand (PLEASE someone make an animation for the hand!!!!)
2021-11-29 11:22:03 +01:00
Noah4ever
20080a4dd5 Weapons WORK NOW
Jetzt wirklich
2021-11-25 12:45:55 +01:00
juliuse98
6bbe58799d Alles alter 2021-11-24 12:54:43 +01:00
juliuse98
ad238ac417 Added Round and Respawnsystem 2021-11-19 14:42:09 +01:00
Noah4ever
1ac8585934 Weapon Fix
shoot.cs paar sachen
2021-11-15 12:59:05 +01:00
juliuse98
1b0d941f07 Merge FIX 2021-11-12 11:14:06 +01:00
Noah4ever
dd4da20ec3 Weapon
idk
2021-11-12 08:23:51 +01:00
Noah4ever
6e13025624 Weapon usw.
etc....
2021-11-09 13:58:34 +01:00
Noah4ever
a8d816b639 Merge remote-tracking branch 'origin/Player-Animation' into weapons-without-scriptableobjects 2021-11-09 11:18:16 +01:00
Noah4ever
93faf526d5 Weapon Pointing 2021-11-09 11:11:32 +01:00
juliuse98
ea8394bd16 Camera recoil 2021-11-08 22:56:15 +01:00
juliuse98
c6cd50a4f8 Full Recoil animation 2021-11-08 12:55:58 +01:00
juliuse98
4fc928f530 Gun holding with inverse kinematics 2021-11-06 15:42:57 +01:00
juliuse98
908e69d4fe Added Stuff 2021-11-05 13:41:43 +01:00
juliuse98
2868c0e89e fixed merge 2021-11-04 08:45:48 +01:00
juliuse98
6ba99d7ead Merge branch 'game-manager' 2021-11-04 08:23:17 +01:00
DerTyp187
8967b780dd updated debug canvas 2021-11-04 08:07:46 +01:00
DerTyp187
fa0a7fc9cf fixed github bug 2021-11-03 07:46:31 +01:00
juliuse98
134c2ac4e0 Merge branch 'main' into player-controller 2021-11-01 14:39:47 +01:00
juliuse98
0e22401957 Merge branch 'player-controller' of https://github.com/DerTyp187/defrain into player-controller 2021-11-01 14:32:33 +01:00
juliuse98
0e780162db Merge branch 'player-controller' 2021-11-01 14:32:06 +01:00
juliuse98
314c3faf30 Ground Angle Check
-Added GroundAngleCheck
2021-11-01 14:30:00 +01:00
juliuse98
a1f13cd6c6 Added Map1
-Added Map1
-Added Prefabs for the Network Manager
2021-10-30 18:22:18 +02:00
DerTyp187
f2e8de1537 idk 2021-10-28 08:29:41 +02:00
DerTyp187
5921e33205 updated mirror added testofflinescene 2021-10-25 13:03:25 +02:00
DerTyp187
e509a919b6 CHANGED TO MIRROR 2021-10-25 09:20:01 +02:00
DerTyp187
bd712107b7 fixes 2021-10-21 18:31:30 +02:00
DerTyp187
ebf1078775 added network movement 2021-10-21 14:21:11 +02:00
DerTyp187
5b3b780234 little changes 2021-10-20 14:24:39 +02:00
DerTyp187
c913fff83a added NetworkManager compontent 2021-10-20 07:53:44 +02:00
DerTyp187
30b2f8f4b2 Installed MLAPI 2021-10-19 08:48:38 +02:00
DerTyp187
add5beeb47 added base team class 2021-10-19 07:26:40 +02:00
DerTyp187
1deb6add0d Update TestScene.unity 2021-10-14 20:19:01 +02:00
DerTyp187
666e4f479f added PlayerClass with Sync 2021-10-14 20:16:38 +02:00
DerTyp187
469fd047bd Add HealthSystem and Base Structure of DeadSystem
HEALTH
 - Set Health of a player
 - Subtract Health from a player
 - Add Health to a player

DEAD
 - Player Dies
 - Another Player gets a kill
2021-10-13 18:52:06 +02:00
DerTyp187
6c951b26da Update TestScene.unity 2021-10-13 15:04:25 +02:00