Commit Graph

24 Commits

Author SHA1 Message Date
Noah4ever
e5e44eeb55 idk 2022-01-17 13:31:14 +01:00
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
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
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
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
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
Noah4ever
c09ff3ca75 Weapon Switch/Standard Hand
ja alles irgendwie
klappt jetzt
2021-11-25 11:24:16 +01:00
Noah4ever
c4eac172fe Weapon Switching/Pickup/Throwing
+ weapon switching works
+ weapon pickup works
+ weapon throwing works

ntba weapon in correct position
ntba weapon switch/pickup/throw animation
2021-11-21 18:00:23 +01:00
Noah4ever
a40aec3874 Weapon Switching/pickup/throw
[+] added
+ added pickup weapons
+ added throw weapons
+ added weapon switching
+ scrolling searches for next active weapon

[n] needs to be added
n weapon in correct position after pickup
n after weapon throw -> next active weapon needs to be equipt
n throw/pickup/switch weapon animation
2021-11-20 15:47:58 +01:00
Noah4ever
facc42b03f Weapon Switch 2021-11-16 17:50:32 +01:00
Noah4ever
eaee767535 Weapon Switching
+ started weapon switching
+ added only get active weapon (if you have rifle and pistole and you drop rifle you cant scroll to rifle slot)
2021-11-16 13:05:27 +01:00
Noah4ever
1ac8585934 Weapon Fix
shoot.cs paar sachen
2021-11-15 12:59:05 +01:00
Noah4ever
728dd06d3d Update Shoot.cs 2021-11-12 13:25: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
93faf526d5 Weapon Pointing 2021-11-09 11:11:32 +01:00
Noah4ever
908af2441f Weapon Pointing
+ weapon points to raycast from camera
2021-11-08 13:06:53 +01:00
Noah4ever
2667b45c78 Weapon Pointing
started making weapon point at crosshair when shooting
2021-11-06 15:09:47 +01:00
Noah4ever
89db851a1e Network Weapons
+ started weapons with Mirror
2021-11-05 13:58:29 +01:00