mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Vehicle Update: Roadkill with vehicles and ramming (by anv)
- new feature: ramming people - set with Tactical Gameplay Settings > ALLOW_CARS_DRIVING_OVER_PEOPLE and Tactical Gameplay Settings > ALLOW_TANKS_DRIVING_OVER_PEOPLE - when shift is pressed planned vehicle route will go through people. Those who will stay on its path will be hit, causing wounds and knock-outs. - new feature: ramming structures - when shift is pressed planned vehicle route will go through obstacles. When vehicle hits the structure on its path it will be destroyed, causing small damage to vehicle too (with exception of tank). Tactical Gameplay Settings > CARS_RAMMING_MAX_STRUCTURE_ARMOUR and Tactical Gameplay Settings > TANKS_RAMMING_MAX_STRUCTURE_ARMOUR settings control how well armoured structure can be driven through and amount of potential damage for vehicle. - see: http://www.ja-galaxy-forum.com/ubbthreads.php/topics/333829/Drivable_Vehicles#Post333829 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7284 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -58,6 +58,7 @@ extern UINT16 CivLastNames[MAXCIVLASTNAMES][10];
|
||||
#define TAKE_DAMAGE_TENTACLES 9
|
||||
#define TAKE_DAMAGE_STRUCTURE_EXPLOSION 10
|
||||
#define TAKE_DAMAGE_OBJECT 11
|
||||
#define TAKE_DAMAGE_VEHICLE_TRAUMA 12
|
||||
|
||||
|
||||
#define SOLDIER_UNBLIT_SIZE (75*75*2)
|
||||
@@ -397,6 +398,7 @@ enum
|
||||
// ------------------- more flags for soldiers --------------------
|
||||
#define SOLDIER_SNITCHING_OFF 0x00000001 //1 // isn't allowed to snitch
|
||||
#define SOLDIER_PREVENT_MISBEHAVIOUR_OFF 0x00000002 //2 // isn't allowed to prevent misbehaviour
|
||||
#define SOLDIER_RAM_THROUGH_OBSTACLES 0x00000004 //4 // vehicle
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// -------- added by Flugente: background property flags --------
|
||||
|
||||
Reference in New Issue
Block a user