-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsprintMode_API.d
More file actions
58 lines (45 loc) · 2.1 KB
/
Copy pathsprintMode_API.d
File metadata and controls
58 lines (45 loc) · 2.1 KB
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
/*
* Sprint mode
*
* 1. Copy this file outside of script-packet
* 2. Customize it
* 3. Link it to Gothic.src
* 4. Profit
*/
//If not defined script will put bar right underneath health bar
const int PC_SPRINTMODEBAR_PPOSX = -1;
//If not defined script will put bar right underneath health bar
const int PC_SPRINTMODEBAR_PPOSY = -1;
//Virtual positions have higher prio than pixel positions.
//if not defined (-1) then PC_SprintModeBar_PPosX will be taken into consideration. Virtual coordinates
const int PC_SPRINTMODEBAR_VPOSX = -1;
//if not defined (-1) then PC_SprintModeBar_PPosY will be taken into consideration. Virtual coordinates
const int PC_SPRINTMODEBAR_VPOSY = -1;
//Bar texture for stamina
const int BAR_TEX_SPRINTMODE_STAMINA = 0;
//Bar texture for timed overlays (potions)
const int BAR_TEX_SPRINTMODE_TIMEDOVERLAY = 1;
const string PC_SPRINTMODEBAR_TEX = "BAR_MISC.TGA";
const string PC_SPRINTMODEBAR_TIMED_TEX = "BAR_SPRINTMODE_TIMEDOVERLAY.TGA";
//Default sprint mode overlay
const string PC_SPRINTMODEOVERLAYNAME = "HUMANS_SPRINT.MDS";
const string PC_SPRINTMODETIMEDOVERLAYNAME = "HUMANS_SPRINT.MDS";
//Don't activate sprint mode if already in sprint mode - or if drunk :)
const int PC_SPRINTMODE_IGNOREWITHOVERLAYS_COUNT = 2;
const string PC_SPRINTMODE_IGNOREWITHOVERLAYS0 = "HUMANS_SPRINT.MDS";
const string PC_SPRINTMODE_IGNOREWITHOVERLAYS1 = "HUMANS_DRUNKEN.MDS";
//When removing duplicate timed overlays script can either sum up all timers or get max value
//0 get max value
//1 sum up all timers
const int PC_SPRINTMODEBAR_TIMEDOVERLAY_STACKING = 0;
//Initial stamina
const int PC_SPRINTMODE_STAMINAMAX_DEFAULT = 80;
const int PC_SPRINTMODE_CONSUMESTAMINA_DEFAULT = TRUE;
const string PC_SPRINTMODE_FONT = "FONT_OLD_10_WHITE.TGA";
const int SPRINTBAR_DISPLAYMETHOD = BarDisplay_DynamicUpdate;
const int SPRINTBAR_PREVIEWEFFECT = BarPreviewEffect_FadeInOut;
const int SPRINTBAR_DISPLAYVALUES = 1;
const int SPRINTBAR_VIEW_ALPHAFUNC = 2; //ALPHA_FUNC_BLEND
const string SPRINTBAR_DISPLAYVALUES_COLOR = "FFFFFF";
const int SPRINTBAR_DISPLAYVALUEOFFSETX = 0;
const int SPRINTBAR_DISPLAYVALUEOFFSETY = -1;