- added ranged npcs ( currently only humanoids )
Created default animators for pistol, rifle, mg, minigun, bow
Also there are examples of shotgun shooter and flamethrower
- merged NPCGuardBehaviour and NPCPatrolBehaviour into NPCPatrolBehavior
If you assign waypoints - it will patrol along that path. If leave empty, it will use current start position/rotation as guard post.
- fixed / changed bow shooting for top down view player which is also mobile
- exposed hit reaction overrider to bow
Body part selection:
Example of body part selection can be found in top down view demo
- to enable body parts targeting tick "Bodypart Selection" checkbox and assign hit mask
- changed system so that only collider with BodyColliderScript can be hit
- exposed "Display Name" to BodyColliderScript which will display when cursor hover over body part
- npcs can attack selected body part
work on photon multiplayer:
- no scene transitions when using multiplayer
- no dropping / destroying items
- no compannions
- added item selection when choosing rooms
About npc shooters:
- main script is NPCShooter.cs derived from NPCScript and ShooterNPC behaviour
- To create NPC shooter:
1. open "Tools/Combat Framework/Third Person Creator/Create NPC" window
2. in window select "Shooter" from drop down menu options field "Initial Behaviour"
3. choose animator from "Shooter Type" drop menu
4. click on create
About NPC Shooter Setup Window
It user to make weapon, left hand IK setups easier. Also it is used to create npc aim transform ( If using point script )
There are 4 options:
1. Right hand - used to adjust position / rotation of weapon in right hand
2. Left hand - used to adjust position / rotation of weapon in left hand if weapon exists
3. Left Hand IK - used to adjust position of IK and rotation of left hand. Requirement for using it is NPCLeftHandIK.cs have to be placed on npc
4. Setup Aiming Script - create aiming. Requirement for using it is LookAtAdvanced have to be placed on spine bone and assigned into NPCShooter "pointScript" field.