This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stddef.h> | |
typedef int i32; | |
typedef unsigned int u32; | |
typedef long long i64; | |
typedef unsigned long long u64; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shit script I cobbled together in an hour | |
import os | |
import glob | |
import shutil | |
# vanilla files coop pr uploads | |
changed_files = [ | |
"sp_crashsite_script.ent", | |
"sp_s2s_script.ent", | |
"_event.gnut", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// thanks to The peepeepoopoo man#3301 | |
// basically ripped out of _arc_cannon.nut | |
void function CreateWeaponTracer( vector startPos, vector endPos, float lifeDuration, asset tracerAsset = $"P_wpn_tracer" ) | |
{ | |
entity cpEnd = CreateEntity( "info_placement_helper" ) | |
cpEnd.SetOrigin( endPos ) | |
SetTargetName( cpEnd, UniqueString( "arc_cannon_beam_cpEnd" ) ) | |
DispatchSpawn( cpEnd ) | |
entity tracer = CreateEntity( "info_particle_system" ) |