• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            天行健 君子當自強而不息

            Controlling Players and Characters(21)

             

            Defining Spells with the MSL Editor


            Defining your game’s spells by manually constructing a bunch of sSpell structures
            can quickly become tedious. Instead, you need an editor that is better suited to
            quickly change every aspect of your game’s spells. Welcome to the MSL Editor!

            The MSL Editor has a straightforward interface, as shown in following snap:

             

            The MSL Editor has room for 64 spells (limited only by the flags used to store the
            character’s known spells). Once you start the editor, you can follow these steps to
            create or edit your spells:

            1. Double-click a spell in the list to open the Modify Spell dialog box.

            2. In the Modify Spell dialog box (see following snap), enter the spell’s data. Click
            OK to close the Modify Spell dialog box and return to the Master Spell List
            Editor dialog box.

            3. To save your spell list, click the Save button.

            4. In the Save MSL File dialog box, enter a filename and click OK. To load a
            spell file, click the Load button in the Master Spell List Editor dialog box,
            enter the filename of the spell file to load, and click OK.

            Modifying a spell can be a little daunting at first because of all the data involved,
            but you learned what each piece of data does for a spell.
            Now, you follow this brief example of defining the fireball spell shown in the figure.

            The fireball spell is hitting a single target with a ball of fire. Costing 5 MP to cast,
            this spell has no damage or cure classes assigned (as denoted by the value of -1).
            The spell alters health by -10 (as denoted in the Value 1 edit box), and has a 100
            percent chance of affecting the target.

            Characters within 256 units of distance from the caster can be targets of the spell,
            with only a single target being hurt by the spell (the first character found within
            the 30 unit distance parameter).

            Two meshes are in use; the first is mesh 0, which moves from the caster to the target
            at a speed of 256 units per second. This mesh loops in its animation until the mesh
            hits the intended target, at which time the second mesh takes over. The second
            mesh uses mesh 1, which hovers over the target for 400 milliseconds. The third
            mesh is not in use (which you set by selecting N/A as the position). At this point,
            the spell is completed.


            posted on 2007-11-16 17:40 lovedday 閱讀(160) 評論(0)  編輯 收藏 引用

            公告

            導航

            統計

            常用鏈接

            隨筆分類(178)

            3D游戲編程相關鏈接

            搜索

            最新評論

            一本色道久久88综合日韩精品 | 久久国产视频99电影| 天天躁日日躁狠狠久久| 亚洲午夜久久久久妓女影院 | 久久精品无码专区免费东京热 | 久久综合亚洲色HEZYO社区| 久久国产精品成人影院| 99久久精品无码一区二区毛片 | 无码人妻久久一区二区三区 | 尹人香蕉久久99天天拍| 99久久综合狠狠综合久久止| 国产亚州精品女人久久久久久| 久久精品aⅴ无码中文字字幕不卡| 国产亚洲精午夜久久久久久| 热re99久久6国产精品免费| 久久国产香蕉一区精品| 老色鬼久久亚洲AV综合| 久久精品极品盛宴观看| 欧美日韩精品久久久免费观看| 久久美女网站免费| 久久国产高清字幕中文| 99久久免费国产精精品| 大香伊人久久精品一区二区| 国产精品青草久久久久福利99| 亚洲伊人久久大香线蕉苏妲己| 日产精品久久久久久久性色| 久久久久亚洲爆乳少妇无| 青青草原综合久久大伊人导航 | 久久99精品久久久久久秒播| 青青青青久久精品国产| 久久久无码人妻精品无码| 久久综合精品国产二区无码| 伊人久久大香线蕉综合Av| 日本WV一本一道久久香蕉| 一本久久综合亚洲鲁鲁五月天| 欧美国产精品久久高清| 久久精品视屏| 香蕉久久夜色精品国产尤物| 香蕉久久久久久狠狠色| 久久久久久久精品成人热色戒| 无码专区久久综合久中文字幕|