<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.worldofgothic.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.worldofgothic.de/feed.php">
        <title>Editing Wiki tutorials:spell_tutorial</title>
        <description></description>
        <link>https://wiki.worldofgothic.de/</link>
        <image rdf:resource="https://wiki.worldofgothic.de/lib/tpl/wog-forum/images/favicon.ico" />
       <dc:date>2026-04-19T01:07:09+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:allgemein_zu_modifizierende_dateien&amp;rev=1483171813&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:artifacts&amp;rev=1454971560&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:b_assessmagic&amp;rev=1454971490&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:komplett_neuen_spell&amp;rev=1454971373&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:magic_intern&amp;rev=1454971442&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:pfxmagic&amp;rev=1454971589&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spell_kill&amp;rev=1454971413&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana&amp;rev=1454971458&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana_released&amp;rev=1454971471&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:text&amp;rev=1454971520&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:visualfxinst&amp;rev=1454971605&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.worldofgothic.de/lib/tpl/wog-forum/images/favicon.ico">
        <title>Editing Wiki</title>
        <link>https://wiki.worldofgothic.de/</link>
        <url>https://wiki.worldofgothic.de/lib/tpl/wog-forum/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:allgemein_zu_modifizierende_dateien&amp;rev=1483171813&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-12-31T09:10:13+02:00</dc:date>
        <title>Allgemein zu modifizierende Dateien</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:allgemein_zu_modifizierende_dateien&amp;rev=1483171813&amp;do=diff</link>
        <description>Allgemein zu modifizierende Dateien

Ausgehend von Gothic/_work/data/skripts:
Name der Datei: Verzeichnispfad: relevanter Inhalt:magic_intern.dcontent/_internConstante MAX_SPELL, alle Spells aufgeführt.spell_*.dcontent/MAGICJeder Spell einzeln aufgeführt, was muss passieren dass der Spell gecastet wird, + DebugInfo</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:artifacts&amp;rev=1454971560&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:46:00+02:00</dc:date>
        <title>Artifacts.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:artifacts&amp;rev=1454971560&amp;do=diff</link>
        <description>Artifacts.d

Hier einfach eine Rune als Bespiel nehmen und die gewünschten Werte einfügen - Scrolls lasse ich hier weg, weil sie komplett gleich gehen.


INSTANCE ItArRuneKill (C_Item)
{
name = NAME_Rune;                                        //Soll einfach nur Rune im Inventar heißen - Beschreibung unter //description

mainflag = ITEM_KAT_RUNE;
flags = 0;

value = 1500;

visual = &quot;ItAr_Rune_21.3ds&quot;;                                //In G1 - Kugelblitz Rune oder Eisblock - weiß ich net ^^- hab i…</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:b_assessmagic&amp;rev=1454971490&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:44:50+02:00</dc:date>
        <title>B_AssessMagic.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:b_assessmagic&amp;rev=1454971490&amp;do=diff</link>
        <description>B_AssessMagic.d

Einfach etwas kopieren und das hier draus machen:


func void B_AssessMagic_Kill()
{
PrintDebugNpc( PD_MAGIC, &quot;B_AssessMagic_Kill&quot;);

// Damit andere NSCs den Angriff wahrnehmen können
Npc_SendPassivePerc(self, PERC_ASSESSFIGHTSOUND, self, other);
};</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:komplett_neuen_spell&amp;rev=1454971373&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:42:53+02:00</dc:date>
        <title>Einen komplett neuen Spell erstellen (mit bereits vorhandenem PFX)</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:komplett_neuen_spell&amp;rev=1454971373&amp;do=diff</link>
        <description>Einen komplett neuen Spell erstellen (mit bereits vorhandenem PFX)

Als Erstes müssen wir natürlich die Maximale Spell Anzahl hinaufdrehen, da soviele Arrays nur MAX_SPELL Elemente
haben, und wenn wir versuchen würden da einfach ein zusätzliches Element einzufügen würde der Parser schreien.
Das geht jetzt auf 2 Arten:
1. Entweder man schreibt bei jedem Array-Deklaration einfach bei der Element-Anzahl</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:magic_intern&amp;rev=1454971442&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:44:02+02:00</dc:date>
        <title>Magic_Intern.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:magic_intern&amp;rev=1454971442&amp;do=diff</link>
        <description>Magic_Intern.d

- Hier finden wir die Zeile

CONST INT MAX_SPELL = 59;     //Verändern bei neuen Spells! - hier im Ausgangsfall- hier ist noch nix verändert!


Die wird ganz einfach nach Wünschen verändert.. Aber Achtung! Es muss jetzt bei jedem Array mit der MAX_SPELL Anzahl, ein Element hinzugefügt werden! (Da Daedalus scheins keinen Standard-Konstruktor hat-wozu auch)
Hier müssen wir aber nochwas machen: Wir überlegen uns einen Namen für unseren Spell - ich bin jetzt furchtbar unkreativ und n…</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:pfxmagic&amp;rev=1454971589&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:46:29+02:00</dc:date>
        <title>PFXMAGIC</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:pfxmagic&amp;rev=1454971589&amp;do=diff</link>
        <description>PFXMAGIC

So das einfach am Ende einfügen...wenn ihr einen Effekt unverändert nutzen wollt - da bieten sich zum Beispiel Fear, Berserk oder Speed an( Speed wurde nie umgesetzt genauso wie Undress usw. aber Fear und Berserk- davon gibt es Scroll, die aber</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spell_kill&amp;rev=1454971413&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:43:33+02:00</dc:date>
        <title>SPL_KILL.d (Pfad: content/MAGIC)</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spell_kill&amp;rev=1454971413&amp;do=diff</link>
        <description>SPL_KILL.d (Pfad: content/MAGIC)

Wir öffnen einfach ne neue Skript Datei - tippen das hier ein...(oder öffnen ein vorhandenes Skript und verändern es- achaj speichern unter einem anderen Namerl)


func int Spell_Logic_Kill (var int manaInvested)                //Name muss immer Spell_Logic_* sein
{
PrintDebugNpc (PD_MAGIC, &quot;Spell_Logic_Kill&quot; );          //Debug Info

if ( manaInvested &gt;= SPL_SENDCAST_KILL ) {            //Wenn genug Mana investiert wurde, Aufruf der Cast Function

AI_PlayAni(se…</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana&amp;rev=1454971458&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:44:18+02:00</dc:date>
        <title>SPELLS_PROCESS_MANA.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana&amp;rev=1454971458&amp;do=diff</link>
        <description>SPELLS_PROCESS_MANA.d

Hier gibts nicht viel zu tun - einfach irgendwo eine Zeile kopieren irgendwo einfügen und halt abändern...(einfach statt dem alten Spell Namen immer euren einsetzen - hier KILL


if (Npc_GetActiveSpell(self) == SPL_KILL ) { return Spell_Logic_Kill (manaInvested); };</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana_released&amp;rev=1454971471&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:44:31+02:00</dc:date>
        <title>SPELL_PROCESS_MANA_RELEASED.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:spells_process_mana_released&amp;rev=1454971471&amp;do=diff</link>
        <description>SPELL_PROCESS_MANA_RELEASED.d

Hier hängt wieder alles vom Typ des Spells ab(ist dort glaub ich ausreichend kommentiert) den ihr machen wollt- sucht euch einfach einen ähnlichen - zumindest vom Typ her, kopiert ihn und verändert ihn wieder , indem ihr den Spellnamen durch euren ersetzt -da wir uns an alle Konventionen gehalten haben, geht das leicht.</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:text&amp;rev=1454971520&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:45:20+02:00</dc:date>
        <title>TEXT.d</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:text&amp;rev=1454971520&amp;do=diff</link>
        <description>TEXT.d

Hier rein werden wir schreiben, was oben am Bildschirm angezeigt werden soll, wenn der Zauber gezogen wird. Also werden wir hier nicht den einfallslosen Namen Kill verwenden sondern einen Interessanteren.
Einfach da wo im Kommentar Zauberspruchnamen steht - da darunter ist der String Array</description>
    </item>
    <item rdf:about="https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:visualfxinst&amp;rev=1454971605&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-02-08T23:46:45+02:00</dc:date>
        <title>VisualFXInst</title>
        <link>https://wiki.worldofgothic.de/doku.php?id=tutorials:spell_tutorial:visualfxinst&amp;rev=1454971605&amp;do=diff</link>
        <description>VisualFXInst

Bitte hier einfach wieder einfügen, wenn ihr einen vorhandenen PFX nützen wollt. Einfach alle VISUALFX(dieses Spells) kopieren und die INSTANZ NAMEN ändern - einfach den Spellnamen mit eurem ersetzen - aber NUR DEN INSTANZNAMEN!


INSTANCE spellFX_Kill (CFx_Base_Proto)
{

visname_S = &quot;MFX_Kill_INIT&quot;;

emtrjmode_s = &quot;FIXED&quot;;
emTrjOriginNode = &quot;ZS_RIGHTHAND&quot;;
emtrjloopmode_s = &quot;NONE&quot;;
emtrjeasefunc_s = &quot;LINEAR&quot;;

emActionCollStat_S = &quot;COLLIDE CREATE CREATEQUAD&quot;;
emActionCollDyn_S = &quot;…</description>
    </item>
</rdf:RDF>
