Skip to content

Commit

Permalink
Add config, missing gamedata
Browse files Browse the repository at this point in the history
  • Loading branch information
RA committed May 21, 2021
1 parent db2542e commit 8b97fb3
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 26 deletions.
45 changes: 25 additions & 20 deletions PackageScript
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ folder_list = [
# 'addons/sourcemod/configs',
'custom/sigsegv/resource',
'custom/sigsegv/scripts',
'cfg'
]

# Create the distribution folder hierarchy.
Expand Down Expand Up @@ -42,36 +43,38 @@ def CopyFiles(src, dest, files):
# GameData files
CopyFiles('gamedata/sigsegv', 'addons/sourcemod/gamedata/sigsegv',
[
'client.txt',
'convars.txt',
'custom_attributes.txt',
'datamaps.txt',
'debugoverlay.txt',
'globals.txt',
'NextBotKnownEntity.txt',
'item_names.txt',
'misc.txt',
'nav.txt',
'NextBotBehavior.txt',
'NextBotBodyInterface.txt',
'NextBotChasePath.txt',
'NextBotContextualQueryInterface.txt',
'NextBotEventResponderInterface.txt',
'NextBotInterface.txt',
'NextBotBodyInterface.txt',
'NextBotLocomotionInterface.txt',
'NextBotVisionInterface.txt',
'NextBotIntentionInterface.txt',
'NextBotBehavior.txt',
'NextBotKnownEntity.txt',
'NextBotLocomotionInterface.txt',
'NextBotManager.txt',
'NextBotPlayer.txt',
'NextBotPlayerBody.txt',
'NextBotPlayerLocomotion.txt',
'NextBotPath.txt',
'NextBotPathFollow.txt',
'NextBotChasePath.txt',
'NextBotManager.txt',
'NextBotVisionInterface.txt',
'population.txt',
'nav.txt',
'tfplayer.txt',
'tfbot.txt',
'tfbot_body.txt',
'tfbot_locomotion.txt',
'tfbot_vision.txt',
'tfbot_behavior.txt',
'misc.txt',
'debugoverlay.txt',
'client.txt',
'convars.txt',
]
)

Expand All @@ -96,6 +99,8 @@ CopyFiles('scripts', 'custom/sigsegv/scripts',
]
)

builder.AddCopy('cfg/sigsegv_convars.cfg', folder_map['cfg'])

# Copy binaries.
for cxx_task in Extension.extensions:
src = os.path.join('..', cxx_task.binary.path)
Expand All @@ -108,11 +113,11 @@ for cxx_task in Extension.extensions:
# builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/extensions'])

# Copy libstrcompat (Linux only)
if builder.target.platform == 'linux':
src = os.path.join(builder.sourcePath, 'libs', 'strcompat', 'libstrcompat.so')
dst = os.path.join('addons', 'sourcemod', 'extensions', 'libstrcompat.so')
builder.AddCommand(
inputs = [ src ],
argv = [ 'cp', '--remove-destination', src, dst ],
outputs = [ dst ],
)
# if builder.target.platform == 'linux':
# src = os.path.join(builder.sourcePath, 'libs', 'strcompat', 'libstrcompat.so')
# dst = os.path.join('addons', 'sourcemod', 'extensions', 'libstrcompat.so')
# builder.AddCommand(
# inputs = [ src ],
# argv = [ 'cp', '--remove-destination', src, dst ],
# outputs = [ dst ],
# )
95 changes: 95 additions & 0 deletions cfg/sigsegv_convars.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
// Those are recommended settings for regular mvm usage. If you wish to use default settings instead (no mods active), delete this file

sig_color_console "1" // Enable color console output
sig_ai_engiebot_dispensers "1" // Mod: make engiebots build dispensers instead of sentries/teles
sig_ai_engiebot_pushrange "100" // Mod: reduce push range
sig_ai_engiebot_nopush "1" // Mod: remove MvM engiebots' push force when spawning and building
sig_ai_engiebot_wrangler "1" // Mod: enable custom AI behavior for wrangling sentry
sig_ai_improved_useitem "1" // Mod: use improved replacement for CTFBotUseItem
sig_ai_wrapassassin_altfire "1" // Mod: make bots fire Wrap Assassin balls, similar to how they use the Sandman
sig_ai_melee_ignore_healers "0" // Mod: melee bots ignore healers
sig_ai_force_attack_blockers "0" // Mod: force attacking blocking players
sig_ai_giant_stomp "0" // Mod: Giants stomp players and buildings
sig_attr_customprojectilemodel_precache "1" // Mod: do automatic model precaching of "custom projectile model" attr values instead of crashing the server
sig_attr_healonkill_overheal_melee "1" // Mod: re-enable overheal from the "heal_on_kill" attribute for melee weapons
sig_attr_custom "1" // Mod: enable custom attributes
sig_bot_isspacetospawnhere_scale "1" // Mod: make IsSpaceToSpawnHere take bots' model scale into account
sig_bot_kart_locomotion "1" // Mod: make bots do delta-yaw movement instead of strafe movement when in TF_COND_HALLOWEEN_KART
sig_bot_medieval_nonmelee "1" // Mod: allow bots in Medieval Mode to use weapons in non-melee slots
sig_bot_multiclass_weapon "1" // Mod: remap item entity names so bots can be given multi-class weapons
sig_bot_spy_selectrandomreachableenemy "1" // Mod: debug/fix bad spy logic in CTFBot::SelectRandomReachableEnemy
sig_cond_reprogrammed "1" // Mod: reimplement TF_COND_REPROGRAMMED
sig_credits_better_radius_collection "1" // Mod: rewrite currency pack collection code to eliminate problematic aspects of the magnet effect
sig_etc_crayairblast_convar_nocheat "1" // Mod: remove the FCVAR_CHEAT flag from the Cray Airblast enable and tuning convars
sig_etc_heat_seeking_rockets "1" // Etc: enable heat-seeking rockets
sig_etc_holiday_items_allow "1" // Mod: allow holiday-restricted loadout items regardless of the holiday state
sig_etc_instant_scaling "1" // Mod: make hand/head/torso scaling instantaneous in MvM mode
sig_etc_loose_cannon_damage_fix "1" // Mod: fix the Tough Break update change that made Loose Cannon projectile impact damage unaffected by multipliers
sig_etc_mapentity_additions "1" // Mod: tell maps that sigsegv extension is loaded
sig_etc_melee_ignore_teammates "1" // Mod: allow melee traces to pass through teammates (for anyone, not just MvM blu team players)
sig_etc_weapon_mimic_teamnum "1" // Mod: weapon mimic teamnum fix
sig_etc_trigger_filter_fix "1" // Mod: Deleted entities trigger filtering crash fix
sig_etc_misc "1" // Mod: Stuff i am lazy to make into separate mods
sig_mvm_changebotattributes_crash_fix "1" // Mod: fix crash in which CPointPopulatorInterface::InputChangeBotAttributes assumes that all blue players are TFBots
sig_mvm_chat_unrestrict "1" // Mod: allow players on any team and with any life state to chat with each other
sig_mvm_disposable_sentry_health_upgrades "1" // Mod: make building health upgrades apply to disposable sentries
sig_mvm_gib_improvements "1" // Mod: improve various aspects of human and robot gibbing in MvM mode
sig_mvm_human_death_yells "1" // Mod: re-enable human death yells and crunching sounds and so forth in MvM mode
sig_mvm_no_halloween_souls "1" // Mod: disable those stupid Halloween soul drop things in MvM mode
sig_mvm_robosapper_override_duration "-1.000000" // Mod: robo sapper duration (usual: 4.0 @ L0, 4.0 @ L1, 5.5 @ L2, 7.0 @ L3); if negative, no override will be applied
sig_mvm_robosapper_override_stun_amount "0.850000" // Mod: robo sapper will apply specified stun amount (usual: 0.85)
sig_mvm_robot_limit "1" // Mod: modify/enhance/fix some population manager code related to the 22-robot limit in MvM
sig_mvm_upgradestation_creators "1" // The mod only affects creators.tf weapons
sig_mvm_upgradestation_regen_improved "1" // Mod: fix annoying aspects of the health+ammo regen provided by the upgrade station
sig_mvm_weapon_antigrief_airborne_rage "0" // Disable knockback and stun effects vs giant robots from minigun rage when airborne
sig_mvm_stunball_stun "0" // Balls now stun players
sig_mvm_weapon_antigrief "1" // Mod: disable some obnoxious weapon effects in MvM (primarily knockback stuff)
sig_mvm_explosiveheadshot_nerf "0" // Explosive headshots nerf (30% less range with no charge, damage and stun is reduced with distance)
sig_mvm_backstab_nerf "0" // Nerf for backstab (20% less damage for each successive backstab down to 60%)
sig_mvm_madmilk_nerf "0" // Nerf for mad milk (reduce duration by 1 second for every 100 health restored)
sig_mvm_beggar_stun_nerf "0" // Nerf for beggar's bazooka (reduce stun slow from 85% to 60%, reduce duration by 15%)
sig_ubersaw_uber_decrease "1" // Ubersaw uber on hit decrease if rage scale attribute is present
sig_mvm_weapon_balancing "1" // Mod: change some weapon behavior
sig_mvm_yer_unnerf "1" // Mod: remove the MvM-specific nerfs from Your Eternal Reward
sig_mvm_upgrade_allow_explode_on_ignite "0" // Should explode on ignite be enabled
sig_mvm_upgradedisallow "1" // Mod: Disallow buing certain upgrades
sig_mvm_red_robot_eye_glow "1" // Mod: add eye glow to red robots
sig_mvm_extended_upgrades "1" // Mod: enable extended upgrades
sig_mvm_teleporter_aggro "1" // Mod: Make robots target red teleporters
sig_mvm_usermsg_overflow_fix "1" // MvM: fix buffer overflow in net message
sig_perf_hltv_optimize "1" // Mod: improve HLTV performance
sig_perf_flame_breakable_collision "1" // Mod: improve MvM flame entity performance by eliding func_breakable classname lookups
sig_debug_medigunshield_obstruction_override_trace "1" // Override NextBotTraversableTraceFilter::ShouldHitEntity
sig_debug_medigunshield_obstruction_override_traversable "1" // Override CTFBotLocomotion::IsEntityTraversable
sig_perf_medigun_shield_damage_interval "3" // Mod: change the medigun shield damage interval to values greater than every single tick
sig_perf_sendprop_optimize "1" // Mod: improve sendprop encoding performance by preventing full updates on clients
sig_perf_smokestack_fs_thrash "1" // Mod: fix map load delays caused by filesystem thrashing from env_smokestack entities
sig_perf_squad_escort_optimize "1" // Mod: improve squad escort performance by reducing update frequency
sig_creators_custom_item "1" // Enable fallback to creators custom item
sig_pop_ecattr_extensions "1" // Mod: enable extended KV in EventChangeAttributes
sig_pop_eventpopfile_improvements "1" // Mod: make EventPopfile work regardless of holiday; set tf_forced_holiday based on EventPopfile; disable zombie souls for sentry busters
sig_always_enable_conditional "1"
sig_pop_pointtemplate "1" // Mod: Enable point template logic
sig_pop_mission_extensions "1" // Mod: enable extended KV in CMissionPopulator::Parse
sig_mvm_print_parse_errors "0" // Print mission parse errors in console
sig_pop_popmgr_extensions "1" // Mod: enable extended KV in CPopulationManager::Parse
sig_pop_tank_extensions "1" // Mod: enable extended KV in CTankSpawner::Parse
sig_pop_tfbot_extensions "1" // Mod: enable extended KV in CTFBotSpawner::Parse
sig_pop_wave_extensions "1" // Mod: enable extended KV in CWave::Parse
sig_pop_wavespawn_extensions "1" // Mod: enable extended KV in CWaveSpawnPopulator::Parse
sig_pop_extattr_alwaysfireweaponalt "1" // Extended bot attr: AlwaysFireWeaponAlt
sig_pop_extattr_ignoretargets "1" // Extended bot attr: IgnoreTargets
sig_pop_extattr_parse "1" // Mod: enable parsing of mod-specific extended bot attributes in MvM pop files
sig_pop_extattr_targetstickies "1" // Extended bot attr: TargetStickies
sig_robot_spawn_protection_fix "1" // Mod: make robot spawn protection only involve TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED
sig_robot_spawn_setname "1" // Mod: use SetPlayerName instead of cl_name in CTFBotSpawner::Spawn
sig_robot_ticklish "1" // Mod: allow robots to be tickled (e.g. by the Holiday Punch)
sig_sound_suppress_giant_sentrybuster "1" // Mod: suppress TLK_MVM_GIANT_CALLOUT voice response when a sentry buster spawns
sig_sound_suppress_medicbot_shield "1" // Mod: suppress TLK_MEDIC_HEAL_SHIELD voice response when a bot activates the medigun shield
sig_sound_unused_credits "1" // Mod: enable unused TLK_MVM_ENCOURAGE_MONEY voice response when picking up credits
sig_sound_unused_sapper "1" // Mod: enable unused TLK_MVM_SAPPED_ROBOT voice response when sapping a robot (instead of TLK_STUNNED_TARGET)
sig_sound_tele_activate "1" // Mod: enable the engiebot teleporter activation sound effect
sig_tank_gunslinger_combo "1" // Tank: enable gunslinger 3-punch combo functionality
sig_util_client_cmds "1" // Utility: enable client cheat commands
sig_util_make_item "1" // Utility: enable sig_makeitem_* client commands
sig_util_overlay_send_stats_interval "1.000000" // Interval at which to show statistics
6 changes: 0 additions & 6 deletions gamedata/sigsegv/tfbot_behavior.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,6 @@
type "sym"
sym "_ZN21CTFBotTacticalMonitor15OnCommandStringEP6CTFBotPKc"
}
"CTFBotTacticalMonitor::ShouldOpportunisticallyTeleport"
{
type "sym"
sym "_ZNK21CTFBotTacticalMonitor31ShouldOpportunisticallyTeleportEP6CTFBot"
}

}
}
}
Expand Down

0 comments on commit 8b97fb3

Please sign in to comment.