PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : IA - TIA Andere SpawnWaffen



RavoxX
15.04.2009, 11:10
:!: Hi weiss jemand vllt wie ich in der smm Xastrada es umendern kann ?
Zb dass wenn jemand spawnt er eine gauss kriegt es geht ja nur im Power struggle modus oder hat jemand den code dafür ? also für TIA oder IA

Hamers
15.04.2009, 13:41
Ist kein Problem;)


Nur für Battleground im IA Modus z.B:


XSetup.InstantAction.multiplayer_ia_battleground.i nitialPlayerEquipment = {
"NightVision",
"Parachute",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"SMG",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"TACGun",
"GaussRifle"
};

Nur für IA Maps z.B:


XSetup.InstantAction.initialPlayerEquipment = {
"NightVision",
"Parachute",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"SMG",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"TACGun",
"GaussRifle"
};

Nur für TIA Maps z.B:


XSetup.TeamInstantAction.initialPlayerEquipment = {
"NightVision",
"Parachute",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"SMG",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"TACGun",
"GaussRifle"
};

Nur für PS Maps z.B:


XSetup.PowerStruggle.initialPlayerEquipment = {
"NightVision",
"Parachute",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"SMG",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"TACGun",
"GaussRifle"
};

Für jeden Game Mode und jede Map z.B:


initialPlayerEquipment = {
"NightVision",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade"
};

Je nach SSM Version entweder das ganze mit "XSetup" am Anfang oder ohne:)

Mfg

RavoxX
15.04.2009, 14:49
Herzlichen Dank aber wie muss ichs einfügen wenn ich 1 zeile verutsche is die lua im hintern ^^

Vielleicht kannste mir die Xastrada editieren also das ding rein und vllt noch einpaar ingame messages zb have fun usw ... einfach selber aussuchen danke ! :p:p:p:p:p:p:p:p:p:p:p:p:p:p

Xastrada <

--------------------------------------------------------------------------
-- $File: //Xastrada.lua $
-- $Revision: 61249022$
-- $Date$
-- $Author$
--
-- $Id$
--------------------------------------------------------------------------
-- This file is maintained as part of the SSM AEGIS project. All additions
-- are the sole work of their authors to which all copyright and ownership
-- resides. However, each author grants license for the use of his or her
-- work to be a part of the SSM AEGIS project.
--
-- (C), Daniel 'Rod-Serling' Phelps, 2008-2009
-- (C), Terry 'Charlie' Reinert, 2008-2009
--------------------------------------------------------------------------

-- ===============================================
-- Server Side Modification Configuration
-- ===============================================

XConfig = {
useExperimentalConfigFile = false;
-- ===============================================
useCrontabFeature = false;
crontab = {};
-- ===============================================
logLevelInfoEnabled = false;
logDebugVerbosity = 8;
SSMDebug = false;
-- ===============================================
-- ADMIN SECTION
-- ===============================================
adminMessageDuration = 15;
adminProtectMsg = "Du kannst den Admin nicht Umbringen ! %s !!";

adminTag = "[ADMIN]";
adminIds = {
-- ["99999999"] = true; --Example
-- To get your own ADMIN ID's, execute x_admin_add "name" and it will add you to the temporary list, and tell you your ID
};

useAdminImposterProtectionFeature = true;
adminImposterWarning = "Please do not use '%s' anywhere in your name. Thank you!";
adminImposterWarningInterval = 30;

useAdminSpamFeature = false;
adminSpamDefaultMsg = "TESTING & DEBUGGING -- SERVER WILL BE RESTARTED AS NEEDED";
adminSpamInterval = 120;

useAdminImmuneToTeamBalanceFeature = true;

-- ===============================================
-- ANTI-CHEAT SECTION
-- ===============================================
--
-- Auto Mass Kill Countermeasure Feature
--
useAutoMKCFeature = true; -- exception: this feature is enabled by default
autoMKCthreshold = 1; -- maximum number of simultaneous self terminations still considered OK
autoMKCdelay = 1; -- number of seconds self terminations will be delayed
autoMKCcoldTimeout = 30; -- number of seconds old requests remain when no MK detected
autoMKChotTimeout = 120; -- number of seconds old requests remain when MK detected

AEGISAntiCheat = true;
antiCheatTimer = 0.2; --Determines how often the antiSpeedHack and antiTeleportHack
--checks should be called. Only for advanced users.
antiSpeedHackEnabled = true;
speedDebug = false; --Outputs speed values to console. Only values that are used in the anti-cheat are shown.
normalSpeedThreshold = 15; --Max speed without Speed Mode
speedModeSpeedThreshold = 23; --Max Speed with Speed Mode

antiTeleportHackEnabled = true;
teleportDebug = false; --Outputs distance values to console. Only values that are used in the anti-cheat are shown.
teleportThreshold = 100; --Max distance player can move between checks
--SSM AEGIS checks every 200 MS (configured via antiCheatTimer)


useFreezeHackDetect = true; -- Enable protection
weaponPermitFreeze = { -- Weapon classes permitted to freeze.
AlienMount = true,
VehicleMOARMounted = true,
VehicleMOAR = true,
};
-- ===============================================
-- GENERAL SERVER SECTION
-- ===============================================
useHighPingFeature = false;
highPingSamplesToInform = 500;
highPingSamplesToKick = 600;
highPingTimeThreshold = 500;
highPingTotalSamples = 700;
highPingUsePunkbusterKick = false;
highPingWarningMessage = "THIS SERVER AUTO-KICKS FOR PINGS ABOVE %d !";
highPingExceptions = {500};

useHitDebugFeature = true;
skipAutoTurretHits = true;
sendHitDetailsToAdmins = true;
sendHitReportsToPlayers = false;

usePickupDebugFeature = false;


numOvertimePeriods = 1; -- Number of times overtime minutes can be added
overtimeMinutesToAdd = 3; -- Number of minutes to add for one overtime period

forceFullInvulnerabilityTime = false;

CP_SUICIDE = 0;
CP_TEAMKILL = -10;
CP_DEATHEXPERIENCE = 0;
CP_DEATHEXPERIENCE_CAP = 0; -- maximum amount of CP a player can have and still earn the death experience
-- set to 0 to disable this limit

useAlternateLevelRotation = false;
mapAbandonTime = 0;
mapRepeatWhilePopulated = false;
mapPossibleAsNextLevel = {};
mapForceAsNextLevel = "";
maxRepetitionsWhilePopulated = 0; -- <=0 unlimited, >0 num of rep. allowed

-- ===============================================
-- SERVER MESSAGES SECTION
-- ===============================================
--
-- The server join message is sent to the player when they join the server and
-- is displayed as a big center message. This should be a short, one line, message.
--
useServerJoinWelcomeMessage = true;
serverJoinWelcomeMessage = "Welcome %s,on Metzelbude!"; -- %s gets replaced with the users ingame name and can be
-- placed anywhere within the message, the usage of %s is optional
-- %q can also be used to put quotes around the player's name.

sendWelcomeMessage = true;
advertisement = {}; --Messages sent to console on connection.
welcomeMessages = {}; --Messages sent to console after advertisements.



--
-- SSM AEGIS can notify all players via the chat console when certain events
-- take place on the server. Simply set the value to true for the things you
-- want your players to be notified of.
--
ChatEntityName = "AEGIS CORE:"; -- Name that SSM Aegis uses to chat to players
sendChatOnXSpawn = false; --Announce use of x_spawn or x_spawn_vehicle
sendChatOnXTeleport = false; --Announce use of x_teleport
sendChatOnXAward = false; --Announce use of x_award_points
sendChatOnXPunish = false; --Announce use of x_punish
sendChatOnXUnpunish = false; --Announce use of x_unpunish
sendChatOnXPlayerTeam = false; --Announce use of x_player_team
sendChatOnJoinLeave = false; --Announce Players joining and leaving
sendChatOnRename = false; --Announce player renames
sendChatOnPingKick = false; --Announce high ping kicks/warnings
sendChatOnXKick = false; --Announce use of x_kick
sendChatOnXVehicleBoot = false; --Announce use of x_vehicle_boot
sendChatOnXKill = false; --Announce use of x_player_kill
sendChatOnXSay = false; --Put x_say's message in Allchat aswell.

--
-- If spam messages have been defined, then send them after the
-- map is running for the initial delay time in seconds and
-- then send the messages in intervals of the specified delay.
--
spamDelay = 15;
spamInitialDelay = 40;
spamMessages = {

"visit our Homepage ????,
"You can lock and Unlock your vehicle with , !lock / !unlock",
"You can KILL with 1 hit when you punch with MAX-Strenght Mode",
"Don't rape base with AIR or Tanks!!!",
"Do what ADMINS say or Kick/Ban!!!",
"Dont Cheat or you get PERMABAN!!!",
"Have fun and play fair",

};

-- Spam players that need to update PB, to prevent them from getting kicked.
--To fix it, they need to put "pb_security 0" into their console.
usePunkbusterUpdateReminders = true;
pbUpdateReminderMessage1 = "Your PB is out of date. Please type 'pb_security 0' into your console";
pbUpdateReminderMessage2 = "You will automatically be kicked if you fail to comply.";
pbUpdateConsoleMessage = "$6Type: $3pb_security 0 $6to prevent from getting kicked!";

sendMsgOnHeadshot = true;
onHeadshotMsg = "HEADSHOT!!";-- %s gets replaced with the victims ingame name and can be
-- placed anywhere within the message, the usage of %s is optional

-- ===============================================
-- PLAYER NAME SECTION
-- ===============================================

useSanitizeColoredNamesFeature = true;
useSanitizeSpaceInNamesFeature = true;
useSanitizeAfterNameChangesFeature = true;
useFunnyNamesForNomadsFeature = true;
useFunnyNamesForCrypticsFeature = true;
crypticNameRatio = 0.6; -- At least 60% readable chars

funnyNames = {
"Name",
"Name",
"name",
"name",
"name",
"name",
"name",
"name",
"name",

};

-- ===============================================
-- TEAM KILL SECTION
-- ===============================================

showTeamKillWarningMsg = true;
teamKillWarningMsg = "Teamkill is not Allowed ! STOP it!";


-- ===============================================
-- CHAT TRIGGERS / COMMANDS SECTION
-- ===============================================
ChatTriggers = {
Trigger = {
triggerWord = "Aegis",
"This server is using Crysis Wars SSM AEGIS!",
"Visit http://xtremgamer.net!",
},
};
chatMessagestoHold = 30;
-- ===============================================
useChatCommands = true;
useSeatLockFeature = true;
CommandTriggers = { --All Features in this bracket requore useSeatLockFeature
LockVehicleCommand = {
commandWord = "!lock",
commandFunction = "lockVehicle",
},
UnlockVehicleCommand = {
commandWord = "!unlock",
commandFunction = "unlockVehicle",
},
Vote1Command={
commandWord="!1",
commandFunction = "Vote1",
},
Vote2Command={
commandWord="!2",
commandFunction = "Vote2",
},
Vote3Command={
commandWord="!3",
commandFunction = "Vote3",
},
};


voteTime = 60; --Time in seconds the vote lasts
votePercentage = 50; --Percentage of votes needed to succeed
timeBetweenVotes = 300; --Time that players must wait before initiating another vote.

-- ===============================================
-- FEATURES SECTION
-- ===============================================
--
-- VEHICLE RELATED FEATURES
--
useShareVehicleKillPPFeature = false;
killerSharedAmount = 1.0; -- Killer gets 100% of PP
supporterSharedAmount = 0.25; -- Supporter gets 25% of PP
useSeatLockFeature = true; -- Allows vehicle owner to lock and unlock individual seats.
allowWeaponsToFreezeVehicles = true; -- if this is false then vehicles cannot be frozen
vehicleAbandonTime = 10; --Time in seconds before an abandoned vehicle is destroyed.

--
-- TURRET RELATED FEATURES
--
useVulnerableTurretsFeature = false; -- Set to true to make turrets destroyable
useResurrectTurretsFeature = false; -- Set to true to make turrets resurrect
repairDamagedTurretRate = 1; -- repair rate after damage from full health (25min)
repairResurrectedTurretRate = 5; -- repair rate after resurrection until full health (5min)
resurrectTurretDelay = 1200; -- time to stay destroyed (20min)

--
-- OTHER FEATURES
--
useCareerPointsCapFeature = false;
careerPointsCap = 750;
useDefendBunkersFeature = false; -- Give extra PP for defending bunkers
useDefendEnergyPointsFeature = false; -- Give exrta PP for defending energy sites
useSendKDRToPlayerFeature = true; -- Set to true to show player new KDR on every kill

useStartingAverageRankFeature = false; -- Set to true to adjust starting rank based on server average
maximumStartingAverageRank = 3; -- Maximum rank to give on rank adjustment
usePersistantScores = false; -- Set to true to save scores on disconnect, and restore them on reconnect.

-- ===============================================
-- WEAPONS / DAMAGE SECTION
-- ===============================================
useModifiedWeaponDamageToPlayerFeature = true;
useModifiedWeaponDamageToVehicleFeature = false;
weaponDamageTo = {
Player = {};
};


-- since 1.0.7 every weapon will have all attachments installed
-- that are listed in front of it, and the last selectable
-- item in the list will be selected by default
initialPlayerEquipment = { --IA Implimentation ONLY
"SOCOM",
};

}; -- XConfig

-- ADD ANY FUNCTIONS AFTER THIS LINE! INCLUDING XSETUP, AND CUSTOM COMMAND FUNCTIONS!

-- Initial Weapons
function XSetup.TeamInstantAction.unknown.OnNewMap(mapRules , mapName)
local ps = g_gameRules;
ps.rankList[X_RANK_INDEX.PVT].equip = {"NightVision","Binoculars","Parachute","AssaultScope","SCAR","Silencer","LAMRifle","GaussRifle","MOAR","RocketLauncher",SniperScope","LAW","FragGrenade","FragGrenade","FragGrenade","Claymore","Claymore", };
ps.rankList[X_RANK_INDEX.CPL].equip = {"NightVision","Binoculars","Parachute","LAM","SOCOM","SOCOM" };
ps.rankList[X_RANK_INDEX.SGT].equip = {"NightVision","Binoculars","Parachute","FragGrenade","LAMRifle","SCAR", };
ps.rankList[X_RANK_INDEX.LT].equip = {"NightVision","Binoculars","Parachute","Reflex","Silencer","LAMRifle","SCAR","FragGrenade","FragGrenade", };
ps.rankList[X_RANK_INDEX.CPT].equip = {"NightVision","Binoculars","Parachute","AssaultScope","Silencer","LAMRifle","GaussRifle","FragGrenade","FragGrenade","FragGrenade","Claymore", };
ps.rankList[X_RANK_INDEX.MAJ].equip = {"NightVision","Binoculars","Parachute","AssaultScope","Silencer","LAMRifle","SCAR","FragGrenade","FragGrenade","FragGrenade","Claymore","Claymore","Silencer", };
ps.rankList[X_RANK_INDEX.COL].equip = {"NightVision","Binoculars","Parachute","AssaultScope","Silencer","LAMRifle","SCAR","FragGrenade","FragGrenade","FragGrenade","Claymore","Claymore","Silencer", };
ps.rankList[X_RANK_INDEX.GEN].equip = {"NightVision","Binoculars","Parachute","AssaultScope","SCAR","Silencer","LAMRifle","GaussRifle","MOAR","RocketLauncher",SniperScope","LAW","FragGrenade","FragGrenade","FragGrenade","Claymore","Claymore", };
LogInfo("[SSM] patching power struggle config variables");


end

-- ================================================== ===========================
-- Function: XDealWithHacker
--
-- This function is called whenever a hack detection is made.
-- The function is the only thing that will determine what is done with a hacker
-- Input, is the player data, and the hack they used in string format. You can
-- configure different hacks to be responded to in a different way, based on the
-- hack parameter. A few helpful examples are given here for punishments.
--
-- \param[in] player
-- The object of the player.
--
-- \param[in] hack
-- String description of the hack
--
--
-- ================================================== ===========================


function XDealWithHacker(player, hack)
if (player) then
LogAdmins("[AEGIS] Hack Detected: %q detected with %s",player:GetName(), hack);
end
end


-- ADD ANY FUNCTIONS BEFORE THIS LINE! INCLUDING XSETUP, AND CUSTOM COMMAND FUNCTIONS!
-- ===============================================
-- Configuration Validation Marker
-- ===============================================
-- leave the following setting as is and don't add
-- any configuration after it. It is used as a
-- marker, that the configuration was loaded
-- successfully and completely.
XConfig.validConfiguration = true;

Hamers
15.04.2009, 17:22
Hier bitte:

--------------------------------------------------------------------------
-- $File: //Xastrada.lua $
-- $Revision: 61249022$
-- $Date$
-- $Author$
--
-- $Id$
--------------------------------------------------------------------------
-- This file is maintained as part of the SSM AEGIS project. All additions
-- are the sole work of their authors to which all copyright and ownership
-- resides. However, each author grants license for the use of his or her
-- work to be a part of the SSM AEGIS project.
--
-- (C), Daniel 'Rod-Serling' Phelps, 2008-2009
-- (C), Terry 'Charlie' Reinert, 2008-2009
--------------------------------------------------------------------------

-- ===============================================
-- Server Side Modification Configuration
-- ===============================================

XConfig = {
useExperimentalConfigFile = false;
-- ===============================================
useCrontabFeature = false;
crontab = {};
-- ===============================================
logLevelInfoEnabled = false;
logDebugVerbosity = 8;
SSMDebug = false;
-- ===============================================
-- ADMIN SECTION
-- ===============================================
adminMessageDuration = 15;
adminProtectMsg = "Du kannst den Admin nicht Umbringen ! %s !!";

adminTag = "[ADMIN]";
adminIds = {
-- ["99999999"] = true; --Example
-- To get your own ADMIN ID's, execute x_admin_add "name" and it will add you to the temporary list, and tell you your ID
};

useAdminImposterProtectionFeature = true;
adminImposterWarning = "Please do not use '%s' anywhere in your name. Thank you!";
adminImposterWarningInterval = 30;

useAdminSpamFeature = false;
adminSpamDefaultMsg = "TESTING & DEBUGGING -- SERVER WILL BE RESTARTED AS NEEDED";
adminSpamInterval = 120;

useAdminImmuneToTeamBalanceFeature = true;

-- ===============================================
-- ANTI-CHEAT SECTION
-- ===============================================
--
-- Auto Mass Kill Countermeasure Feature
--
useAutoMKCFeature = true; -- exception: this feature is enabled by default
autoMKCthreshold = 1; -- maximum number of simultaneous self terminations still considered OK
autoMKCdelay = 1; -- number of seconds self terminations will be delayed
autoMKCcoldTimeout = 30; -- number of seconds old requests remain when no MK detected
autoMKChotTimeout = 120; -- number of seconds old requests remain when MK detected

AEGISAntiCheat = true;
antiCheatTimer = 0.2; --Determines how often the antiSpeedHack and antiTeleportHack
--checks should be called. Only for advanced users.
antiSpeedHackEnabled = true;
speedDebug = false; --Outputs speed values to console. Only values that are used in the anti-cheat are shown.
normalSpeedThreshold = 15; --Max speed without Speed Mode
speedModeSpeedThreshold = 23; --Max Speed with Speed Mode

antiTeleportHackEnabled = true;
teleportDebug = false; --Outputs distance values to console. Only values that are used in the anti-cheat are shown.
teleportThreshold = 100; --Max distance player can move between checks
--SSM AEGIS checks every 200 MS (configured via antiCheatTimer)


useFreezeHackDetect = true; -- Enable protection
weaponPermitFreeze = { -- Weapon classes permitted to freeze.
AlienMount = true,
VehicleMOARMounted = true,
VehicleMOAR = true,
};
-- ===============================================
-- GENERAL SERVER SECTION
-- ===============================================
useHighPingFeature = false;
highPingSamplesToInform = 500;
highPingSamplesToKick = 600;
highPingTimeThreshold = 500;
highPingTotalSamples = 700;
highPingUsePunkbusterKick = false;
highPingWarningMessage = "THIS SERVER AUTO-KICKS FOR PINGS ABOVE %d !";
highPingExceptions = {500};

useHitDebugFeature = true;
skipAutoTurretHits = true;
sendHitDetailsToAdmins = true;
sendHitReportsToPlayers = false;

usePickupDebugFeature = false;


numOvertimePeriods = 1; -- Number of times overtime minutes can be added
overtimeMinutesToAdd = 3; -- Number of minutes to add for one overtime period

forceFullInvulnerabilityTime = false;

CP_SUICIDE = 0;
CP_TEAMKILL = -10;
CP_DEATHEXPERIENCE = 0;
CP_DEATHEXPERIENCE_CAP = 0; -- maximum amount of CP a player can have and still earn the death experience
-- set to 0 to disable this limit

useAlternateLevelRotation = false;
mapAbandonTime = 0;
mapRepeatWhilePopulated = false;
mapPossibleAsNextLevel = {};
mapForceAsNextLevel = "";
maxRepetitionsWhilePopulated = 0; -- <=0 unlimited, >0 num of rep. allowed

-- ===============================================
-- SERVER MESSAGES SECTION
-- ===============================================
--
-- The server join message is sent to the player when they join the server and
-- is displayed as a big center message. This should be a short, one line, message.
--
useServerJoinWelcomeMessage = true;
serverJoinWelcomeMessage = "Welcome %s,on Metzelbude!"; -- %s gets replaced with the users ingame name and can be
-- placed anywhere within the message, the usage of %s is optional
-- %q can also be used to put quotes around the player's name.

sendWelcomeMessage = true;
advertisement = {}; --Messages sent to console on connection.
welcomeMessages = {}; --Messages sent to console after advertisements.



--
-- SSM AEGIS can notify all players via the chat console when certain events
-- take place on the server. Simply set the value to true for the things you
-- want your players to be notified of.
--
ChatEntityName = "AEGIS CORE:"; -- Name that SSM Aegis uses to chat to players
sendChatOnXSpawn = false; --Announce use of x_spawn or x_spawn_vehicle
sendChatOnXTeleport = false; --Announce use of x_teleport
sendChatOnXAward = false; --Announce use of x_award_points
sendChatOnXPunish = false; --Announce use of x_punish
sendChatOnXUnpunish = false; --Announce use of x_unpunish
sendChatOnXPlayerTeam = false; --Announce use of x_player_team
sendChatOnJoinLeave = false; --Announce Players joining and leaving
sendChatOnRename = false; --Announce player renames
sendChatOnPingKick = false; --Announce high ping kicks/warnings
sendChatOnXKick = false; --Announce use of x_kick
sendChatOnXVehicleBoot = false; --Announce use of x_vehicle_boot
sendChatOnXKill = false; --Announce use of x_player_kill
sendChatOnXSay = false; --Put x_say's message in Allchat aswell.

--
-- If spam messages have been defined, then send them after the
-- map is running for the initial delay time in seconds and
-- then send the messages in intervals of the specified delay.
--
spamDelay = 30;
spamInitialDelay = 5;
spamMessages = {
"Visit our Homepage!",
"You can lock and unlock your vehicle with: !lock / !unlock ",
"You can kill somebody with 1 hit when you punch with MAX-Strenght Mode!",
"Dont rape base with AIR or Tanks!!!",
"Do what ADMINS say or Kick/Ban!!!",
"Dont Cheat or you get PERMABANED!!!",
"Have fun and play fair!"
};

showSpamMsgToAdmin = true;

-- Spam players that need to update PB, to prevent them from getting kicked.
--To fix it, they need to put "pb_security 0" into their console.
usePunkbusterUpdateReminders = true;
pbUpdateReminderMessage1 = "Your PB is out of date. Please type 'pb_security 0' into your console";
pbUpdateReminderMessage2 = "You will automatically be kicked if you fail to comply.";
pbUpdateConsoleMessage = "$6Type: $3pb_security 0 $6to prevent from getting kicked!";

sendMsgOnHeadshot = true;
onHeadshotMsg = "HEADSHOT!!";-- %s gets replaced with the victims ingame name and can be
-- placed anywhere within the message, the usage of %s is optional

-- ===============================================
-- PLAYER NAME SECTION
-- ===============================================

useSanitizeColoredNamesFeature = true;
useSanitizeSpaceInNamesFeature = true;
useSanitizeAfterNameChangesFeature = true;
useFunnyNamesForNomadsFeature = true;
useFunnyNamesForCrypticsFeature = true;
crypticNameRatio = 0.6; -- At least 60% readable chars

funnyNames = {
"Name",
"Name",
"name",
"name",
"name",
"name",
"name",
"name",
"name",

};

-- ===============================================
-- TEAM KILL SECTION
-- ===============================================

showTeamKillWarningMsg = true;
teamKillWarningMsg = "Teamkill is not Allowed ! STOP it!";


-- ===============================================
-- CHAT TRIGGERS / COMMANDS SECTION
-- ===============================================
ChatTriggers = {
Trigger = {
triggerWord = "Aegis",
"This server is using Crysis Wars SSM AEGIS!",
"Visit http://xtremgamer.net!",
},
};
chatMessagestoHold = 30;
-- ===============================================
useChatCommands = true;
useSeatLockFeature = true;
CommandTriggers = { --All Features in this bracket requore useSeatLockFeature
LockVehicleCommand = {
commandWord = "!lock",
commandFunction = "lockVehicle",
},
UnlockVehicleCommand = {
commandWord = "!unlock",
commandFunction = "unlockVehicle",
},
Vote1Command={
commandWord="!1",
commandFunction = "Vote1",
},
Vote2Command={
commandWord="!2",
commandFunction = "Vote2",
},
Vote3Command={
commandWord="!3",
commandFunction = "Vote3",
},
};


voteTime = 60; --Time in seconds the vote lasts
votePercentage = 50; --Percentage of votes needed to succeed
timeBetweenVotes = 300; --Time that players must wait before initiating another vote.

-- ===============================================
-- FEATURES SECTION
-- ===============================================
--
-- VEHICLE RELATED FEATURES
--
useShareVehicleKillPPFeature = false;
killerSharedAmount = 1.0; -- Killer gets 100% of PP
supporterSharedAmount = 0.25; -- Supporter gets 25% of PP
useSeatLockFeature = true; -- Allows vehicle owner to lock and unlock individual seats.
allowWeaponsToFreezeVehicles = true; -- if this is false then vehicles cannot be frozen
vehicleAbandonTime = 10; --Time in seconds before an abandoned vehicle is destroyed.

--
-- TURRET RELATED FEATURES
--
useVulnerableTurretsFeature = false; -- Set to true to make turrets destroyable
useResurrectTurretsFeature = false; -- Set to true to make turrets resurrect
repairDamagedTurretRate = 1; -- repair rate after damage from full health (25min)
repairResurrectedTurretRate = 5; -- repair rate after resurrection until full health (5min)
resurrectTurretDelay = 1200; -- time to stay destroyed (20min)

--
-- OTHER FEATURES
--
useCareerPointsCapFeature = false;
careerPointsCap = 750;
useDefendBunkersFeature = false; -- Give extra PP for defending bunkers
useDefendEnergyPointsFeature = false; -- Give exrta PP for defending energy sites
useSendKDRToPlayerFeature = true; -- Set to true to show player new KDR on every kill

useStartingAverageRankFeature = false; -- Set to true to adjust starting rank based on server average
maximumStartingAverageRank = 3; -- Maximum rank to give on rank adjustment
usePersistantScores = false; -- Set to true to save scores on disconnect, and restore them on reconnect.

-- ===============================================
-- WEAPONS / DAMAGE SECTION
-- ===============================================
useModifiedWeaponDamageToPlayerFeature = true;
useModifiedWeaponDamageToVehicleFeature = false;
weaponDamageTo = {
Player = {};
};


-- since 1.0.7 every weapon will have all attachments installed
-- that are listed in front of it, and the last selectable
-- item in the list will be selected by default

XSetup.InstantAction.initialPlayerEquipment = {
"NightVision",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"GaussRifle"
};

XSetup.TeamInstantAction.initialPlayerEquipment = {
"NightVision",
"Binoculars",
"C4",
"C4",
"AVMine",
"AVMine",
"SOCOM",
"SOCOM",
"Reflex",
"FragGrenade",
"FlashbangGrenade",
"FlashbangGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"SmokeGrenade",
"EMPGrenade",
"GaussRifle"
};

-- ADD ANY FUNCTIONS AFTER THIS LINE! INCLUDING XSETUP, AND CUSTOM COMMAND FUNCTIONS!

-- Initial Weapons
function XSetup.TeamInstantAction.unknown.OnNewMap(mapRules , mapName)
local ps = g_gameRules;
ps.rankList[X_RANK_INDEX.PVT].equip = {"NightVision","Binoculars","Parachute","AssaultSc ope","SCAR","Silencer","LAMRifle","GaussRifle","MO AR","RocketLauncher",SniperScope","LAW","FragGrena de","FragGrenade","FragGrenade","Claymore","Claymo re", };
ps.rankList[X_RANK_INDEX.CPL].equip = {"NightVision","Binoculars","Parachute","LAM","SOC OM","SOCOM" };
ps.rankList[X_RANK_INDEX.SGT].equip = {"NightVision","Binoculars","Parachute","FragGrena de","LAMRifle","SCAR", };
ps.rankList[X_RANK_INDEX.LT].equip = {"NightVision","Binoculars","Parachute","Reflex"," Silencer","LAMRifle","SCAR","FragGrenade","FragGre nade", };
ps.rankList[X_RANK_INDEX.CPT].equip = {"NightVision","Binoculars","Parachute","AssaultSc ope","Silencer","LAMRifle","GaussRifle","FragGrena de","FragGrenade","FragGrenade","Claymore", };
ps.rankList[X_RANK_INDEX.MAJ].equip = {"NightVision","Binoculars","Parachute","AssaultSc ope","Silencer","LAMRifle","SCAR","FragGrenade","F ragGrenade","FragGrenade","Claymore","Claymore","S ilencer", };
ps.rankList[X_RANK_INDEX.COL].equip = {"NightVision","Binoculars","Parachute","AssaultSc ope","Silencer","LAMRifle","SCAR","FragGrenade","F ragGrenade","FragGrenade","Claymore","Claymore","S ilencer", };
ps.rankList[X_RANK_INDEX.GEN].equip = {"NightVision","Binoculars","Parachute","AssaultSc ope","SCAR","Silencer","LAMRifle","GaussRifle","MO AR","RocketLauncher",SniperScope","LAW","FragGrena de","FragGrenade","FragGrenade","Claymore","Claymo re", };
LogInfo("[SSM] patching power struggle config variables");


end

-- ================================================== ===========================
-- Function: XDealWithHacker
--
-- This function is called whenever a hack detection is made.
-- The function is the only thing that will determine what is done with a hacker
-- Input, is the player data, and the hack they used in string format. You can
-- configure different hacks to be responded to in a different way, based on the
-- hack parameter. A few helpful examples are given here for punishments.
--
-- \param[in] player
-- The object of the player.
--
-- \param[in] hack
-- String description of the hack
--
--
-- ================================================== ===========================


function XDealWithHacker(player, hack)
if (player) then
LogAdmins("[AEGIS] Hack Detected: %q detected with %s",player:GetName(), hack);
end
end


-- ADD ANY FUNCTIONS BEFORE THIS LINE! INCLUDING XSETUP, AND CUSTOM COMMAND FUNCTIONS!
-- ===============================================
-- Configuration Validation Marker
-- ===============================================
-- leave the following setting as is and don't add
-- any configuration after it. It is used as a
-- marker, that the configuration was loaded
-- successfully and completely.
XConfig.validConfiguration = true;

RavoxX
16.04.2009, 07:56
Hey dankeschön :D

jetzt bleibt nur noch das problem mit dem autodownloader