Paste!

models/props_vehicles/mining_car_metal.mdl
 
The curious incident of the dog in the night time
 
Code:
String.prototype.format = function()
{
    var pattern = /\{\d+\}/g;
    var args = arguments;
    return this.replace(pattern, function(capture){ return args[capture.match(/\d+/)]; });
}

String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); }
   
String.prototype.getRelativity = function(s1, s2)
{
    if (s1 == s2) return 0;

    var lower = this.toLowerCase().replace(/[^\w\s]/, '').trim();
    s1 = s1.toLowerCase().replace(/[^\w\s]/, '').trim();
    s2 = s2.toLowerCase().replace(/[^\w\s]/, '').trim();
    
    var s1diff = 0;
    var s2diff = 0;
    for (var i = 0; i < lower.length; i++)
    {
        if (i > s1.length || i > s2.length) break;
        else if (s1diff != s2diff) break;

        var c = lower.charCodeAt(i);
        var c1 = s1.charCodeAt(i)
        var c2 = s2.charCodeAt(i);
        
        s1diff += Math.abs(c - c1);
        s2diff += Math.abs(c - c2);
    }

    return s1diff - s2diff;
}

Some extensions to the JavaScript String object I wrote...
 
about going to simons tonight for a few days but simon doesnt that know yet so he might have to come here for the night since its cmds mums birthday tomorrow and he doesnt wanna get in the way

:/
 
Code:
////////////////////////////////////////////////
// Begin list of Activities or "Game Modes"

AddActivity = GABaseDefense
	InstanceName = Skirmish Defense
	SceneName = Grasslands
	TeamCount = 2
	PlayerCount = 1
	TeamOfPlayer1 = 0
	FundsOfTeam1 = 100000
	CPUTeam = 1
	Difficulty = 3
	SpawnIntervalEasiest = 20000
	SpawnIntervalHardest = 8000

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = "Cobalt" MG-90
			AddInventory = HDFirearm
				CopyOf = Heavy Digger

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = "Cobalt" MG-90
			AddInventory = HDFirearm
				CopyOf = Heavy Digger

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = Clone AW-57

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = Clone PA-60

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = Trooper RL-7

	AddAttackerSpawn = ACRocket
		CopyOf = CR-Telepod
		AddInventory = AHuman
			CopyOf = Tech LR-5000

Activities file for Cortex Command.
 
http://www.tampabay.com/features/humaninterest/article750838.ece

That article. I sent it to some friends.

Over 45- Bad
Under 15- Loser

[ ] smoked.
[X] consumed alcohol.
[ ] slept in the same bed with someone of the opposite sex.
[ ]slept in the same bed with someone of the same sex.
[X] kissed someone of the same sex.
[ ] had sex.
[ ] had someone in your room other than family.
[X] watched porn.
[ ]bought porn.
[ ] done drugs.
TOTAL: 3

[X] taken painkillers
[ ] taken someone else's prescription medicine.
[X] lied to your parents.
[X] lied to a friend.
[X] snuck out of the house.
[X] done something illegal.
[X] cut yourself.
[X] hurt someone.
[ ] wished someone to die.
[ ] seen someone die.
TOTAL: 7


[X] missed curfew.
[ ] stayed out all night.
[X] eaten a carton of ice cream by yourself.
[X] been to a therapist.
[ ] been to rehab.
[ ]dyed your hair.
[ ]received a ticket.
[X] been in an accident.
[ ] been to a club.
[ ] been to a bar.
TOTAL: 3

[ ] been to a wild party.
[X] seen the Mardi Gras.
[ ] drank more than four beers in a night.
[X] had a spring break in Florida.
[X] sniffed anything.
[X] wore black nail polish.
[X] wore arm bands.
[ ] wore t-shirts with band names.
[X] listened to rap.
[ ] owned a 50 Cent CD.
TOTAL: 6

[ ] dressed gothic.
[ ] dressed prep.
[X] dressed punk.
[X] dressed grunge.
[X] stole something.
[ ] been too drunk to remember anything
[ ] blacked out.
[ ] fainted.
[ ] had a crush on a neighbor.
[ ] had someone sneak into your room.
TOTAL: 3

[X] snuck into someone else's room.
[ ] had a crush on your best friend.
[X] been to a concert.
[ ] dry-humped someone
[ ] been called a slut.
[ ] called someone a slut.
[ ] installed speakers in your car.
[ ] broken a mirror.
[ ] showered at someone of the opposites sex's house.
[X] brushed your teeth with someone else's toothbrush.
TOTAL: 3

[ ] consider/considered Ludacris your favorite rapper.
[X] seen an R-rated movie in theater.
[X] cruised the mall.
[ ] skipped school.
[X] had surgery.
[X] had an injury.
[ ] gone to court.
[ ]walked out of a restaraunt without paying.
[X] caught something on fire.
[ ] lied about your age.
TOTAL: 5

[ ] owned/rented an apartment.
[ ] broke the law in the police's presence.
[ ] cheated on someone.
[ ] got in trouble with the police.
[X] talked to a stranger.
[X] hugged a stranger.
[X] kissed a stranger.
[ ] rode in the car with a stranger.
[X] been harrassed.
[X] been verbally harrassed.
TOTAL: 5

[ ] met face-to-face with someone you met online.
[X] stayed online for 12 hours straight.
[X] talked on the phone for more than 4 hours straight.
[ ] watched TV for 12 hours straight.
[ ] been to a fair.
[X] been called a bad influence.
[ ] drink and drive.
[X] prank-called someone.
[X] laid on a couch with someone of the opposite sex.
[X] cheated on a test.
TOTAL: 6

Complete Total: 41
 
Back
Top