Sly 1:Anticrack: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Added infobox image)
(Updated wording)
Tags: Mobile edit Mobile web edit Visual edit
Line 23: Line 23:


===The Van===
===The Van===
The van's velocity will be capped at 40% of it's normal speed, making the race levels impossible to win. This is accomplished in the function <code>UpdateSuvActive</code> which is called to update the van every frame it is active.
The van's acceleration will be capped at 40%. The function <code>UpdateSuvActive</code>, which is called every frame, is supposed to set the van's velocity target value, <code>svTarget</code>, to some value calculated by the physics engine. However, if the vehicle penalty is active, <code>svTarget</code> is multiplied by 0.4. This speed limit makes the race levels impossible to win.
* It first checks if the flag for the vehicle penalty is set.
* It then updates the van's velocity target value, <code>svTarget</code>, to some value calculated by the physics engine.
* If the vehicle penalty is active, <code>svTarget</code>) is multiplied by 0.4.

===Hover Blaster===
===Hover Blaster===
The blaster's cannon will be fully disabled on the hover blaster levels.
The blaster's cannon will be fully disabled on the hover blaster levels.