Sly 2:Difficulty: Difference between revisions

Added more examples
m (TheOnlyZac moved page Difficulty (Sly 2) to Sly 2:Difficulty: Moved to gamespace)
(Added more examples)
Line 7:
}}
 
'''Difficulty''', also called '''suck''' or '''uSuck''', is the mechanic by which the game dynamically becomes easier depending on your gameplay. If you repeatedly die or fail a job, certain aspects of the game become easier to compensate.
 
==Suck score==
In {{Sly 2}}, uSuckthe player is setassigned a uSuck score on a per-mission basis{{Check}}. It ranges from 0.0f to 1.0f and increases each time you die or fail a job. The uSuck value is used in the level scripts to make certain aspects of the game easier.
 
==UsesExamples==
{{Hatnote|This list is currently incomplete. You can help SlyMods by adding to it.}}
The following is ana list of allinstances the placeswhere the game uses the current uSuck value to scale the game'sdifficulty difficultylevel.
* In [[Moonlight Rendezvous]], how long Neyla will initially only waiting 5 seconds{{check}}wait for you toranges catchfrom up with her. As your suck increases, the time she waits also increases5 to a maximum of 20 seconds.{{check}} Thisdepending is done by multiplyingon the suck value by 15.0f and adding it to the base value of 5.0f to get the number of seconds Neyla waits before you fail the job.
** <code>nWaitTime = (suck * 15) + 5</code>
* Neyla's Secret uses the same principle, but the wait time only ranges from 5 to 15 seconds.
** <code>nWaitTime = (suck * 10) + 5</code>
* The "shell damage amount" in <code>m7_robot_war</code> ranges from -10 to -5 based on the current suck.
** <code>tank1.shell_damage_points = floor((suck * 5) - 10)</code>
* The speed of the enemy missiles in the hacking stages scale based on the current suck value.
** <code>missileSpeed = clq-evaluate(clq(1.0, -0.3, 0), current-suck) * turret.MISSILE_SPEED)</code>
*The speed of something is set based on suck in <code>t3_heist3_protect_murray</code>
**<code>speed = speed - (current-suck * 0.3)</code>
*During the Rajan boss fight, some function is only called if suck is less than 0.7.
**<code>if (gm != null-obj && current-suck < 0.7) gm.LightningJump()</code>
 
{{Navbox Sly 2}}