Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Server Side AutoAdmin for Holdfast events. THIS IS A EARLY VERSION SO EXPECT BUGS.
- FOL Detection
- - When firing game checks a ring around the player.
- - safeZone defines the allowed distance to fire
- - warningZone defines the distance where maximum warning will be given for firing illegally
- - damegeMod is a scalar modifying the gradient of the linear function
- - minimumNumberOfPlayersNeeded defines how many players/objects in the safezone are needed for a legal fire
- - maxWarningDamege defines the max damege given when an FOL occurs without a kill.
- Features:
- - All values changable by class
- - Each class can have multiple "layers" that get checked. Example: Layer 11 for players, layer 15 for arty. By default cannoneers/rocketeers/sappers can either fire near arty pieces or near players.
- - Each layer can have seperate variables set to them
- - Auto slay + revive for FOL
- - FOL but no Kill = slap. Damege dealt depending on "how bad" the FOL is increasing near linearly [using sqr distance instead of distance for performance].
- Config Settings example:
- Mod uses Wrex's mod notation i.e
- mod_variable <modID>:<variable>:<value(s)>
- For this mod this means:
- mod_variable 2531692643:<ClassEnum>:[playerLayer,safeZone,damgeZone,damgeMod,minPlayers,maxSlap]
- Each class can have multiple playerLayers for detection.
- As an example to allow line infantyr to skirm around cannons but prevent them skirming away from cannons do:
- mod_variable 2531692643:ArmyLineInfantry:15,15,25,1,1,33
- mod_variable 2531692643:ArmyLineInfantry:11,2,5,1,2,25
- This will allow them to skirm within 15 meters of a arty pieces OR within 2 meters of at least 2 other players. FOL away from arty = slap of max 33 DMG. FOL away from players = slap of max 25 DMG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement