找回密码
 点一下
查看: 1691|回复: 6

怎么增加新的种族?

[复制链接]
发表于 2008-3-9 10:29:06 | 显示全部楼层 |阅读模式
求助
请问怎么样可以把游戏开始前的选族画面变为5个族加一个RADOM

人类
暗夜精灵族
兽族
不死族
X族
随即

这样.请知道的大哥教一下

评分

参与人数 1威望 -5 收起 理由
沉默の罪恶 -5 乱标题

查看全部评分

发表于 2008-3-9 10:35:02 | 显示全部楼层
完美的无影响的加一个新的种族是不可能的
回复

使用道具 举报

发表于 2008-3-9 14:21:20 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

发表于 2008-3-9 14:44:02 | 显示全部楼层
以前我也想新加种族啊~………………………………但还是没办法,只好改原有的了
记得以前有个8种族的mod,
回复

使用道具 举报

发表于 2008-3-9 14:46:51 | 显示全部楼层
增加新种族需要修改游戏本身~~另外那个8种族补丁作者就是GA的EP~~
回复

使用道具 举报

发表于 2008-3-9 14:49:52 | 显示全部楼层
RADOM.....很好,很强大.
回复

使用道具 举报

发表于 2008-3-9 16:41:43 | 显示全部楼层
残留在wc3c上的情报。。
but I have successfully ADDED any number of races into war3!
And it is a perfect solution, it's not same with the way of adding in my mod DemonCraft 1&2. (they have 8 races, but u need pick 1 race from 2 again when game starting)

now I am working in DemonCraft 3, and it will include 9 races as you see:)

some tips:
hide the real race menu
edit the handicap menu for race menu
crack the code of handling handicap, it's 100 times easy than cracking the limit of race.
the other things will be done by editing blizzard.j


but it's still hard to say clearly. i will show it in my MOD: Demon Craft 3, every one will know how to do from it. also, if any project need more than 4 races, i can join and help you finish it~

now more tips:

firstly, editing "UI\\FrameDef\\Glue\\PlayerSlot.fdf", change the part of handicap menu like this:
    Frame "GLUEPOPUPMENU" "HandicapMenu" INHERITS WITHCHILDREN "PlayerSlotPopupMenu" {
        Width 0.11,
        UseActiveContext,
        SetPoint LEFT, "NameMenu", RIGHT, 0.0, 0.0,

        PopupMenuFrame "HandicapPopupMenuMenu",
        Frame "MENU" "HandicapPopupMenuMenu" INHERITS WITHCHILDREN "StandardPopupMenuMenuTemplate" {
            UseActiveContext,

            MenuItem "RANDOM",     -2,
            MenuItem "HUMAN",      -2,
            MenuItem "ORC",        -2,
            MenuItem "UNDEAD",     -2,
            MenuItem "NIGHT_ELF",  -2,        
            MenuItem "High Elf",  -2,
            MenuItem "Chaos Orc",  -2,
            MenuItem "Burning Legion",  -2,
            MenuItem "Naga",  -2,
            MenuItem "Jungle Dweller",  -2,         
        }
    }

it will make the handicap menu override the race menu. so the race menu will not be seen(also need modifying the size of ui elements a little)

secondly, modify the game.dll. this is the difference of the modified game.dll and the old game.dll:
fc/b game.dll game.dll.old
00209FF5: 00 5A
0020A003: 90 B8
0020A004: 90 01
0020A005: 90 00
0020A006: 90 00
0020A007: 90 00
0020A4C1: 10 05
0020A4C6: 8B FF
0020A4C7: F0 24
0020A4C8: 90 85
0020A4C9: 90 4C
0020A4CA: 90 A5
0020A4CB: 90 20
0020A4CC: 90 6F
0020A4CD: 90 BE
0020A4CE: 90 5A
0020A4CF: 90 00
0020A4D0: 90 00
0020A4D1: 90 00
00256DA2: 00 32
it causes when user select the first item of handicap menu(now it's "race menu"), the handicap of the player will be set to 0%, the second item to 1%, and so on.(now support not only 6 items(100%-50%))

thirdly, editing the blizzard.j, it will be effect any melee games. some key functions:]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-11-23 20:24 , Processed in 0.144711 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表