• <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>

            天行健 君子當(dāng)自強(qiáng)而不息

            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 閱讀(156) 評論(0)  編輯 收藏 引用


            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            公告

            導(dǎo)航

            統(tǒng)計(jì)

            常用鏈接

            隨筆分類(178)

            3D游戲編程相關(guān)鏈接

            搜索

            最新評論

            中文字幕无码精品亚洲资源网久久| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 久久青青草原亚洲av无码app | 性做久久久久久久| 99久久国产综合精品网成人影院| 久久久久亚洲AV成人网人人网站 | 精品国产乱码久久久久软件| 久久精品a亚洲国产v高清不卡| 欧美精品一区二区精品久久| 伊人色综合九久久天天蜜桃| 99久久成人国产精品免费| 亚洲国产成人久久精品99| WWW婷婷AV久久久影片| 欧美久久久久久午夜精品| 国内精品久久久久伊人av| 亚洲午夜精品久久久久久浪潮| 久久99精品国产99久久6男男| 日韩电影久久久被窝网| 久久综合久久综合九色| 亚洲国产精品无码久久SM| 无码人妻久久一区二区三区蜜桃 | 久久99精品久久只有精品| 久久亚洲国产成人影院| 精品久久国产一区二区三区香蕉 | 免费一级欧美大片久久网| 久久精品国产亚洲麻豆| av无码久久久久久不卡网站| 亚洲午夜久久久影院| 少妇无套内谢久久久久| 亚洲欧美国产精品专区久久| 久久久久国色AV免费看图片| 久久99国产精一区二区三区 | 亚洲AV日韩精品久久久久| 一级女性全黄久久生活片免费| 94久久国产乱子伦精品免费| 99久久99久久精品国产| 久久综合欧美成人| 韩国三级中文字幕hd久久精品 | 婷婷久久综合九色综合绿巨人| 久久国产香蕉一区精品| 精品国产一区二区三区久久蜜臀|