-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.js
41 lines (37 loc) · 1.82 KB
/
constants.js
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
const MAP_ID = 30; // only use numbers 1 - 30 to avoid issue. this MUST be 30 for the public map importer.
extract({
//#// File & Level Path //#//
/*
PATH: MAP_PATH, // .osu file name
OUTPUT_MAP: '', // gd level NAME to output to
SONG_ID: MAP_SONG_ID, // songID of the song to be used with the map
*/
STAR_DIFFICULTY: 5.00,
REPLACE_OLD_CHART: true, // remove CHART_GROUP objects (always should be true)
CHART_GROUP: (8000 + MAP_ID),
//#// Dev Manual Entry //#//
// Please refer to the spreadsheet for what these values should be!
MAP_ORDERED_GROUP: (3260 + MAP_ID), // id of spawn ordered data - 3261 to 3290 XXX
DATA_MENU_GROUP: (3290 + MAP_ID), // id of menu data to be spawned in menu - 3291 to 3320 XXX
BPM_DATA_GROUP: (3320 + MAP_ID), // id of the bpm moves for this map - 3321 to 3350 (3220 OLD)
SONG_SPAWN_GROUP: (3390 + MAP_ID), // id of the groups that spawn the song triggers - 3391 to 3420 xxx
ROTATE_SPAWN_GROUP: (4100 + MAP_ID), // id that spawns the rotate triggers - 4101 to 4130 xxx
MAP_TOGGLE_GROUP_NEW: (4200 + MAP_ID), // id that spawns the rotate triggers - 4201 to 4230 xxx
X_OFFSET: 20000, // right of all objects and triggers
Y_OFFSET: (750 * MAP_ID), // maps are 22 blocks tall, round to 25 for space. 25*30=750 increments.
MAP_INDEX: MAP_ID, // set here to be used in index.js
// we shouldn't have groups
//#// Block/Trigger IDs and Constants //#//
MOVE_TRIGGER_ID: 901,
TOGGLE_TRIGGER_ID: 1049,
SPAWN_TRIGGER_ID: 1268,
ROTATE_TRIGGER_ID: 1346,
PICKUP_TRIGGER_ID: 1817,
SONG_TRIGGER_ID: 1934,
SCALE_TRIGGER_ID: 2067,
ITEM_EDIT_TRIGGER_ID: 3619,
CURSOR_GROUP: 107, // id of the cursor that goes to the notes
BPM_OFF_GROUP: 8000, // toggles bpm groups to be default off, they toggle on when map starts
//#// Game Constants //#//
X_VELOCITY_BPS: 10.3853853854 // We love Robert Topala game so very much!
});