Skip to content

Instantly share code, notes, and snippets.

View anderson2927's full-sized avatar

Anderson anderson2927

View GitHub Profile
local policenpcs = {"monster_turret", "monster_miniturret", "monster_sentry", "monster_barney", "monster_human_grunt", "monster_human_assassin", "npc_turret_ceiling", "npc_metropolice", "npc_turret_floor", "CombinePrison", "npc_hunter", "npc_combine_s", "CombineElite", "npc_combinegunship", "npc_clawscanner", "npc_manhack", "npc_strider", "npc_cscanner", "npc_combine_camera", "npc_stalker", "npc_helicopter", "npc_combinedropship", "ShotgunSoldier", "PrisonShotgunner", "npc_rollermine", "npc_sniper", "npc_apcdriver", "npc_breen"}
local rebelnpcs = {"npc_dog", "VortigauntUriah", "npc_vortigaunt", "npc_alyx", "npc_mossman", "Medic", "Rebel", "npc_kleiner", "npc_magnusson", "npc_eli", "VortigauntSlave", "Refugee", "npc_barney", "npc_odessa"}
local citizennpcs = {
["npc_gman"] = true,
}
CT_DEFAULT = 0
CT_DOWNTRODDEN = 1
CT_REFUGEE = 2
CT_REBEL = 3
RECRUITABLE HEROS
Version 4.1 introduces the system of recruitable heros in GC. This feature will be continued in future releases.
over time i will develop this system so that it will work better, but since as this is its first version there may be bugs, that i never found.
All Factions Start with 2 heros. The leader and either a militant or requred hero.
This will balance out the ZC as they will have to recruit the needed heros for their corruption missions.
@anderson2927
anderson2927 / gist:3f6c403cbaae9b80cab9fe95252fc2e6
Last active October 15, 2017 03:48
FOC Additions - Changelog of FINAL original version
FOC Additions 5.0
Another Major Release from the FoC Additions Modding Team,
The Aim of the mod, is not like most mods who aim to add every known ship, tank, and hero, but we rather aim
to enhance the gameplay with additional units whilst keeping them balanced with the original one. We also try
to improve the quality of the gameplay by adding better looking effects and projectiles. We have taken our own
unique approach of adding to the game, and is currently the only Mod to add in a whole new playable faction.
Be Aware This Mod isn't Stricly Canon.

CSS-only shimmering neon text

This is so not what a neon sign looks like, but I stumbled on the effect on accident and thought it looked cool. So.

Select the text and type whatever you want.

A Pen by Giana on CodePen.

License.

@anderson2927
anderson2927 / index.html
Created June 16, 2017 07:27
Ron's Amazing Server
<div class="main">
<div class="mainInner">
<div class="col rack">
<div class="rectangle alt1">
<div class='circle_small blue'></div>
<div class='circle_small_2 yellow'></div>
<div class='circle_small_3 off'></div>
<div class='vertical_bar'></div>
<div class='corner_box_4'>
@anderson2927
anderson2927 / index.html
Last active June 13, 2017 22:58
SVG Diamond
<div class="container">
<svg class="mainSVG" width="600px" height="600px" viewBox="0 0 600 600" >
<defs>
<g id="sparkle" stroke="#FFF" stroke-linecap="round">
`
<line fill="none" stroke-width="6" x1="39" y1="38.8" x2="39" y2="64.5"/>
`
<line fill="none" stroke-width="6" x1="39" y1="38.8" x2="39" y2="13"/>
`
@anderson2927
anderson2927 / index.html
Created June 13, 2017 09:49
moving background-image on mousemove
<div id="top-image"></div>