Skip to content

Commit

Permalink
Merge pull request #30 from Deaod/master
Browse files Browse the repository at this point in the history
InstaGib+ Version 4
  • Loading branch information
Deaod committed Aug 12, 2020
2 parents e9a9693 + 95fe356 commit 56dab75
Show file tree
Hide file tree
Showing 25 changed files with 1,509 additions and 3,241 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.old
*.old2
*.bat
*.sftpbatch
*.uc_ig
make.ini
*.uc_nn
Expand Down
94 changes: 94 additions & 0 deletions Classes/ClientSettings.uc
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)
}
14 changes: 0 additions & 14 deletions Classes/DisablePortals.uc

This file was deleted.

32 changes: 0 additions & 32 deletions Classes/NN_Teleporter.uc

This file was deleted.

47 changes: 0 additions & 47 deletions Classes/PureSuperDuperConsole.uc

This file was deleted.

Loading

0 comments on commit 56dab75

Please sign in to comment.