Funktionen: Unterschied zwischen den Versionen
Aus Sternenschweif Wiki
(→Allgemein verfügbar) |
|||
(54 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
[[Category:Modding]] | [[Category:Modding]] | ||
=Übersicht über verfügbare Funktionen= | =Übersicht über verfügbare Funktionen= | ||
− | Hier sollen vor allem die speziell für Schickalsklinge erstellten Funktionen, mit denen aus den XMLs auf den | + | Hier sollen vor allem die speziell für Schickalsklinge erstellten Funktionen, mit denen aus den XMLs auf den Engine-Code zugegriffen werden kann, erläutert werden. |
− | + | Anwendbar sind diese in [[Dialoge|Dialogen]] in und außerhalb der [[Hauptfunktionen]], außerdem in den [[Charakter-Effekte|Effekten]], dem [[:Kategorie:Kampfscripting|Kampf]] sowie im [[Dungeon Kontrollscript|Dungeon-Script]]. | |
== Allgemein verfügbar == | == Allgemein verfügbar == | ||
<table><tr><td valign="top" width="250"> | <table><tr><td valign="top" width="250"> | ||
* [[activateInterval]] | * [[activateInterval]] | ||
+ | * [[Limbo|addCharacterLimbo]] | ||
* [[addCompanion]] | * [[addCompanion]] | ||
* [[addEffect]] | * [[addEffect]] | ||
− | * [[addMappiece]] | + | * <strike>[[addMappiece]]</strike> (veraltet) |
* [[autoSave]] | * [[autoSave]] | ||
* [[awardXP]] | * [[awardXP]] | ||
Zeile 20: | Zeile 21: | ||
* [[chooseItem]] | * [[chooseItem]] | ||
* [[chooseSingleCharacter]] | * [[chooseSingleCharacter]] | ||
+ | * [[chooseSingleCharacterEx]] | ||
+ | * [[consoleLog]] | ||
* [[continueJourney]] | * [[continueJourney]] | ||
* [[damageCurrentWeapon]] | * [[damageCurrentWeapon]] | ||
Zeile 31: | Zeile 34: | ||
* [[findRitualEnchantment]] | * [[findRitualEnchantment]] | ||
* [[findRopeLength]] | * [[findRopeLength]] | ||
− | </td><td width="250"> | + | </td><td width="250" valign="top"> |
* [[gameover]] | * [[gameover]] | ||
* [[generateRandomName]] | * [[generateRandomName]] | ||
+ | * [[getBest / getWorst]] | ||
* [[getBuildingState / setBuildingState]] | * [[getBuildingState / setBuildingState]] | ||
* [[getCharAttribute / modifyCharAttribute]] | * [[getCharAttribute / modifyCharAttribute]] | ||
Zeile 43: | Zeile 47: | ||
* [[getCharSpell]] | * [[getCharSpell]] | ||
* [[getCharUniqueId]] | * [[getCharUniqueId]] | ||
+ | * [[getCharidByUniqueId]] | ||
+ | * [[getChosenItem]] | ||
+ | * [[getCurrentSubscene]] | ||
* [[getDateDay]] | * [[getDateDay]] | ||
* [[getDateSeason]] | * [[getDateSeason]] | ||
Zeile 49: | Zeile 56: | ||
* [[getEquipped]] | * [[getEquipped]] | ||
* [[getGender]] | * [[getGender]] | ||
+ | * [[getGeneralState / setGeneralState]] | ||
* [[getGodGrace]] | * [[getGodGrace]] | ||
* [[getHintKnown]] | * [[getHintKnown]] | ||
+ | * [[getItemset]] | ||
+ | * [[getKeywordState]] | ||
* [[getLangString]] | * [[getLangString]] | ||
+ | * [[getLeaderID]] | ||
+ | * [[getLangString|getLoca]] | ||
+ | </td><td width="250" valign="top"> | ||
+ | * [[Limbo|getLimboCount]] | ||
+ | * [[Limbo|getLimboInfo]] | ||
+ | * <strike>[[getMappieceCount]]</strike> (veraltet) | ||
* [[getLocation]] | * [[getLocation]] | ||
− | * [[ | + | * [[getLocationState / setLocationState]] |
* [[getModifier]] | * [[getModifier]] | ||
* [[getName]] | * [[getName]] | ||
* [[getNumber]] | * [[getNumber]] | ||
− | |||
* [[getNumberDlg]] | * [[getNumberDlg]] | ||
* [[getPartyCount]] | * [[getPartyCount]] | ||
+ | * [[getPartyEffect]] | ||
* [[getPartyLevel]] | * [[getPartyLevel]] | ||
* [[getQuestState / setQuestState]] | * [[getQuestState / setQuestState]] | ||
+ | * [[getRandomCharId]] | ||
+ | * [[getRouteState / setRouteState]] | ||
* [[getRotation]] | * [[getRotation]] | ||
* [[getSpecialState / setSpecialState]] | * [[getSpecialState / setSpecialState]] | ||
Zeile 67: | Zeile 85: | ||
* [[getStatInt]] | * [[getStatInt]] | ||
* [[getTime]] | * [[getTime]] | ||
+ | * [[getTimeString]] | ||
* [[getTotalPartyCount]] | * [[getTotalPartyCount]] | ||
* [[getWealth / changeWealth]] | * [[getWealth / changeWealth]] | ||
Zeile 73: | Zeile 92: | ||
* [[hasCompanion]] | * [[hasCompanion]] | ||
* [[hasEffect]] | * [[hasEffect]] | ||
+ | </td><td width="250" valign="top"> | ||
* [[hasHuntingWeapon]] | * [[hasHuntingWeapon]] | ||
* [[healDamage]] | * [[healDamage]] | ||
+ | * [[hideImage]] | ||
* [[incrementStatFloat]] | * [[incrementStatFloat]] | ||
* [[incrementStatInt]] | * [[incrementStatInt]] | ||
Zeile 81: | Zeile 102: | ||
* [[jumpToLocation]] | * [[jumpToLocation]] | ||
* [[leaveLocation]] | * [[leaveLocation]] | ||
+ | * [[lockKeyword / unlockKeyword]] | ||
* [[modifyCharSpell]] | * [[modifyCharSpell]] | ||
* [[modifyGodGrace]] | * [[modifyGodGrace]] | ||
− | + | * [[modifyHunger]] | |
* [[modifyInventoryItem]] | * [[modifyInventoryItem]] | ||
+ | * [[modifyThirst]] | ||
+ | * [[OnTimePassed]] | ||
* [[passTime]] | * [[passTime]] | ||
+ | * [[playAmbient]] | ||
+ | * [[playFX]] | ||
+ | * [[playVO]] | ||
+ | * [[playVOVariant]] | ||
* [[printSpecialStates]] | * [[printSpecialStates]] | ||
* [[releaseTrap]] | * [[releaseTrap]] | ||
* [[removeCharacter]] | * [[removeCharacter]] | ||
+ | * [[Limbo|removeCharacterLimbo]] | ||
* [[removeChosenItem]] | * [[removeChosenItem]] | ||
* [[removeCompanion]] | * [[removeCompanion]] | ||
Zeile 96: | Zeile 125: | ||
* [[rollCheck]] | * [[rollCheck]] | ||
* [[rollRandom]] | * [[rollRandom]] | ||
+ | </td><td width="250" valign="top"> | ||
* [[round]] | * [[round]] | ||
* [[saveJourney]] | * [[saveJourney]] | ||
* [[setAchievement]] | * [[setAchievement]] | ||
+ | * [[setDialogueImage]] | ||
+ | * [[setDialogueBackground]] | ||
+ | * [[setDialogueAlign]] | ||
* [[setHeadline]] | * [[setHeadline]] | ||
* [[setHunger]] | * [[setHunger]] | ||
− | |||
* [[setInsideScene]] | * [[setInsideScene]] | ||
+ | * [[setISCharacter]] | ||
+ | * [[setMenuItem]] | ||
* [[getJourneyState / setJourneyState|setJourneyState]] | * [[getJourneyState / setJourneyState|setJourneyState]] | ||
* [[setQuestStateInconly]] | * [[setQuestStateInconly]] | ||
* [[setThirst]] | * [[setThirst]] | ||
− | |||
* [[showDialogue]] | * [[showDialogue]] | ||
+ | * [[showImage]] | ||
+ | * [[showItemContainer]] | ||
* [[showItemset]] | * [[showItemset]] | ||
* [[showItemsetList]] | * [[showItemsetList]] | ||
Zeile 113: | Zeile 148: | ||
* [[showTrader]] | * [[showTrader]] | ||
* [[splitLeaveCharacter]] | * [[splitLeaveCharacter]] | ||
+ | * [[splitLeaveGroup]] | ||
* [[startBattle]] | * [[startBattle]] | ||
* [[startDialogue]] | * [[startDialogue]] | ||
Zeile 118: | Zeile 154: | ||
* [[startDialogueCallback]] | * [[startDialogueCallback]] | ||
* [[startdlg]] | * [[startdlg]] | ||
+ | * [[startKeywordDialogue]] | ||
</td></tr></table> | </td></tr></table> | ||
+ | <table><tr><td valign="top" width="300"> | ||
== Nur auf Reisen == | == Nur auf Reisen == | ||
− | |||
− | |||
* [[consumeHuntingAmmo]] | * [[consumeHuntingAmmo]] | ||
* [[forceRouteEvent]] | * [[forceRouteEvent]] | ||
Zeile 130: | Zeile 166: | ||
* [[getCurrentRouteType]] | * [[getCurrentRouteType]] | ||
* [[turnAround]] | * [[turnAround]] | ||
+ | ''Nicht nur "Karte aufgerufen in einem Dorf", | ||
+ | ''sondern tatsächlich "auf Reisen befindlich"! | ||
+ | </td><td valign="top" width="300"> | ||
== Nur in Dörfern == | == Nur in Dörfern == | ||
* [[getCurrentTriggerData]] | * [[getCurrentTriggerData]] | ||
* [[getTownTip]] | * [[getTownTip]] | ||
+ | * [[modifyLocationTrigger]] | ||
+ | * [[generateRandomInhabitantName]] | ||
+ | </td><td valign="top" width="300"> | ||
== Nur in Dungeons == | == Nur in Dungeons == | ||
Zeile 140: | Zeile 182: | ||
* [[activateStair]] | * [[activateStair]] | ||
* [[forceDoorState]] | * [[forceDoorState]] | ||
+ | * [[getCurrentTrigger]] | ||
* [[getDoorState]] | * [[getDoorState]] | ||
* [[getDungeonObjectState]] | * [[getDungeonObjectState]] | ||
Zeile 145: | Zeile 188: | ||
* [[lookAtDIO]] | * [[lookAtDIO]] | ||
* [[lookAtTrigger]] | * [[lookAtTrigger]] | ||
+ | * [[modifyLocationTrigger]] | ||
* [[moveToTrigger]] | * [[moveToTrigger]] | ||
* [[setDungeonObjectState]] | * [[setDungeonObjectState]] | ||
* [[setDoorState]] | * [[setDoorState]] | ||
* [[setTriggerState]] | * [[setTriggerState]] | ||
− | * [[teleportToTrigger]] | + | * [[showItemset]] |
+ | * [[teleportToTrigger]]</td> | ||
+ | <td valign="top" width="300"> | ||
+ | |||
+ | == Nur in Kämpfen == | ||
+ | |||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSize]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleAddNPCStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetPlayerStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battlePlaceObject]] | ||
+ | * [[battleRandomize]] und [[BattleArenaEditor#Skriptbefehle|battleRandomize]] | ||
+ | * [[battleCustomRandomize]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSinglePlayerStart]] | ||
+ | * [[BattleArenaEditor#Skriptbefehle|battleSetSingleNPCStart]] | ||
+ | |||
+ | * [[AddBattleEffect]] | ||
+ | * [[EndBattle]] | ||
+ | * [[GetBattleCharacter]] | ||
+ | * [[GetInitiativeQueue]] | ||
+ | * [[GetBattlefieldInfo]] | ||
+ | * [[GetCurrentBC]] | ||
+ | * [[SkipTurn]] | ||
+ | * [[ResumeBattle]] | ||
+ | |||
+ | </td> | ||
+ | <td valign="top" width="300"> | ||
+ | == Nur in InsideScenes == | ||
+ | * [[PlayInsideCutscene]] | ||
+ | </td> | ||
+ | </tr></table> |
Aktuelle Version vom 17. März 2019, 13:15 Uhr
Inhaltsverzeichnis
Übersicht über verfügbare Funktionen
Hier sollen vor allem die speziell für Schickalsklinge erstellten Funktionen, mit denen aus den XMLs auf den Engine-Code zugegriffen werden kann, erläutert werden.
Anwendbar sind diese in Dialogen in und außerhalb der Hauptfunktionen, außerdem in den Effekten, dem Kampf sowie im Dungeon-Script.
Allgemein verfügbar
Nur auf Reisen
Nicht nur "Karte aufgerufen in einem Dorf", sondern tatsächlich "auf Reisen befindlich"! |
Nur in Dörfern |
Nur in Dungeons |
Nur in Kämpfen |
Nur in InsideScenes |