Repository navigation
Expand file tree
/
Copy pathmvm_bigrock_sigdemo.pop
More file actions
3847 lines (3318 loc) · 140 KB
/
Copy pathmvm_bigrock_sigdemo.pop
File metadata and controls
3847 lines (3318 loc) · 140 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#base robot_giant.pop
#base robot_standard.pop
WaveSchedule
{
//If you want to lookup custom item/character attributes, scroll to the bottom of the file
StartingCurrency 1200
RespawnWaveTime 1
FixedRespawnWaveTime 1
CanBotsAttackWhileInSpawnRoom no
//////////////////////////
// Player options //
//////////////////////////
NoReanimators 1 [$SIGSEGV] //Disable reanimators
NoMvMDeathTune 1 [$SIGSEGV] //Disable distinctive sound played when a player is killed
MaxSpectators 5 [$SIGSEGV] // Set max spectator count (default: infinite)
MaxRedPlayers 6 [$SIGSEGV] // Override max red player count (default: 6)
GrapplingHook 1 [$SIGSEGV] //Enables grappling hook for a mission
//MedievalMode 1 [$SIGSEGV] //Players can only use melee weapons. Bots are not weapon restricted
BunnyHop 1 [$SIGSEGV] // Allow bunnyhopping. 1 enables auto bhop. 2 disables auto bhop (default: 0)
AllowMultipleSappers 1 [$SIGSEGV] // Allow spies to place multiple active sappers (default: 0)
NoJoinMidwave 1 [$SIGSEGV] // If set to 1, players that joined the server midwave cannot spawn, unless they buyback (default: 0)
BurnTimeFasterBurn 1 [$SIGSEGV] //For players, burn time bonus increases afterburn damage frequency instead of duration (default: 1)
AllowBombBuffsForPlayerCarriers 1 [$SIGSEGV] // Allow bomb buffs for player bomb carriers (default: 0)
AllowCivilianClass 1 [$SIGSEGV] // Allow selection of civilian class via random class or join_class civilian command. 2 to require join_class civilian (default: 0)
LoseTime 5 [$SIGSEGV] // How long the lose duration is in seconds (default: 5)
PlayerMiniBossMinRespawnTime 30 [$SIGSEGV] // Minimum respawn time for players with "is miniboss" attribute. -1 for default respawn times (default: -1)
//////////////////////////
// Credits options //
//////////////////////////
//DisableUpgradeStations 1 [$SIGSEGV] //Disable upgrade station
RespecEnabled 0 [$SIGSEGV] //Set to 0 to disable refunds
RespecLimit 1 [$SIGSEGV] //How many times the player can use refunds
BonusRatioHalf 0.75 [$SIGSEGV] //The ratio of collected cash required to be awarded 50 bonus credits. (default: 0.95)
BonusRatioFull 0.8 [$SIGSEGV] //The ratio of collected cash required to be awarded 100 bonus credits. (default: 1)
FixedBuybacks 1 [$SIGSEGV] //If set, the player can only use a number of free buybacks, as specified in BuybacksPerWave
BuybacksPerWave 6 [$SIGSEGV] //How many buybacks can a player use, when FixedBuybacks is set to 1 (default: 0)
DeathPenalty 100 [$SIGSEGV] //Player will lose this many credits after dying
ForceRedMoney 1 [$SIGSEGV] // Force drop red money (default: 0)
NoCreditsVelocity 1 [$SIGSEGV] // If set credits spawn with no velocity (default: 0)
UpgradeStationKeepWeapons 1 [$SIGSEGV] // Prevent upgrading from changing weapons to current loadout items (default: 0)
CustomUpgradesFile "mvm_upgrades_sigsegv_extra_v19.txt" [$SIGSEGV] //Custom upgrades file. File must be named mvm_upgrades_x.txt, then send to the server
// ExtendedUpgradesOnly 1 [$SIGSEGV] // Do not display regular upgrade menu, only show extended upgrades (default: 0)
AllowUpgradesForUnintendedClassWeapons 1 [$SIGSEGV] // Allow upgrading weapons given to unintended class (default: 1)
//////////////////////////
// Robot options //
//////////////////////////
// Many of those also applies to players on BLU team
SniperHideLasers 1 [$SIGSEGV] //If set, snipers will not display lasers when aiming
SentryBusterFriendlyFire 0 [$SIGSEGV] //If set to 0, buster will not damage robots (default: 1)
BotPushaway 0 [$SIGSEGV] //Should bots push each other away (default: 1)
AllowBotExtraSlots 1 [$SIGSEGV] // If set to value:
// 0 - Default
// 1 - On servers with -unrestricted_maxplayers, sets player limit to maximum if not set already (this is 94 after excluding defenders)
// 2 - On servers with sig_etc_extra_player_slots 1, sets player limit up to 248 after exluding defenders. Bots on extra slots may experience visual glitches. Bots will prefer normal slots by default unless the TFBot has the PreferExtraSlots 1 key. Recommended to set AutoWeaponStrip RemoveBotExpressions
ExtraBotSlotsNoDeathcam 1 [$SIGSEGV] // With AllowBotExtraSlots 2, If bots in extra slots kill a player, the bot name in deathcam with display as ERRORNAME. If you don't like that you can turn deathcam off (default: 1)
ExtraBotSlotsReservedNormalSlotCount 8 [$SIGSEGV] // With AllowBotExtraSlots 2, If the Robot and human limit combined is above 100, reserve this many normal slots for giants and preferred bots. You can add PreferNormalSlots 1 to TFBot to make the robot use the reserved slot (default: 8)
RobotLimit 18 [$SIGSEGV] //Sets a robot limit. You can increase or decrease it, but increasing it will reduce max spectator and player count (you need to set MaxSpectators below 5). Without AllowBotExtraSlots, 94 (on -unrestricted_maxplayers servers, 26 otherwise) is maximum value to keep 6 players active (default: 22)
EnableDominations 1 [$SIGSEGV] //Should enable player to bot dominations
MedigunShieldDamage 1 [$SIGSEGV] //If set to 1, bot medigun shields will damage players. Use "dmg penalty vs players" attribute to control damage dealt (default: 0)
SendBotsToSpectatorImmediately 1 [$SIGSEGV] //Should the bots be transferred to spectator team immediately after dying. Use this if your mission consists of lots of easy to kill enemies (default: 0)
StandableHeads 1 [$SIGSEGV] //If set, robots will not push the players of their heads (default: 0)
BotsRandomCrit 1 [$SIGSEGV] //If set, blue robots and players will be able to deal random critical damage. Use "crit mod disabled" weapon attribute to control crit chance (default: 0) AimTrackingIntervalMultiplier 3 [$SIGSEGV] // Scale of robot aim tracking interval (default: 1)
SniperAllowHeadshots 1 [$SIGSEGV] // If set, bot snipers can headshot (and amby spy) (default: 0)
ImprovedAirblast 1 [$SIGSEGV] // If set, bot pyros can deflect arrows grenades and stickybombs (default: 0)
NoSapUnownedBuildings 1 [$SIGSEGV] // If set, spies will not target unowned buildings (default: 0)
DisplayRobotDeathNotice 1 [$SIGSEGV] // If set, regular robot death is mentioned in the kill feed (default: 0)
FlagCarrierMovementPenalty 0.4 [$SIGSEGV] // Overrides flag carrier movement penalty (default: 0.5)
BotTeleportUberDuration 2 [$SIGSEGV] // How long should uber last for robots exiting engineer bot teleporter (default: 5)
AllowFlagCarrierToFight 1 [$SIGSEGV] // Allow bomb carrier to fight (default: 1)
FlagEscortCountOffset 5 [$SIGSEGV] // Allow for this many additional flag escorts (default: 0)
StuckTimeMultiplier 1 [$SIGSEGV] // Multiplier of how fast the bot detects stuck. 3 means bot detect stuck 3 times faster than normal (staying for 4s in 100hu area) (default: 1)
EngineerPushRange 40 [$SIGSEGV] // Any value other than 0 changes Engineer bot push range when building (defualt: 0)
MinibossSentrySingleKill 1 [$SIGSEGV] // If set to 1, minibosses count as single kill for the sentry (default: 0)
NoRedBotsRandomCrit 1 [$SIGSEGV] //If set, red robots will not be able to deal random critical damage. (default: 0)
NoRedSniperBotHeadshots 1 [$SIGSEGV] // If set, red bot snipers cannot headshot (and amby spy) (default: 0)
SentryHintBombForwardRange 0 [$SIGSEGV] // How far in front of the bomb the engineer can teleport in (default: 0)
SentryHintBombBackwardRange 3000 [$SIGSEGV] // How far behind the bomb the engineer can teleport in (default: 3000)
SentryHintMinDistanceFromBomb 1300 [$SIGSEGV] // How far the engineer spot must be behind the bomb (default: 1300)
DefaultMiniBossScale 1.6 [$SIGSEGV] // Default Giant Bot scale (default: 1.75)
// CustomNavFile "mvm_bigrock_somecustomnav" [$SIGSEGV] // Custom nav file name
AllowBotsSapPlayers 1 [$SIGSEGV] // Allow bots to sap players (default: 0)
//////////////////////////
// Weapon Options //
//////////////////////////
SandmanStun 0 [$SIGSEGV] //Should the sandman ball stun players. 1 reverts the pre Jungle Inferno stun (default: 0)
ConchHealthOnHit 0.77 [$SIGSEGV] // Health on hit percentage for conch (default: 0.35)
MarkedForDeathLifetime 1 [$SIGSEGV] // Marked for death duration (default: 15)
VacNumCharges 16 [$SIGSEGV] // Number of charges for Vaccinator (default: 4)
DoubleDonkWindow 99 [$SIGSEGV] // Max time for double donk to register (default: 0.5)
ConchSpeedBoost 10 [$SIGSEGV] // Speed boost provided by the Conch, limited to 40% total speed increase (default: 105)
StealthDamageReduction 0.1 [$SIGSEGV] // Damage reduction provided by invis watch (default: 0.8)
HealOnKillOverhealMelee 1 [$SIGSEGV] // Heal on kill with melee weapons overheal (default: 1)
UseOriginalAnimsForUnintendedClassWeapons 1 [$SIGSEGV] // Use original weapon animations when given to unintended class (default: 0)
//////////////////////////
// BLU Players Options //
//////////////////////////
// BLU players also are affected by BLU robot options
AllowJoinTeamBlue 1 [$SIGSEGV] //If it is possible to join team blue (with 'jointeam blue' client command unless forced)
AllowJoinTeamBlueMax 4 [$SIGSEGV] //How many players can join the blue team
HumansMustJoinTeam blue [$SIGSEGV] //Set to blue to force players join the blu team
ReverseWinConditions 1 [$SIGSEGV] //Player team wins if bots deliver the bomb
EnemyTeamForReverse red [$SIGSEGV] //Enemy team for reverse win condition
RespawnWaveTimeBlue 5 [$SIGSEGV]
FixedRespawnWaveTimeBlue 1 [$SIGSEGV]
SetCreditTeam 3 [$SIGSEGV] //Sets which team can pickup money. Set to 3 to allow blu team to collect money instead. Setting this also allows bots to collect money
BluHumanFlagCapture 1 [$SIGSEGV] //Can blu humans capture the flag
BluHumanFlagPickup 1 [$SIGSEGV] //Can blu humans pickup flags
BluHumanInfiniteAmmo 0 [$SIGSEGV] //Enable infinite ammo for blu humans (default: 1)
BluHumanInfiniteCloak 1 [$SIGSEGV] //Enable infinite cloak for blu humans (default: 1)
BluHumanTeleportOnSpawn 1 [$SIGSEGV] // Should players get teleported to engineer bot teleport on spawn (default: 0)
BluHumanBotTeleporter 1 [$SIGSEGV] // Should player teleporters teleport players and bots on spawn (default: 0)
AllowBluPlayerReanimators 1 [$SIGSEGV] // Allow reanimators for BLU players (default: 0)
RemoveBluVelocityLimit 1 [$SIGSEGV] // Remove 1000 hu velocity limit for BLU team (default: 0)
BluHumanSpawnNoShoot 1 [$SIGSEGV] // BLU players cannot shoot while in spawn (default: 1)
BluHumanSpawnProtection 1 [$SIGSEGV] // BLU players are invincible in spawn (default: 1)
NoBluHumanFootsteps 1 [$SIGSEGV] // Disables robot footsteps for BLU humans (default: 0)
BotsUsePlayerTeleporters 0 [$SIGSEGV] // Should bots use player teleporter entrances (default: 1)
//////////////////////////
// Halloween options //
//////////////////////////
ForceHoliday 2 [$SIGSEGV] //Enforces Halloween mode, but does not enable wave 666 and zombie bots
BotsDropSpells 1 [$SIGSEGV] //If set, bots will drop spells and enables spell indicator on hud
SpellsEnabled 1 [$SIGSEGV] //If set, bots will drop spells and enables spell indicator on hud
GiantsDropRareSpells 1 [$SIGSEGV] //If set, giants will drop rare spells rather than common
SpellDropRateCommon 0.5 [$SIGSEGV] //Drop chance for common spell books, from 0 to 1
SpellDropRateGiant 0.5 [$SIGSEGV] //Drop chance for rare spell books, from 0 to 1
SpellDropForBotsInTeam Blue [$SIGSEGV] // When set, drop spells only if bots are from Red/Blue team
NoThrillerTaunt 1 [$SIGSEGV] // No thriller taunt in halloween (default: 0)
NoCritPumpkin 1 [$SIGSEGV] // No crit pumpkin on player death drop in halloween (default: 0)
NoSkeletonSplit 1 [$SIGSEGV] // Do not split medium skeletons after death (default: 0)
MaxActiveSkeletons 999 [$SIGSEGV] // Max active skeletons at once (default: 30)
FastNPCUpdate 1 [$SIGSEGV] // If set to 1, NPCs such as halloween bosses will update every tick (default: 0)
ZombiesNoWave666 1 [$SIGSEGV] // If set to 1, the game will not display wave 666 when EventPopFile is set (default: 0)
NoHolidayPickups 1 [$SIGSEGV] // If set, pickups will remain with default models (default: 0)
HHHNoControlPointLogic 1 [$SIGSEGV] // Disable HHH going to the contested point (default: 0)
HHHHealthPerPlayer 200 [$SIGSEGV] // (default: 200)
HHHHealthBase 3000 [$SIGSEGV] // (default: 3000)
HHHAttackRange 200 [$SIGSEGV] // (default: 200)
HHHChaseRange 1500 [$SIGSEGV] // (default: 1500)
HHHTerrifyRange 500 [$SIGSEGV] // (default: 500)
HHHQuitRange 2000 [$SIGSEGV] // (default: 2000)
HHHChaseDuration 30 [$SIGSEGV] // (default: 30)
HHHNonSolidToPlayers 1 [$SIGSEGV] // (default: 0)
//////////////////////////
// Visual Options //
//////////////////////////
BluPlayersAreRobots 1 [$SIGSEGV] //If set, blu players use robot models
RedPlayersAreRobots 1 [$SIGSEGV] //If set, red players use robot models
BotsAreHumans 1 [$SIGSEGV] //Bots use human models by default. If set to 1, bots can't be sapped, if set to 2, they can
PlayerRobotsUsePlayerAnimation 1 [$SIGSEGV] //Use player animations instead of robot ones
ForceRobotBleed 1 [$SIGSEGV] // If set to 1, robots bleed (default: 0)
BotHumansHaveRobotVoice 1 [$SIGSEGV] // If set to 1, bots with human models have robot voice (default: 0)
BotHumansHaveEyeGlow 1 [$SIGSEGV] // If set to 1, bots with human models have eye glow (default: 0)
BodyPartScaleSpeed 2 [$SIGSEGV] //How fast do "head scale" "torso scale" "hand scale" attributes scale the bot body parts (default: 1)
NoRomevisionCosmetics 1 [$SIGSEGV] //If set, robots will not wear romevision cosmetics unless forced to (default: 0)
// CustomEyeParticle "eye_powerup_green_lvl_4" [$SIGSEGV] // Custom eye glow particle (default: "")
//////////////////////////
// Misc Options //
//////////////////////////
RemoveGrapplingHooks 1 [$SIGSEGV] //Grappling hooks are destroyed after specified amount of seconds
RestoreNegativeDamageHealing 1 [$SIGSEGV] // Allow negative damage to heal (default: 1)
RestoreNegativeDamageOverheal 1 [$SIGSEGV] // Allow negative damage to overheal (default: 1)
Accelerate 100 [$SIGSEGV] // Acceleration rate (default: 10)
AirAccelerate 100 [$SIGSEGV] // Air Acceleration (turning) rate (default: 10)
TurboPhysics 0 [$SIGSEGV] // Turn off to allow players interacting with physics objects like vehicles (default: 1)
MaxEntitySpeed 10000 [$SIGSEGV] // Max entity speed limit override (default: 3500)
MaxSpeedLimit 521 [$SIGSEGV] // Max speed limit override. Values above 520 enchance giant scout movement. Values above 521 disable jumping on stuck (default: 520)
TextPrintTime 7 [$SIGSEGV] // How fast a line from the wave description is displayed in the middle of the screen. Use 0 to disable (default: 4)
NoMissionInfo 0 [$SIGSEGV] // Disable !missioninfo command (default: 0)
WaveStartCountdown 9 [$SIGSEGV] // Wave start countdown duration once all players are ready. Values below 10 disable announcer, values below 9 disable starting music (default: 10)
NPCLagCompensation 1 [$SIGSEGV] // Lag compensate zombies, bosses and tanks (default: 0)
//////////////////////////
// Fixes //
//////////////////////////
FixSetCustomModelInput 1 [$SIGSEGV] //Fixes lack of player animations after firing setcustommodel input on player. TF2 update added SetCustomModelWithClassAnimations which uses animations automatically
FixHuntsmanDamageBonus 1 [$SIGSEGV] // Set to 1 to use old damage calculation for huntsman robots (default: 1)
FixWavespawnReserveSlotsOnDisabledSpawnbot 0 [$SIGSEGV] // Fix wavespawn reserving slots even when spawnbot is disabled (default: 0)
//////////////////////////
// Optimizations //
//////////////////////////
FastEntityNameLookup 1 [$SIGSEGV] // Decreases entity lookup time 2-4 times. Set to 0 if you are reading m_iName or m_iClassname from datamaps directly and expecting uppercase letters (with $getdata or $setdata input for example) (default: 1)
FastWholeMapTriggers 1 [$SIGSEGV] // Optimize big triggers (larger than 5000 units in all directions) spawned by point templates, by automatically assuming all entities hit the trigger. Might cause issues, but in that case you should use an alternative method anyway (default: 1)
// FastWholeMapBuildInTriggersMinRadius 4500 [$SIGSEGV] // Same as FastWholeMapTriggers, except it applies to all triggers including map made. The trigger volume must be larger than a cube with specified size to be considered "whole map" trigger. It might improve performance of some map gimmics but usually does barely anyting (default: 0)
AutoWeaponStrip 1 [$SIGSEGV] // Automatically strip stock weapons without attributes in slots that are not used (default: 0)
RemoveUnusedOffhandViewmodel 1 [$SIGSEGV] // Remove unused offhand viewmodel on other class than Spy (default: 1)
RemoveBotExpressions 1 [$SIGSEGV] // Remove expressions for bots (like yelling when firing minigun). Reduces entity count by 1 per bot (default: 0)
//////////////////////////
// Load resources //
//////////////////////////
PrecacheModel "models/props_soho/bookstand002.mdl" [$SIGSEGV] //Precaches model. This might be required in some circumstances, such as "custom projectile model" attribute, or prop with custom model
PrecacheSound "GoldPipe_MissionIntro.mp3" [$SIGSEGV]
PrecacheSound "weapons/rocket_directhit_shoot_crit.wav" [$SIGSEGV] //If your mission contains custom sounds that are used by pointtemplate entities or sound overrides, you must include those sounds with precachesound
PrecacheScriptSound "Weapon_RPG.Single" [$SIGSEGV] //Sound script version of precache sound
PrecacheDecal "decals/tscorch" [$SIGSEGV] // Precache decal file. Not sure if there is a use for this
PrecacheGeneric "materials/sprites/fire_res.vmt" [$SIGSEGV] // Precache generic file. Use this if you want the file to be downloaded on clients
PrecacheParticle "AntlionGib" [$SIGSEGV]
PrecacheSentenceFile "scripts/somethingsentencefile.txt" [$SIGSEGV] // Sentences file, used by HL2 but not by TF2
DisableSound "Weapon_Shotgun.Single" [$SIGSEGV] //Disable sound. Note that client side sounds (which include player's own weapon) cannot be disabled. Must use sound script unless there is only a raw version of the sound
DisableSound "Announcer.MVM_Wave_End" [$SIGSEGV]
DisableSound "Announcer.MVM_Bonus" [$SIGSEGV]
// Define custom soundscripts
// Overrides persist until next map load, use OverrideSounds instead
CustomScriptSounds [$SIGSEGV]
{
"Dropship" // Example
{
"channel" "CHAN_STATIC"
"volume" "1"
"pitch" "100"
"soundlevel" "SNDLVL_150dB"
"wave" ")npc/combine_gunship/dropship_engine_distant_loop1.wav"
}
}
// Load a file that adds or overrides existing (server side sounds only) soundscripts.
// Overrides persist until next map load, use OverrideSounds instead
// If you made any changes to the file, you need to reload the map for it to take effect
CustomScriptSoundFile "scripts/sigsegv_sound_overrides.txt" [$SIGSEGV]
///////////////////////
// Multiline options //
///////////////////////
//////////////
// Sounds //
//////////////
OverrideSounds [$SIGSEGV] //Replace sounds. Only server side sounds can be overridden. Must use sound script unless there is only a raw version of the sound.
{
"Announcer.MVM_Get_To_Upgrade" "GoldPipe_MissionIntro.mp3"
"Weapon_RPG.Single" "GoldPipe_MissionIntro.mp3"
}
//////////////
// Items //
//////////////
//ItemWhitelist //Only allows to use specified weapons below
//{
// Classname "tf_weapon_sniperrifle"
// Name "TF_WEAPON_MINIGUN"
// DefIndex 8 //Bonesaw
//}
ItemBlacklist [$SIGSEGV] //Disallows using specified weapons below
{
Classname "tf_weapon_sniperrifle"
Name "TF_WEAPON_MINIGUN"
Name "The Force-a-Nature"
// SimilarToItem "TF_WEAPON_FISTS" // Matches the item and all functionally identical items
DefIndex 8 //Bonesaw
// ItemSlot "secondary" // Items in secondary slot
}
ItemAttributes [$SIGSEGV] //Adds attributes to specified item given to players
{
ItemName "TF_WEAPON_ROCKETLAUNCHER"
"reload time decreased" 0.25
}
ItemAttributes [$SIGSEGV] //Adds attributes to specified item given to players
{
SimilarToItem "TF_WEAPON_CLUB"
"fire rate bonus" 1.8
}
ItemAttributes [$SIGSEGV] //Adds attributes to specified item given to players
{
Classname "tf_weapon_grenadelauncher" // you can specify classname instead of itemname
"attach particle effect" 13 //burning flames
"fire rate bonus" 0.5
}
CustomWeapon [$SIGSEGV] //Allows you to use an alias for items with custom attributes
{
"My Custom Item" // The name you would use in Item key in TFBot
{
OriginalItemName "The Iron Bomber" // The item used as a base
"fire rate bonus" 0.1 // Attributes
"damage bonus" 4
"custom item model" "models/workshop/weapons/c_models/c_blackbox/c_blackbox_xmas.mdl"
"custom weapon fire sound" "Weapon_Soda_Popper.Single"
}
"Rayslick" // The name you would use in Item key in TFBot
{
OriginalItemName "The Conscientious Objector" // The item used as a base
"custom texture lo" "4.96704961615804963e-32n"
"custom texture hi" "8.23836940293570411e-31n"
}
}
ForceItem "The Breakneck Baggies" [$SIGSEGV] // Force an item to all applicable classes
ForceItem "Particulate Protector" [$SIGSEGV] // Force an item to all applicable classes
ForceItem [$SIGSEGV] // Force items to classes even if the item is not intended for the class
{
All
{
Item "Rayslick"
// Advanced syntax, give grappling hook if the player has darwin's danger shield
"TF_WEAPON_GRAPPLINGHOOK"
{
Name "Darwin's Danger Shield"
}
}
Scout
{
Item "Mad Milk"
}
}
ForceItemNoRemove "The Chargin' Targe" [$SIGSEGV] // Force an item to all applicable classes, but does not remove old items in the slot.
ItemReplacement [$SIGSEGV] // Replace Items
{
"My Custom Item" // The replacement target item
{
Name "The Loch-n-Load" // The item that will be replaced
// Classname "tf_weapon_flaregun_revenge"
// DefIndex 740
}
"tw_heavybot_armor"
{
ClassName "tf_weapon_laser_pointer"
}
}
ExtraLoadoutItems [$SIGSEGV] // Extra loadout items available after typing !missionitems in chat
{
AllowEquipOutsideSpawn 1 // Allow equipping items outside spawn
Soldier // Player Class
{
Secondary "The Reserve Shooter" // Item slot and name
Primary // Extended syntax, Item slot to use
{
Item "My Custom Item" // Item name, custom weapon names are available
Cost 100 // The cost of the weapon (default: 0)
AllowedMinWave 1 //The wave at which the weapon is enabled (default: 1)
AllowedMaxWave 55 //The max wave at which the weapon is enabled (default: infinite)
AllowRefund 0 //Allow refunding of the weapon (default: 1)
// Hidden 1 //If set, this item is only accessible via $AwardExtraItem input (default: 0)
}
// Available slots:
// Primary
// Secondary
// Melee
// PDA (construction kit, disguise kit)
// PDA2 (destruction kit, watch)
// Head
// Misc
// Action (canteen)
// Misc2
}
Head "The Cat's Pajamas" // All class item
}
//////////////
// Player //
//////////////
ClassLimit [$SIGSEGV] //Limits the number of specified classes
{
Heavyweapons 0
Medic 0
Sniper 0
}
HandModelOverride [$SIGSEGV] // Overwrite first person arms models
{
Spy "models/weapons/c_models/c_sniper_arms.mdl"
Sniper "models/weapons/c_models/c_medic_arms.mdl"
}
PlayerAttributes [$SIGSEGV] //Player attributes appied for the whole mission
{
"move speed bonus" 2
//"is miniboss" 1
Soldier //Attributes limited to soldier only
{
"fire rate bonus" 2
}
"max health additive bonus" 1000
}
PlayerAddCond [$SIGSEGV] //Player conditions applied for the whole mission
{
//Index 57 //Ubercharge
}
//////////////
// Spawning //
//////////////
FlagResetTime [$SIGSEGV] //Overrides default bomb reset time
{
Name "intel" //Name of flag entity on the map
ResetTime 90
}
ExtraSpawnPoint [$SIGSEGV] //Adds spawn points on specified location
{
Name "spawnalt"
// StartDisabled 1 // If the spawn point starts disabled (Default: 0)
TeamNum 3 // 2 - Red team 3 - Robots. If you are adding spawn for reprogrammed robots, use team 3
X "323"
Y "-2505"
Z "628"
}
ExtraTankPath [$SIGSEGV] //Adds tank path to follow
{
Name "tankpath1" //name of the starting path node prefix. First tank node name would be name_1
Node "-1000 -400 700" // note XYZ coordinates. First node is the starting point
Node "-1000 400 700"
}
//////////////
// Misc //
//////////////
SpellBookNormalRoll [$SIGSEGV] // Override spell roll. The value specifies how many spell charges to give. You can duplicate spells to increase their roll chance
{
"Healing Aura" 3
"Fireball" 3
"Ball O' Bats" 2
"Healing Aura" 3
"Pumpkin MIRV" 1
"Superjump" 4
"Invisibility" 2
"Teleport" 4
"Tesla Bolt" 3
"Minify" 1
"Meteor Shower" 5
"Summon Monoculus" 1
"Summon Skeletons" 4
"Meteor Shower" 5
}
SpellBookRareRoll [$SIGSEGV] // Override spell roll. The value specifies how many spell charges to give. You can duplicate spells to increase their roll chance
{
"Fireball" 99
"Ball O' Bats" 7
"Ball O' Bats" 2
"Meteor Shower" 5
}
OverrideParticles [$SIGSEGV] //Replace particles. Only server side particles can be overridden
{
"fluidSmokeExpl_ring_mvm" "hightower_explosion"
}
//////////////
// Upgrades //
//////////////
DisallowUpgrade "fire rate bonus" [$SIGSEGV] // Disallow upgrade. You can use the position on the upgrade list instead, starting from 1
DisallowUpgrade [$SIGSEGV] //Advanced syntax
{
Upgrade "damage bonus" // Upgrade name
MaxLevel 2 // Maximum allowed level
CheckAllSlots 1 // Disallow if the player has the matching items equipped
ItemName "TF_WEAPON_ROCKETLAUNCHER" // Apply upgrade restrictions only to those items if specified
ClassName "tf_weapon_smg"
}
DisallowUpgrade [$SIGSEGV] //Advanced syntax
{
Upgrade "damage bonus hidden" // Upgrade name. In case of extended upgrades, the name of the attribute
MaxLevel 0 // Maximum allowed level
IfUpgradePresent // Other upgrades that should not be present
{
"clip size upgrade atomic" 1 // "clip size upgrade atomic" at level 1 or more blocks this upgrade
}
}
// Enables extended upgrades displayed on the left of upgrade gui as SourceMod menu. This allows for more than 8 upgrades per weapon, with custom weapon rules
ExtendedUpgrades [$SIGSEGV]
{
MaxUpgradesTier // For tiered upgrades: Specify how many upgrades can be bought per tier. (1 by default)
{
1 2 // Max 2 upgrades on tier 1
2 1 // Max 1 upgrade on tier 2
}
MinUpgradesTier // For tiered upgrades: Specify how many upgrades have to be bought to unlock next tier. (1 by default)
{
1 2 // Min 2 upgrades on tier 1 to unlock tier 2
2 1 // Min 1 upgrade on tier 2 to unlock tier 3
}
upgrade
{
// Name "+25 max health" // Custom name of the upgrade displayed on the menu. If absent, uses the attribute localized name instead
Attribute "max health additive bonus" // The attribute name
Cap 200 // Maximum amount of the attribute
Increment 25 // Attribute increment value per level
Cost 200 // Cost of the upgrade per level
PlayerUpgrade 1 // Is the upgrade a player upgrade
AllowPlayerClass Scout // Allow only specied classes if set
AllowPlayerClass Heavyweapons
AllowPlayerClass Demoman
// RequiredWeapons // The player must have these items equipped for the upgrade to work
//{
// ItemName "The Wrangler"
//}
// RequiredWeaponsString "You need wrangler equipped" // The requirement text displayed if the player does not have the required items equipped
// ForceUpgradeSlot 1 // When upgraded, upgrade weapon on this slot instead of the selected weapon. Use -1 to upgrade the player instead
// UIGroup 2 // UIGroup 2 - Canteens
// Tier 1 // Marks the upgrade as tieried. Tiered upgrades on the same level share special exclusivity rules, and one can only be bought if an upgrade of previous tier is bought beforehand
}
upgrade
{
Attribute "damage penalty"
Cap 0.5
Increment -0.25
Cost 200
Description "Damage penalty" // Additional description line
AllowedWeapons // Restricts upgrade to specified weapons
{
DealsDamage 1 // All weapons dealing damage
Classname tf_weapon_medigun // Classname of the weapon
ItemName "The Wrangler"
Slot "Melee" // Weapon slot, allowed values: Primary, Secondary, Melee, PDA, Action
}
DisallowedWeapons // Disallow those weapons
{
ItemName "The Short Circuit"
}
AllowedMinWave 3 //The wave at which the upgrade is enabled
SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
{
"fire rate bonus" -0.1
}
ShowRequirements 1 // If the upgrade should be visible in menu when it could not be applied (default: 1)
// Hidden 1 // If the upgrade should not be visible in the menu (default: 0)
Children bisonfield // Apply specified upgrade when this upgrade is applied
Children damagemastery
OnUpgrade // On upgrade output. Format: target,action,parameter,delay. If parameter is empty, the upgrade level is passed instead as parameter
{
Output "!activator,$displaytextchat,onupgrade,0"
}
OnApply // Output fired when the upgrade is being applied (the upgrade being bought, the player changing classes or weapons). Format: target,action,parameter,delay
// If parameter is empty, the upgrade level is passed instead as parameter
{
Output "!activator,$displaytextchat,onapply,0"
}
OnDowngrade // Output fired when the upgrade is being downgraded (undo upgrades or refund button). Format: target,action,parameter,delay.
//If parameter is empty, the upgrade level is passed instead as parameter
{
Output "!activator,$displaytextchat,ondowngrade,0"
}
OnRestore // Output fired when the upgrade is being restored after a failed wave. Format: target,action,parameter,delay.
//If parameter is empty, the upgrade level is passed instead as parameter, it can be 0 if no upgrades are restored
{
Output "!activator,$displaytextchat,onrestore,0"
}
}
bisonfield
{
Name "Disintegration field"
Attribute "projectile acceleration"
Cap -1500
Increment -1500
Cost 250
Description "Shoots a special projectile that deals damage over time"
AllowedWeapons //Restricts upgrade to specified weapons
{
ItemName "The Righteous Bison"
}
// RequiredUpgrade
// {
// Upgrade "damagemastery" // Name of the upgrade, as specified in the outer block
// Level 1 // Minimum level after which the upgrade becomes enabled (Default: 1)
// }
// RequiredUpgradeOr // Like RequiredUpgrade, but only one of them has to be upgraded
// {
// Upgrade "damagemastery"
// Level 1
// }
// RequiredUpgradeOr
// {
// Upgrade "fireratemastery"
// Level 1
// }
SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
{
"fire rate penalty" 3.3
"dmg penalty vs players" 1
"projectile speed decreased" -0.3
"custom projectile size" 30
}
}
damagemastery
{
Name "Damage mastery"
Attribute "damage bonus hidden"
Cap 2
Increment 1
Cost 400
Description "Doubles damage, halves fire rate"
DisallowedUpgrade
{
Upgrade fireratemastery // Name of the upgrade, as specified in the outer block
Level 1 // Minimum level after which the upgrade becomes disabled (Default: 1)
}
AllowedWeapons //Restricts upgrade to specified weapons
{
DealsDamage 1
}
SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
{
"fire rate penalty" 1
"reload time increased" 1
}
}
fireratemastery
{
Name "Fire rate mastery"
Attribute "fire rate bonus HIDDEN"
Cap 0.5
Increment -0.5
Cost 400
Description "Doubles fire rate, halves damage"
DisallowedUpgrade
{
Upgrade damagemastery
Level 1
}
AllowedWeapons //Restricts upgrade to specified weapons
{
DealsDamage 1
}
SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
{
"reload time decreased" -0.5
"damage bonus hidden" -0.5
}
}
}
/////////////////////
// Point Templates //
/////////////////////
//PointTemplate is a named set of entities, that can be spawned at any selected moment in the mission.
//Every template definition will spawn a single env_entity_maker entity with its name
//
//It is possible to spawn template entities during these events:
//Once on mission start
//On wave start
//On bot spawn
//On tank spawn
//env_entity_maker's forcespawn input (after setting template name)
//And more
//
//Keys use the internal names, visible when turning smartedit off in Hammer
//
//By default, when template is spawned with a bot/tank, the entities will be parented to the spawned bot/tank. To avoid this, add "parentname" "" as keyvalue
//Template entities are automatically destroyed when the spawner entity was killed, or the wave has ended
//Brush entites can be spawned, if keyvalues "mins" "x y z" "maxs" "x y z" are set
//
//You can use !parent as targetname, to target the spawner entity
//Tank dimensions: X (front) : 117; Y (left) : 80; Z (top) : 180
//
//Its also possible to copy the entity keyvalues from Hammer vmf file
//Alert, the used models / sounds in entities will not be downloaded unless PrecacheSound / PrecacheModel is included in waveschelude
PointTemplates [$SIGSEGV]
{
Blockade //Template name
{
NoFixup 1 //If the entity targetname is used somewhere else in the template, any additional spawn of a template will have an unique suffix added to the entity name. Use NoFixup to prevent such changes
prop_dynamic //Entity classname
{
"model" "models/props_coalmines/wood_fence_short_128.mdl" //keyvalue
"solid" "6" //Physics collision model (0- No collision, 1 - BSP, 2 - Bounding box, 3 - Oriented bounding box, 6 - VPhysics)=
"solid" "$Solid$" // Use Solid template parameter provided by SpawnTemplate
}
}
Special //Template name
{
KeepAlive 1
NoFixup 1 //If the entity targetname is used somewhere else in the template, any additional spawn of a template will have an unique suffix added to the entity name. Use NoFixup to prevent such changes
prop_dynamic //Entity classname
{
"model" "models/props_coalmines/wood_fence_short_128.mdl" //keyvalue
"offset" "0 0 0"
"solid" "6" //Physics collision model (0- No collision, 1 - BSP, 2 - Bounding box, 3 - Oriented bounding box, 6 - VPhysics)=
}
OnParentKilledOutput //kill players after the carrier was dead
{
Target "player"
Action "setforcedtauntcam"
Delay 0.00
Param 1
}
}
KillOnKill
{
OnParentKilledOutput //kill players after the carrier was dead
{
Target "player"
Action "setforcedtauntcam"
Delay 0.00
Param 1
}
}
Sentry
{
KeepAlive 1 //Dont remove entities after their spawner had been killed
OnSpawnOutput //Parent entity is the !activator. Set builder to parent entity
{
Target "sentry" //targetname of an entity added below
Action "setbuilder"
Delay 0.00
}
OnParentKilledOutput //kill players after the carrier was dead
{
Target "player"
Action "sethealth"
Delay 0.00
Param 1
}
prop_dynamic //Entity classname
{
"model" "models/props_coalmines/wood_fence_short_128.mdl" //keyvalue
"solid" "0" //Physics collision model (0- No collision, 1 - BSP, 2 - Bounding box, 3 - Oriented bounding box, 6 - VPhysics)=
}
obj_sentrygun
{
"targetname" "sentry" //Entity name. Required if the entity is going to be referenced somewhere
"origin" "0 0 0"
"teamnum" "3" // 2 - Red team, 3 - Blu team
"SolidToPlayer" "0"
}
}
SentryStack
{
obj_sentrygun
{
"targetname" "sentry1" //Entity name. Required if the entity is going to be referenced somewhere
"origin" "0 0 0"
"teamnum" "2" // 2 - Red team, 3 - Blu team
}
obj_sentrygun
{
"targetname" "sentry2" //Entity name. Required if the entity is going to be referenced somewhere
"origin" "0 0 100"
"teamnum" "2" // 2 - Red team, 3 - Blu team
}
obj_sentrygun
{
"targetname" "sentry3" //Entity name. Required if the entity is going to be referenced somewhere
"origin" "0 0 200"
"teamnum" "2" // 2 - Red team, 3 - Blu team
}
RemoveIfKilled "sentry3" // Remove all entities in template if the specified entity is killed
}
SentryGunShoot
{
obj_sentrygun
{
"SolidToPlayers" "0"
"origin" "0 0 0"
"teamnum" "3" // 2 - Red team, 3 - Blu team
}
}
Dispenser
{
OnSpawnOutput //set builder to parent entity
{
Target "dispenser"
Action "setbuilder"
Delay 0.00
}
obj_dispenser
{
"targetname" "dispenser"
"origin" "0 0 0"
"teamnum" "3"
"SolidToPlayer" "0"
}
}
WeaponMimic
{
OnSpawnOutput
{
Target "shootm"
Action "$setowner"
Param "!activator"
Delay 0.01
}
OnSpawnOutput
{
Target "shootm"
Action "FireUser1"
Delay 0.01
}
tf_point_weapon_mimic
{
"targetname" "shootm"
"origin" "100 0 0"
"speedmin" "1000"
"speedmax" "1000"
"WeaponType" "1"
"SplashRadius" "160"
"Damage" "75"
"teamnum" "2"
"OnUser1" "!self,FireOnce,,0,-1"
"OnUser1" "!self,FireUser1,,1,-1"
}
}
WeaponMimicRocket
{
OnSpawnOutput
{
Target "shoot"
Action "$setowner"
Param "!activator"
Delay 0.01
}
OnSpawnOutput
{
Target "shoot"
Action "FireUser1"
Delay 0.01
}
tf_point_weapon_mimic
{
"targetname" "shoot"
"origin" "100 0 0"
"speedmin" "1000"
"speedmax" "1000"
"WeaponType" "0"
"SplashRadius" "160"
"Damage" "75"
"teamnum" "2"
"OnUser1" "!self,FireOnce,,0,-1"
"OnUser1" "!self,FireUser1,,1,-1"
}
}
Teleporter
{
OnSpawnOutput //make teleporter non solid, otherwise the bots might get stuck on it
{
Target "tp"
Action "addoutput"
Param "solid 0"
Delay 5
}
OnSpawnOutput //set builder to parent entity
{
Target "tp"
Action "setbuilder"
Delay 0.00
}
obj_teleporter
{
//"model" "models/buildables/teleporter_light.mdl"
"targetname" "tp"
"origin" "0 0 0"
"teamnum" "3"
//"skin" "1"
//"health" "220"
"TeleportWhere" "spawnbot"
"solid" "0"
"SolidToPlayer" "0"
//"DefaultAnim" "running"
}
}
SentryTank
{
OnSpawnOutput //make teleporter non solid, otherwise the bots might get stuck on it
{
Target "tp"
Action "addoutput"
Param "solid 0"
Delay 5
}
obj_sentrygun
{
"targetname" "l"
"origin" "100 70 80"
"SolidToPlayer" "0"
"teamnum" "2"
}
obj_sentrygun
{
"targetname" "l"
"origin" "-110 70 60"
"SolidToPlayer" "0"
"teamnum" "2"
}
obj_sentrygun
{
"targetname" "l"
"origin" "100 -70 80"
"SolidToPlayer" "0"
"teamnum" "2"
}
obj_sentrygun
{
"targetname" "l"
"origin" "-110 -70 60"
"SolidToPlayer" "0"
"teamnum" "2"
}
trigger_multiple
{
"targetname" "ffff"
"mins" "-200 -100 0" //Trigger bounds, relative to origin
"maxs" "200 100 230"
"spawnflags" "1" //Target players. setting this to 64 will target most entities
"onstarttouch" "!activator,BleedPlayer,5,0,0" //When a player touches the trigger (tank), make him bleed
}
trigger_ignite //ignites the player inside the trigger
{
"targetname" "ffff"
"mins" "-200 -100 0" //Trigger bounds, relative to origin
"maxs" "200 100 230"
"spawnflags" "1"
"burn_duration" "5"
"damage_percent_per_second" "10"
}
}
RandomColors //Template name
{
logic_case //Entity classname
{
"targetname" "random_color_case"
"oncase01" "!activator,Color,255 0 0,0,-1"
"oncase02" "!activator,Color,0 255 0,0,-1"
"oncase03" "!activator,Color,0 0 255,0,-1"
"oncase04" "!activator,Color,0 255 255,0,-1"
"oncase05" "!activator,Color,255 0 255,0,-1"
"oncase06" "!activator,Color,255 255 0,0,-1"
}
}
Jarate
{
KeepAlive 1
tf_projectile_jar
{
"origin" "0 0 0"
"teamnum" "3" // 2 - Red team, 3 - Blu team
"teamnum" "$Team$" // Use Team template parameter provided by SpawnTemplate
}
}
}
SpawnTemplate [$SIGSEGV] //Spawn template once the mission loads
{
Name "Blockade"
Origin "1050 4410 472" //Position where to spawn the template
Angles "0 85 0" //Rotation
Params // Parameters passed to the template
{
Solid "6"
}
}
SpawnTemplate "RandomColors" [$SIGSEGV]
SpawnTemplate [$SIGSEGV] //Spawn template once the mission loads
{
Name "Blockade"
Origin "1050 4410 472" //Position where to spawn the template
Angles "0 85 0" //Rotation
}