Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: Improved ambush
Re: New Feature: Improved ambush[message #340935 is a reply to message #340894]
|
Sun, 10 May 2015 13:30
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
As previously announced, I made another improvement here (r7854 & GameDir r2241):
- The enemy encirclement radii are now dependent on your mercs' experience. The reasoning being that if your mercs are more experienced, they notice the enemy sooner, when he's further away... in pseudocode:
radiusmodifier = ( 10 * (merc's experience level) + 50 * (merc is a scout) + (background ambush radius modifier) ) / 100
This modifier is multiplied with AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS1 and AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS2. It is determined for each merc, the highest value counts. - The radii values have also been increased in the ini. Still needs testing, perhaps even higher would be better, feedback welcome.
- A new background property (<ambush_radius>) is used in the above formula, values from 0 to 50. This effectively increases the range at which an enemy can appear in an ambush, and has been added to some backgrounds - mostly to special forces and mercs very experienced in ambushes.
- If your team has a member that is a very, very good leader, we presume they are quick-witted and determined enough to organize your team before combat - you can then deploy your mercs around the central entry point.
The check needed to pass is
leadership + 50 * (number of squadleader traits) > 120 (new trait system)
respectively
leadership + 30 > 120 (old trait system)
It is determined for each merc, the highest value counts.
As we can only draw rectangular overlays in this screen, some parts of that rectangle are inaccessible (as the allowed deployment zone is a circle), but that is a graphical 'bug' only.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Mon Dec 02 11:12:59 GMT+2 2024
Total time taken to generate the page: 0.00689 seconds
|