mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-28 11:03:52 +00:00
Initial commit
This commit is contained in:
parent
2211ed7650
commit
ebb3dc9cdd
10121 changed files with 801 additions and 4 deletions
25
docs/base/scripts/autoexec/fov.cs
Executable file
25
docs/base/scripts/autoexec/fov.cs
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
// #autoload
|
||||
// #name = Spawn Bug Fix
|
||||
// #version = 1.0
|
||||
// #date = June 28, 2001
|
||||
// #status = final
|
||||
// #author = Daniel Trevino
|
||||
// #warrior = liq
|
||||
// #email = liqy@swbell.net
|
||||
// #web = http://www.toejamsplace.com/
|
||||
// #description = Fixes a bug in T2 where your FOV is set back to 90 on respawn. You can now use whatever FOV you want by editing your "$pref::Player::defaultFov" in ClientPrefs.cs
|
||||
|
||||
package spawnFix {
|
||||
function ClientCmdDisplayHuds() {
|
||||
parent::ClientCmdDisplayHuds();
|
||||
schedule(150, 0, setFov, $pref::Player::defaultFov);
|
||||
schedule(1000, 0, setFov, $pref::Player::defaultFov);
|
||||
}
|
||||
function clientCmdSetInventoryHudItem(%slot, %amount, %addItem)
|
||||
{
|
||||
parent::clientCmdSetInventoryHudItem(%slot, %amount, %addItem);
|
||||
schedule(150, 0, use, disc);
|
||||
schedule(1000, 0, use, disc);
|
||||
}
|
||||
};
|
||||
activatePackage(spawnFix);
|
||||
Loading…
Add table
Add a link
Reference in a new issue