Skip to content

Instantly share code, notes, and snippets.

View shiversoftdev's full-sized avatar
🏠
Working from home

serious shiversoftdev

🏠
Working from home
View GitHub Profile
@shiversoftdev
shiversoftdev / vmcopy.py
Created October 29, 2023 04:49
easy copy of bones for viewmodel stuff
import bpy
context = bpy.context
scene = context.scene
ob = context.selected_objects[0]
ob1 = context.selected_objects[1]
for pb in ob.pose.bones:
# convert from pose to world
for pb2 in ob1.pose.bones:
@shiversoftdev
shiversoftdev / export_xmodel.py
Last active October 24, 2023 23:06
slightly modified from betterblendercod so I can deal with the stupid weight limit on bones, and does some auto-cosmetic marking
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@shiversoftdev
shiversoftdev / tutorial.md
Last active April 25, 2024 23:03
Text tutorial on installing compiler

Follow all steps closely

  1. Install Visual Studio Code
  2. Install the compiler (download and run installer, then click install compiler)
  3. Open Visual Studio Code and click File->Preferences->Keyboard Shortcuts
  4. Create a binding for "Run Test Task." This is your injection binding.
  5. Open any project made for the compiler by opening the .code-workspace file
  6. If you want to make a project from scratch, open the installer utility in C:\T7Compiler\t7c_installer.exe and click create default project

Additional Information

@shiversoftdev
shiversoftdev / core_frontend_fx.gsc
Created September 13, 2022 20:50
gsc main menu thing
#using scripts\codescripts\struct;
#using scripts\shared\ai\animation_selector_table_evaluators;
#using scripts\shared\ai\archetype_cover_utility;
#using scripts\shared\ai\archetype_damage_effects;
#using scripts\shared\ai\archetype_locomotion_utility;
#using scripts\shared\ai\archetype_mocomps_utility;
#using scripts\shared\ai\archetype_utility;
#using scripts\shared\ai\behavior_state_machine_planners_utility;
#using scripts\shared\ai\zombie;
#using scripts\shared\animation_shared;
#! /bin/bash
# Limited use case. Automatically binds to the proper NAT network with our dns server
# via shiversoftdev#7639 and RainbowDynamix#5809
systemctl stop NetworkManager
systemctl disable NetworkManager
# Replace the static line and force DHCP for eth0
old="$(cat /etc/network/interfaces | grep "iface eth0")"
new="iface eth0 inet dhcp"