Difference between revisions of "Script/LevelBase"

From SF3
Jump to: navigation, search
Line 165: Line 165:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_ashlands_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_ashlands_high''' ( )
 
|-
 
|-
 
|
 
|
Line 171: Line 171:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_desert''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_desert''' ( )
 
|-
 
|-
 
|
 
|
Line 177: Line 177:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_desert_low''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_desert_low''' ( )
 
|-
 
|-
 
|
 
|
Line 183: Line 183:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_desert_med''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_desert_med''' ( )
 
|-
 
|-
 
|
 
|
Line 189: Line 189:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_desert_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_desert_high''' ( )
 
|-
 
|-
 
|
 
|
Line 195: Line 195:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_grassland''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_grassland''' ( )
 
|-
 
|-
 
|
 
|
Line 201: Line 201:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_grassland_low''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_grassland_low''' ( )
 
|-
 
|-
 
|
 
|
Line 207: Line 207:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_grassland_med''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_grassland_med''' ( )
 
|-
 
|-
 
|
 
|
Line 213: Line 213:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_grassland_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_grassland_high''' ( )
 
|-
 
|-
 
|
 
|
Line 219: Line 219:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_jungle''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_jungle''' ( )
 
|-
 
|-
 
|
 
|
Line 225: Line 225:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_jungle_low''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_jungle_low''' ( )
 
|-
 
|-
 
|
 
|
Line 231: Line 231:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_jungle_med''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_jungle_med''' ( )
 
|-
 
|-
 
|
 
|
Line 237: Line 237:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_jungle_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_jungle_high''' ( )
 
|-
 
|-
 
|
 
|
Line 243: Line 243:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_mountains''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_mountains''' ( )
 
|-
 
|-
 
|
 
|
Line 249: Line 249:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_mountains_low''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_mountains_low''' ( )
 
|-
 
|-
 
|
 
|
Line 255: Line 255:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_mountains_med''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_mountains_med''' ( )
 
|-
 
|-
 
|
 
|
Line 261: Line 261:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_mountains_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_mountains_high''' ( )
 
|-
 
|-
 
|
 
|
Line 267: Line 267:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_swamp''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_swamp''' ( )
 
|-
 
|-
 
|
 
|
Line 273: Line 273:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_swamp_low''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_swamp_low''' ( )
 
|-
 
|-
 
|
 
|
Line 279: Line 279:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_swamp_med''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_swamp_med''' ( )
 
|-
 
|-
 
|
 
|
Line 285: Line 285:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_swamp_high''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_swamp_high''' ( )
 
|-
 
|-
 
|
 
|
Line 291: Line 291:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]]  
| style='color: black; width: 90%; line-height: 1.0;' | '''void PlaySetting_dungeon''' ( )
+
| style='color: black; width: 90%; line-height: 1.0;' | '''PlaySetting_dungeon''' ( )
 
|-
 
|-
 
|
 
|

Revision as of 12:04, 30 June 2017

class LevelBase

Work in Progress

Class Methods

General Functions

Coming soon.

Hero Functions

Hero specific calls.

void PlayerHeroControlEnable ( )
Gives the player the full controls of his Hero Party back.
void PlayerHeroControlDisable ( )
Takes the full controls of Hero Party away.
void HeroBanterEnable ( )
Activates the Hero Bantern events again.
void HeroBanterDisable ( )
Deactivates that Hero Bantern events happen.
void HeroPartyGorTransformToOrc ( )
Manually transforms Gor the Changeling to his orc form.
void HeroPartyGorTransformToAnimal ( )
Manually transforms Gor the Changeling to his wolf form.

RTS Functions

Coming soon.


Sound & Music Functions

Functions for mainly starting specific musik tracks, or to trigger a specific sound.

void PlayTrack_HeroGor ( )
Play's the theme of the Hero Gor the Changeling
void PlayTrack_HeroIanna ( )
Play's the theme of the Hero Ianna the Singer
void PlayTrack_HeroIsgrimm ( )
Play's the theme of the Hero Isgrimm the Smith
void PlayTrack_HeroRohen ( )
Play's the theme of the Hero Rohen Tahir
void PlayTrack_HeroUndergast ( )
Play's the theme of the Hero Undergast the Weaver
void PlayTrack_HeroUram ( )
Play's the theme of the Hero Uram the Red
void PlayTrack_HeroYria ( )
Play's the theme of the Hero Yria of the Light
void PlayTrack_CharSentenza ( )
Play's the theme of the character Sentenza Noria
void PlayTrack_CharAngar ( )
Play's the theme of the Angar Arandir
void PlayTrack_CharRondar_1 ( )
Play's the theme of the Rondar Lacaine (Theme 1)
void PlayTrack_CharRondar_2 ( )
Play's the theme of the Rondar Lacaine (Theme 2)
void PlayTrack_CharRondar_combat ( )
Play's the combat theme of the Rondar Lacaine
void PlayTrack_CharAndrasSong_1 ( )
Play's the song from Andra, Version 1
void PlayTrack_CharAndrasSong_2 ( )
Play's the song from Andra, Version 2
void PlayTrack_CharAndrasSong_3 ( )
Play's the song from Andra, Version 3
void PlaySetting_ashlands ( )
Changes the global music setting so ashlands. Also resets combat music to normal
void PlaySetting_ashlands_low ( )
Changes the global music setting so ashlands. Also changes the combat music to low
void PlaySetting_ashlands_med ( )
Changes the global music setting so ashlands. Also changes the combat music to med
void PlaySetting_ashlands_high ( )
Changes the global music setting so ashlands. Also changes the combat music to high
void PlaySetting_desert ( )
Changes the global music setting so desert. Also resets combat music to normal
void PlaySetting_desert_low ( )
Changes the global music setting so desert. Also changes the combat music to low
void PlaySetting_desert_med ( )
Changes the global music setting so desert. Also changes the combat music to med
void PlaySetting_desert_high ( )
Changes the global music setting so desert. Also changes the combat music to high
void PlaySetting_grassland ( )
Changes the global music setting so grassland. Also resets combat music to normal
void PlaySetting_grassland_low ( )
Changes the global music setting so grassland. Also changes the combat music to low
void PlaySetting_grassland_med ( )
Changes the global music setting so grassland. Also changes the combat music to med
void PlaySetting_grassland_high ( )
Changes the global music setting so grassland. Also changes the combat music to high
void PlaySetting_jungle ( )
Changes the global music setting so jungle. Also resets combat music to normal
void PlaySetting_jungle_low ( )
Changes the global music setting so jungle. Also changes the combat music to low
void PlaySetting_jungle_med ( )
Changes the global music setting so jungle. Also changes the combat music to med
void PlaySetting_jungle_high ( )
Changes the global music setting so jungle. Also changes the combat music to high
void PlaySetting_mountains ( )
Changes the global music setting so mountains. Also resets combat music to normal
void PlaySetting_mountains_low ( )
Changes the global music setting so mountains. Also changes the combat music to low
void PlaySetting_mountains_med ( )
Changes the global music setting so mountains. Also changes the combat music to med
void PlaySetting_mountains_high ( )
Changes the global music setting so mountains. Also changes the combat music to high
void PlaySetting_swamp ( )
Changes the global music setting so swamp. Also resets combat music to normal
void PlaySetting_swamp_low ( )
Changes the global music setting so swamp. Also changes the combat music to low
void PlaySetting_swamp_med ( )
Changes the global music setting so swamp. Also changes the combat music to med
void PlaySetting_swamp_high ( )
Changes the global music setting so swamp. Also changes the combat music to high
void PlaySetting_dungeon ( )
Changes the global music setting so dungeon. Also resets combat music to normal

Sounds

void PlaySound_ItemReceived ( )
Play's the specific sound for receiving an item
void PlaySound_GenericStone ( )
Playing a generic stone sound
void PlaySound_GenericWater ( )
Playing a generic water sound

class LevelBase

Work in Progress

Class Methods

General Functions

Coming soon.

Hero Functions

Hero specific calls.

void PlayerHeroControlEnable ( )
Gives the player the full controls of his Hero Party back.
void PlayerHeroControlDisable ( )
Takes the full controls of Hero Party away.
void HeroBanterEnable ( )
Activates the Hero Bantern events again.
void HeroBanterDisable ( )
Deactivates that Hero Bantern events happen.
void HeroPartyGorTransformToOrc ( )
Manually transforms Gor the Changeling to his orc form.
void HeroPartyGorTransformToAnimal ( )
Manually transforms Gor the Changeling to his wolf form.

RTS Functions

Coming soon.


Sound & Music Functions

Functions for mainly starting specific musik tracks, or to trigger a specific sound.

void PlayTrack_HeroGor ( )
Play's the theme of the Hero Gor the Changeling
void PlayTrack_HeroIanna ( )
Play's the theme of the Hero Ianna the Singer
void PlayTrack_HeroIsgrimm ( )
Play's the theme of the Hero Isgrimm the Smith
void PlayTrack_HeroRohen ( )
Play's the theme of the Hero Rohen Tahir
void PlayTrack_HeroUndergast ( )
Play's the theme of the Hero Undergast the Weaver
void PlayTrack_HeroUram ( )
Play's the theme of the Hero Uram the Red
void PlayTrack_HeroYria ( )
Play's the theme of the Hero Yria of the Light
void PlayTrack_CharSentenza ( )
Play's the theme of the character Sentenza Noria
void PlayTrack_CharAngar ( )
Play's the theme of the Angar Arandir
void PlayTrack_CharRondar_1 ( )
Play's the theme of the Rondar Lacaine (Theme 1)
void PlayTrack_CharRondar_2 ( )
Play's the theme of the Rondar Lacaine (Theme 2)
void PlayTrack_CharRondar_combat ( )
Play's the combat theme of the Rondar Lacaine
void PlayTrack_CharAndrasSong_1 ( )
Play's the song from Andra, Version 1
void PlayTrack_CharAndrasSong_2 ( )
Play's the song from Andra, Version 2
void PlayTrack_CharAndrasSong_3 ( )
Play's the song from Andra, Version 3
void PlaySetting_ashlands ( )
Changes the global music setting so ashlands. Also resets combat music to normal
void PlaySetting_ashlands_low ( )
Changes the global music setting so ashlands. Also changes the combat music to low
void PlaySetting_ashlands_med ( )
Changes the global music setting so ashlands. Also changes the combat music to med
void PlaySetting_ashlands_high ( )
Changes the global music setting so ashlands. Also changes the combat music to high
void PlaySetting_desert ( )
Changes the global music setting so desert. Also resets combat music to normal
void PlaySetting_desert_low ( )
Changes the global music setting so desert. Also changes the combat music to low
void PlaySetting_desert_med ( )
Changes the global music setting so desert. Also changes the combat music to med
void PlaySetting_desert_high ( )
Changes the global music setting so desert. Also changes the combat music to high
void PlaySetting_grassland ( )
Changes the global music setting so grassland. Also resets combat music to normal
void PlaySetting_grassland_low ( )
Changes the global music setting so grassland. Also changes the combat music to low
void PlaySetting_grassland_med ( )
Changes the global music setting so grassland. Also changes the combat music to med
void PlaySetting_grassland_high ( )
Changes the global music setting so grassland. Also changes the combat music to high
void PlaySetting_jungle ( )
Changes the global music setting so jungle. Also resets combat music to normal
void PlaySetting_jungle_low ( )
Changes the global music setting so jungle. Also changes the combat music to low
void PlaySetting_jungle_med ( )
Changes the global music setting so jungle. Also changes the combat music to med
void PlaySetting_jungle_high ( )
Changes the global music setting so jungle. Also changes the combat music to high
void PlaySetting_mountains ( )
Changes the global music setting so mountains. Also resets combat music to normal
void PlaySetting_mountains_low ( )
Changes the global music setting so mountains. Also changes the combat music to low
void PlaySetting_mountains_med ( )
Changes the global music setting so mountains. Also changes the combat music to med
void PlaySetting_mountains_high ( )
Changes the global music setting so mountains. Also changes the combat music to high
void PlaySetting_swamp ( )
Changes the global music setting so swamp. Also resets combat music to normal
void PlaySetting_swamp_low ( )
Changes the global music setting so swamp. Also changes the combat music to low
void PlaySetting_swamp_med ( )
Changes the global music setting so swamp. Also changes the combat music to med
void PlaySetting_swamp_high ( )
Changes the global music setting so swamp. Also changes the combat music to high
void PlaySetting_dungeon ( )
Changes the global music setting so dungeon. Also resets combat music to normal

Sounds

void PlaySound_ItemReceived ( )
Play's the specific sound for receiving an item
void PlaySound_GenericStone ( )
Playing a generic stone sound
void PlaySound_GenericWater ( )
Playing a generic water sound