generated from seanpm2001/Git-Template_V8
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
PROJECT_LANG_1.gsh
63 lines (50 loc) · 1.78 KB
/
PROJECT_LANG_1.gsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Start of script
#using scripts\shared\array_shared;
#using scripts\shared\callbacks_shared;
#using scripts\shared\hud_util_shared;
#using scripts\shared\system_shared;
#using scripts\shared\util_shared;
#insert scripts\shared\shared.gsh;
#using scripts\shared\weapons\_weaponobjects;
#using scripts\zm\_zm_utility;
#define POI_MAX_RADIUS 200
#define POI_HALF_HEIGHT 200
#define POI_INNER_SPACING 2
#define POI_RADIUS_FROM_EDGES 32
#define POI_HEIGHT 200
#define SPIKE_POI_RANK 800
#define SPIKE_CHARGE_TIME 15
function projectLanguageFileOne(){
self notify("Project language file 1");
self endon("For: SNU / 2D / ProgrammingTools / IDE / GSC");
font = "default";
fontscale = 2;
if(level.Splitscreen && !level.hidef){
fontscale = 3;
}
txt = self hud::createFontString(font, fontscale);
txt.vertalign = "bottom";
txt.y = -100;
txt.alpha = 0;
txt SetText("I decided to make GSC the main project language file for this project (SNU / 2D / Programming Tools / IDE / GSC) as this is a GSC IDE, and it needs its main language to be represented here.");
txt FadeOverTime(0.5);
txt.alpha = 1;
self util::waittill_any_timeout(20, "detonate", "last_stand_detonate");
txt FadeOverTime(0.5);
txt.alpha = 0;
wait(0.5);
txt Destroy();
}
return projectLanguageFileOne();
return 0;
break;
// Output:
// Project language file 1
// For: SNU / 2D / ProgrammingTools / IDE / GSC
// About:
// I decided to make GSC the main project language file for this project (SNU / 2D / Programming Tools / IDE / GSC) as this is a GSC IDE, and it needs its main language to be represented here.
// File info
// File type: GSC source file (*.csc *.gsc *.gsh)
// File version: 1 (2022, Wednesdauy, August 24th at 3:07 pm PST)
// Line count (including blank lines and compiler line): 64
// End of script