mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Merge remote-tracking branch 'origin/NoEvo'
This commit is contained in:
commit
ebce42a383
2 changed files with 40 additions and 5 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
//
|
//
|
||||||
// v3.38 Nov 2020
|
// v3.38 Nov 2020
|
||||||
// Added Observer GameOver (Mainly for switching to CTF)
|
// Added Observer GameOver (Mainly for switching to CTF)
|
||||||
|
// Added Missile Lak Fix
|
||||||
//
|
//
|
||||||
// v3.37 Aug 2020
|
// v3.37 Aug 2020
|
||||||
// Nerfed Blaster damage (Less spam)
|
// Nerfed Blaster damage (Less spam)
|
||||||
|
|
@ -662,6 +663,12 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
||||||
%sourceObject.client.totalChainHits++;
|
%sourceObject.client.totalChainHits++;
|
||||||
}
|
}
|
||||||
%weapon = "Chaingun";
|
%weapon = "Chaingun";
|
||||||
|
case $DamageType::Missile:
|
||||||
|
// doesn't matter if it's MA
|
||||||
|
%ma = 0;
|
||||||
|
if((getSimTime() - $LakRabbit::MissileHeistTime > 10000) || !$LakRabbit::MissileHeistTime)
|
||||||
|
return;
|
||||||
|
%weapon = "Missile";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -709,6 +716,7 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
||||||
{
|
{
|
||||||
missileEveryone(%sourceObject);
|
missileEveryone(%sourceObject);
|
||||||
%sound = '~wfx/Bonuses/horz_straipass2_heist.wav';
|
%sound = '~wfx/Bonuses/horz_straipass2_heist.wav';
|
||||||
|
$LakRabbit::MissileHeistTime = getSimTime();
|
||||||
}
|
}
|
||||||
else if(%points >= 100)
|
else if(%points >= 100)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,9 @@ $dtLoadingScreen::Delay = 0;
|
||||||
$dtLoadingScreen::ShowFullScreen = 0;
|
$dtLoadingScreen::ShowFullScreen = 0;
|
||||||
// Enable/Disable Images
|
// Enable/Disable Images
|
||||||
$dtLoadingScreen::ShowImages = 0;
|
$dtLoadingScreen::ShowImages = 0;
|
||||||
|
// Enable/Disable Server Logo
|
||||||
|
$dtLoadingScreen::ShowLogo = 0;
|
||||||
|
$dtLoadingScreen::LogoName = "dpub/DPUB_logo";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -70,6 +73,8 @@ if( $Host::LoadScreenColor2 $= " " ) $Host::LoadScreenColor2 = "29DEE7";
|
||||||
if( $Host::LoadScreenColor3 $= " " ) $Host::LoadScreenColor3 = "33CCCC";
|
if( $Host::LoadScreenColor3 $= " " ) $Host::LoadScreenColor3 = "33CCCC";
|
||||||
|
|
||||||
// So ServerDefaults wont replace a "" value when meant to be blank
|
// So ServerDefaults wont replace a "" value when meant to be blank
|
||||||
|
function DLSBlank()
|
||||||
|
{
|
||||||
for(%x = 1; %x <= 4; %x++)
|
for(%x = 1; %x <= 4; %x++)
|
||||||
{
|
{
|
||||||
if( $Host::LoadScreenMOTD[%x] $= "")
|
if( $Host::LoadScreenMOTD[%x] $= "")
|
||||||
|
|
@ -77,7 +82,8 @@ for(%x = 1; %x <= 4; %x++)
|
||||||
$Host::LoadScreenMOTD[%x] = " ";
|
$Host::LoadScreenMOTD[%x] = " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
DLSBlank();
|
||||||
|
|
||||||
// Keep it in a package to be neat and organized!
|
// Keep it in a package to be neat and organized!
|
||||||
package LoadScreenPackage
|
package LoadScreenPackage
|
||||||
|
|
@ -229,6 +235,27 @@ function ALTsendModInfoToClient(%client)
|
||||||
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
}
|
}
|
||||||
|
else if($dtLoadingScreen::ShowLogo)
|
||||||
|
{
|
||||||
|
if(%client.dmpVersion $=$DMP::Version)
|
||||||
|
{
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "<bitmap:" @ $dtLoadingScreen::LogoName @ ">";
|
||||||
|
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
}
|
||||||
|
else if(%client.dmpVersion $="" || %client.dmpVersion < $DMP::Version)
|
||||||
|
{
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "<lmargin:24><Font:univers:18><color:fd3b3b>!! This server uses the DMP Discord Map Pack !!";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "<lmargin:24><Font:univers:18><color:fd3b3b>Get the latest here: <a:files.playt2.com/Mappacks>files.playt2.com/Mappacks</a>";
|
||||||
|
$dtLoadingScreen::LoadScreenMessage[$dmlP++] = " ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Full screen things
|
// Full screen things
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue