by me (Caligari87)
Hail Rachael, full of grace,
Randi is with thee.
Blessed art thou amongst Doomers,
and blessed is the fruit of thy labors, QZDoom.
Holy Rachael, Admin of ZDoom,
pray for us trolls,
now and at the hour of our bans. Amen.
extend class TQPlayer { | |
override void MovePlayer() { | |
let player = self.player; | |
UserCmd cmd = player.cmd; | |
Angle += cmd.yaw * (360./65536.); //Why the hell is angle setting handled here while pitch is elsewhere? | |
player.onground = (pos.z <= floorz) || bOnMobj || bMBFBouncer || (player.cheats & CF_NOCLIP2); | |
Vector2 moveVec = NormalizedInput(); | |
moveVec = MovementFactors(moveVec.y, moveVec.x); | |
vel.xy += rotateVector(moveVec, angle - 90); |
class HDScav_Bootstrap : EventHandler { | |
//initialize additional player inventory | |
override void PlayerEntered(PlayerEvent e) { | |
PlayerInfo player = players[e.PlayerNumber]; | |
if(!player.mo.countinv("AlreadyInitialized")) { | |
player.mo.giveinventory("HDScav_HungerTracker", 1); | |
player.mo.giveinventory("HDScav_MessKit", 1); | |
player.mo.giveinventory("HDScav_Ration", 3); | |
player.mo.giveinventory("AlreadyInitialized", 1); | |
} |
#!/bin/bash | |
showhelp () { | |
echo "Usage: hd-launcher [OPTION]... [FILE]..." | |
echo "Launches GZDoom + Hideous Destructor, optionally with" | |
echo "additional mods or unstable test builds." | |
echo | |
echo "Note that all script options MUST be specified first." | |
echo "Anything not recognized by this script will be passed" | |
echo "through to GZDoom verbatim." |
double DampedSpring(double p, double r, double v, double k, double d) { | |
//p == current position | |
//r == rest position | |
//v == current velocity | |
//k == spring coefficient | |
//d == damping coefficient | |
//simple damped spring formula | |
return -(d * v) - (k * (p - r)); | |
} |
filetype: zscript | |
# Loosely based on the csharp.yaml definition | |
# (?i) on everything because ZScript isn't case sensitive | |
detect: | |
filename: "(?i)\\.z(c|sc)$" | |
rules: | |
# ZScript only has one preprocessor directive and a required engine version declaration |
// This class hooks into a player's UaS_Looting_Handler to add loot to an existing loot-list. | |
// NOTE: New loot lists for new/unsported actors are not possible at this time. | |
// WARNING: A mutator like this must be loaded AFTER Ugly as Sin or a crash will occur! | |
// Instructions: | |
// As this is only an example, it will not run automatically. | |
// (that part is left as an exercise for the modder) | |
// Once both UaS and this mutator are loaded, open the ingame console and type | |
// give UaS_Example_Loot_Extender |
List of the mods I commonly use with Hideous Destructor. Crossed-out mods are ones I don't use much anymore but might appear from time to time. Using some of these may require knowledge of GZDoom modding and/or packing pk3/wad files.
In the landscape of programming languages, Quick Basic resides upon a mountain, surrounded by mists, and insulated from the world beyond.
At a far extreme, on the other end of the world, should you travel that far, you will find the most intelectually eloquent language ever invented, LISP. In the realm of LISP, from the Basic programmers perspective, things look strange and soft. Symbols are tangled and twisted, and yet somehow slowly unfold under the light of reason. From the high refuge of Quick Basic, LISP doesn't even look like programming. Only the long journey down the mountain and across the wilds of deformed and crippled scripting languages can shape your eyes to see the beauty of a LISP proccessor as it slowly meditates upon itself, always looking inward upon its own mathematical truth. But that is a far way off.
Within view, upon a craggy spire of hard rock, many have seen C. Encrusted upon brittle rock, it is etched by the flow of magma, continually belching sulphur and cracking into new formatio
Hello GitHub my old friend I've come to push to you again Because an idea softly creeping Left it's seeds while I was sleeping And the function that was planted in my brain still remains within the lines of conflicts