View difference between Paste ID: qxjashhS and czi2hFYr
SHOW: | | - or go back to the newest paste.
1
main()
2
{
3
	SetDvar("g_speed", 250);
4
	SetDvar("g_gravity", 100);
5
	SetDvar("jump_height", 350);
6
	SetDvar("cg_fovscale", 2);
7
 
8
	thread onSpawn();
9
 
10
	level.trailfx = loadFX( "smoke/wall_explosion_smoke" );
11
12
	level waittill("round_started");
13
	players = GetEntArray("player","classname");
14
	for(i=0;i<players.size;i++)
15
	{
16
		players[i] Suicide();
17
		players[i] iPrintlnBold("^3WTF are you doing ^9" + players[i].name + "^3?!!!");
18
		players[i] sayAll("I must have been born on the highway because that is where most of the accidents happen...");
19
	}
20
}
21
 
22
onSpawn()
23
{
24
	while(1)
25
	{
26
		level waittill("player_spawn", player); // Not sure if it's the correct notify we're waiting for #iPod :dave:
27
		player thread giveLoadout();
28
		player thread trail();
29
		player thread welcomehud();
30
		player thread playermodel(player);
31
	}
32
}
33
 
34
giveLoadout()
35
{
36
	self TakeAllWeapons();
37
	self GiveWeapon("dildo_gun");
38
	self GiveMaxAmmo("dildo_gun");
39
	wait .01;
40
	self SwitchToWeapon("dildo_gun");
41
}
42
 
43
trail()
44
{
45
	while( isAlive( self ) )
46
	{
47
		playFX( level.trailfx, self.origin )
48
		wait 0.1;
49
	}
50
}
51
52
welcomehud()
53
{
54
	wait 7;
55
	
56
	hud_welcome = NewHudElem();
57
	hud_welcome.AlignX = "center";
58
	hud_welcome.AlignY = "middle";
59
	hud_welcome.horzAlign = "center";
60
	hud_welcome.vertAlign = "middle";
61
	hud_welcome.alpha = 1;
62
	hud_welcome.x = 0;
63
	hud_welcome.y = -150;
64
	hud_welcome.font = "objective";
65
	hud_welcome.fontscale = 3;
66
	hud_welcome.glowalpha = 1;
67
	hud_welcome.glowcolor = (1,0,0);
68-
	hud_welcome setText( "Welcome to this random ass mod!" ); //feel free to change text - Sentrex
68+
	hud_welcome setText( "Welcome to the Sentrex Mod!" ); //feel free to change text - Gabe
69
	hud_welcome setPulseFX( 100, 4000, 500 );
70
}
71
72
playermodel(player)
73
{
74
	player detachAll();
75
	player setModel("Gus_Fring");
76
}