-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Deaod/master
InstaGib+ Version 4
- Loading branch information
Showing
25 changed files
with
1,509 additions
and
3,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*.old | ||
*.old2 | ||
*.bat | ||
*.sftpbatch | ||
*.uc_ig | ||
make.ini | ||
*.uc_nn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
class ClientSettings extends Object | ||
config(InstaGibPlus) | ||
perobjectconfig; | ||
|
||
struct PIDControllerSettings { | ||
var() float p; | ||
var() float i; | ||
var() float d; | ||
}; | ||
|
||
var config bool bForceModels; // if Client wishes models forced to his own. (default false) | ||
var config int HitSound; // if Client wishes hitsounds (default 2, must be enabled on server) | ||
var config int TeamHitSound; // if Client wishes team hitsounds (default 3, must be enabled on server) | ||
var config bool bDisableForceHitSounds; | ||
var config bool bTeamInfo; // if Client wants extra team info. | ||
var config bool bDoEndShot; // if Client wants Screenshot at end of match. | ||
var config bool bAutoDemo; // if Client wants demo or not. | ||
var config bool bShootDead; | ||
var config string DemoMask; // The options for creating demo filename. | ||
var config string DemoPath; // The path for creating the demo. | ||
var config string DemoChar; // Character to use instead of illegal ones. | ||
var config int DesiredSkin; | ||
var config int DesiredSkinFemale; | ||
var config int DesiredTeamSkin; | ||
var config int DesiredTeamSkinFemale; | ||
var config bool bEnableHitSounds; | ||
var config int selectedHitSound; | ||
var config string sHitSound[16]; | ||
var config int cShockBeam; | ||
var config float BeamScale; | ||
var config float BeamFadeCurve; | ||
var config float BeamDuration; | ||
var config int BeamOriginMode; | ||
var config float DesiredNetUpdateRate; | ||
var config bool bNoSmoothing; | ||
var config bool bNoOwnFootsteps; | ||
var config bool bLogClientMessages; | ||
var config bool bEnableKillCam; | ||
var config float FakeCAPInterval; // Send a FakeCAP after no CAP has been sent for this amount of time | ||
var config float MinDodgeClickTime; // Minimum time between two presses of the same direction for them to count as a dodge | ||
var config bool bUseOldMouseInput; | ||
var config PIDControllerSettings SmoothVRController; | ||
|
||
simulated function CheckConfig() { | ||
local int i; | ||
local int p; | ||
local string PackageName; | ||
|
||
PackageName = string(self.Class); | ||
PackageName = Left(PackageName, InStr(PackageName, ".")); | ||
|
||
for (i = 0; i < 16; i += 1) | ||
if (Left(sHitSound[i], 12) ~= "InstaGibPlus") | ||
sHitSound[i] = PackageName$Mid(sHitSound[i], InStr(sHitSound[i], ".")); | ||
|
||
SaveConfig(); | ||
} | ||
|
||
defaultproperties | ||
{ | ||
bForceModels=False | ||
HitSound=2 | ||
TeamHitSound=3 | ||
bDisableForceHitSounds=False | ||
bTeamInfo=True | ||
bDoEndShot=False | ||
bAutoDemo=False | ||
bShootDead=False | ||
DemoMask="%l_[%y_%m_%d_%t]_[%c]_%e" | ||
DemoPath="" | ||
DemoChar="" | ||
DesiredSkin=9 | ||
DesiredSkinFemale=0 | ||
DesiredTeamSkin=9 | ||
DesiredTeamSkinFemale=0 | ||
bEnableHitSounds=True | ||
selectedHitSound=0 | ||
sHitSound(0)="InstaGibPlus4.HitSound" | ||
sHitSound(1)="UnrealShare.StingerFire" | ||
cShockBeam=1 | ||
BeamScale=0.45 | ||
BeamFadeCurve=4 | ||
BeamDuration=0.75 | ||
BeamOriginMode=0 | ||
DesiredNetUpdateRate=100.0 | ||
bNoSmoothing=False | ||
bNoOwnFootsteps=False | ||
bLogClientMessages=True | ||
bEnableKillCam=False | ||
FakeCAPInterval=0.1 | ||
MinDodgeClickTime=0 | ||
bUseOldMouseInput=False | ||
SmoothVRController=(p=0.09,i=0.05,d=0.00) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.