Some game events, such as player_hurt, have a parameter for "weaponid" but there's no enumerator in the game that tells you what weapon is what.
This file adds the enumerator eWeaponId, which contains the internal weapon IDs that the game uses, ripped straight from the game.
By default, the...
So i'm just starting out with vscript, and i was following TopHATTwaffle's introduction to vscript, but i keep getting these erros. Can someone help me with this?
As i tried to recreate the HelloWorld print i started getting this error as i join the map:
Vscript executing script...
Would it be possible to use VScript to make a mod that can be applied to any map, either at runtime or at compile time (just-in-time)? Sourcemod looks quite limited and I was searching for all possible ways of making mods in TF2.
Welcome to a modified version of my TFConnect pass time map now with a new vscript flavor.
Here I removed every hitscan weapon (besides sentries) and replace the mercs arsenal with something based around projectiles and knockback, and made it so that mercs take significantly less ranged damage...
With permission from the Open Fortress team, as well as MacD11 and Suomimies55 (creators of the map) this is the first alpha of Open Deathmatch - a Deathmatch gamemode based on Open Fortress.
The vscript codebase was made by me within the 72 hours of the jam, as well as some asset adjustments...
Spooky replacement for the robot destruction robots!
Pack includes:
RD Cultists with 4 different options (regular, candle-topped, masked, and unique long Mann +versions without spell casting animations)
RD Ammo replacement, replacing the ammo with books
2 Different Intel/Core replacements...
I want to add a cart section to a map I'm working on and it's really awful if players can't suicide to escape the zone if they hit a hitch or just want to respawn.
Even if I have to go through vscript I'd like to make it possible. Even sm_slay doesn't kill players in them. Addcond 82 to see what...
DESCRIPTION
This variation of the map Standin has a unique ruleset. You need to capture the control points to collect points, which are gained for every second a control point is under your team's control. The first team to reach the target wins. This map uses VScript for logic and has a custom...
The point of this script is to be a base for game modes based on arena
by default it acts like arena without the control point
HOW TO USE:
-unzip the file to Team Fortress 2/tf/custom
-in hammer add a tf_logic_player_destruction
-set the Entity Scripts keyvalue to arenavscript.nut
-set the...
A new tdm map cause particle was hard to iterate on, and this one should be better scaled
thanks to @SteveN for helping find errors and thinking of a name
An edit of my other script: No Crumpkins.
This script assigns a custom model to Crit Pumpkins (aka Crumpkins) immediately as they spawn.
To make it work on your Halloween map, put this script into scripts/vscripts/ folder and create a logic_script entity with Entity Script set to...
A vscript mvm experiment. In short; I recreated the spawning mechanics behind left for dead's versus mode but with units designed after payday units. The map itself is also borrowed from payday.
Notice: The current build is designed with tf_mvm_defenders_team_size and...
A script that removes the team leader mechanic from player destruction only use if you really need it
How to use:
put noteamleader.nut in tf/scripts/vscripts
in hammer put noteamleader.nut in the Entity Scripts keyvalue and put think in the Script think function keyvalue of the...
You might also be interested in Crumpkin Model Replacer
Tired of the crit-granting pumpkin bags which drop from dead players during Halloween?
This script deletes Crit Pumpkins (aka Crumpkins) immediately as they spawn before anyone can pick them up!
To make it work on your Halloween map, put...
If this is your first time logging in after the migration (Feb 8, 2022), you must reset your password to log in. Follow this guide if you're having trouble