forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
ControversialIs controversialIs controversialDesignIs a matter of game designIs a matter of game designGenRelates to GeneralsRelates to GeneralsMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerZHRelates to Zero HourRelates to Zero Hour
Description
In airgames people forcefire the ground very far away from the airfield with KingRaptors to take down an enemy airfield without actually hitting the airfield to avoid PDL.
With some research and some help from caball we found out that the original game devs were very lazy in making the hitbox calculations. All hitboxes in the game are spheres even the hitboxes for buildings.
The hitboxes for buildings need to be rectangles so projectiles that don't actually hit the building don't do any damage.
This will require code changes.
You can find the calculations being done in Geometry.h
Here is me firing on the ground next to the building so you can see the hitbox of the building.


Metadata
Metadata
Assignees
Labels
ControversialIs controversialIs controversialDesignIs a matter of game designIs a matter of game designGenRelates to GeneralsRelates to GeneralsMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < BlockerZHRelates to Zero HourRelates to Zero Hour