Commit Graph

7 Commits

Author SHA1 Message Date
Joonas Rikkonen
84e3c062a6 Merge branch 'ai-overhaul'
Conflicts:
	Barotrauma/Source/Characters/Attack.cs
2017-06-29 17:02:37 +03:00
Joonas Rikkonen
de00eb2ab4 Some fixes to attachable items (buttons, signal items, etc):
- Syncing the attached/detached state of the items. This should fix the "received a position update for an item with no physics body " errors: midround-joining clients didn't get notified if an item had been detached, causing the error to appear every time it receives a position update.
- Detached items can be picked up just like any other item, instead of having to use a wrench and wait for the item to "detach".
- Wires can't be connected to items with a physics body (such as detached buttons).
2017-06-21 20:45:33 +03:00
Joonas Rikkonen
242da11e3f Attack configs determine whether an attack can sever limbs (instead of the amount of damage), new blood particles 2017-06-14 19:24:49 +03:00
Joonas Rikkonen
ed0a5f0f66 - Enemies with the "attack when provoked" setting only start attacking humans and structures if the attacker is a non-AI character or has a HumanAIController.
- Characters that launch a turret get assigned as the user of the projectile (-> shooting watchers with a railgun makes them attack).
- Increased watchers' attack range.
2017-06-12 18:56:33 +03:00
Joonas Rikkonen
acad7980f2 Added some null checks 2017-06-05 18:40:25 +03:00
Joonas Rikkonen
da3731bae6 Fixed nuclear shells exploding immediately when launched 2017-06-05 18:11:38 +03:00
Regalis
94c6a8ea1b Renamed project folders from Subsurface to Barotrauma 2017-06-04 15:00:53 +03:00