找回密码
 点一下
查看: 920|回复: 10

自己转的1.24打不开,求人把这地图转成1.24的

[复制链接]
发表于 2011-12-29 12:50:00 | 显示全部楼层 |阅读模式
真三国无双AI3.9DRTS1.1版.w3x (3.09 MB, 下载次数: 3)
发表于 2011-12-29 15:09:04 | 显示全部楼层
你咋转的?
回复

使用道具 举报

发表于 2011-12-29 17:25:15 | 显示全部楼层
.ai文件也转了么?
回复

使用道具 举报

 楼主| 发表于 2011-12-29 17:40:12 | 显示全部楼层

回 1楼(希瓦) 的帖子

希瓦:你咋转的? (2011-12-29 15:09) 
设置,1.24,取消注入代码,保存……
回复

使用道具 举报

 楼主| 发表于 2011-12-29 17:40:50 | 显示全部楼层

回 2楼(Conflux) 的帖子

Conflux:.ai文件也转了么? (2011-12-29 17:25) 
AI怎么转?
回复

使用道具 举报

发表于 2011-12-29 18:17:32 | 显示全部楼层

回 3楼(yang909909) 的帖子

yang909909:设置,1.24,取消注入代码,保存…… (2011-12-29 17:40)
转版本主要要替换return bug呀~
回复

使用道具 举报

 楼主| 发表于 2011-12-29 18:19:52 | 显示全部楼层

回 5楼(Conflux) 的帖子

Conflux:转版本主要要替换return bug呀~ (2011-12-29 18:17) 
大大能帮我转下么,附件在1L,万谢……
回复

使用道具 举报

发表于 2011-12-29 22:10:07 | 显示全部楼层
yang909909:大大能帮我转下么,附件在1L,万谢…… (2011-12-29 18:19)
这不是帮不帮忙的问题……如果原图用的是RBGC的话,那么就要全部手动换成HT,这可以相当大的工程。。
好吧,虽然我没看那图。。不知道是不是RB
回复

使用道具 举报

发表于 2011-12-29 23:17:28 | 显示全部楼层
如果那幅地图的储存系统写得规范的话,改成1.24根本不需要工作量吧!只要把h2i换成gethandleid就行了(以及反之),也不需要换成hashtable。
你连地图都没看就说工作量大,这叫断章取义。
回复

使用道具 举报

发表于 2011-12-29 23:37:57 | 显示全部楼层
杀戮机器:如果那幅地图的储存系统写得规范的话,改成1.24根本不需要工作量吧!只要把h2i换成gethandleid就行了(以及反之),也不需要换成hashtable。
你连地图都没看就说工作量大,这叫断章取义。
(2011-12-29 23:17)
行吧,我错了……
回复

使用道具 举报

发表于 2011-12-30 05:49:08 | 显示全部楼层
不规范的生要改的话可以参照一下这个套路
[jass]//124
hashtable CF_I2H=InitHashtable()

function H2I takes handle h returns integer
return GetHandleId(h)
endfunction
function I2U takes integer i returns unit
return LoadUnitHandle(CF_I2H,0,i)
endfunction
function I2T takes integer i returns timer
return LoadTimerHandle(CF_I2H,0,i)
endfunction
function I2TD takes integer i returns timerdialog
return LoadTimerDialogHandle(CF_I2H,0,i)
endfunction

function CF_SaveUnit takes gamecache cache, string missionKey, string key, unit value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
call SaveUnitHandle(CF_I2H,0,H2I(value),value)
endfunction
function CF_SaveTimer takes gamecache cache, string missionKey, string key, timer value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
call SaveTimerHandle(CF_I2H,0,H2I(value),value)
endfunction
function CF_SaveTimerDialog takes gamecache cache, string missionKey, string key, timerdialog value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
call SaveTimerDialogHandle(CF_I2H,0,H2I(value),value)
endfunction

//120
function H2I takes handle h returns integer
return h
return 0
endfunction
function I2U takes integer i returns unit
return i
return null
endfunction
function I2T takes integer i returns timer
return i
return null
endfunction
function I2TD takes integer i returns timerdialog
return i
return null
endfunction

function CF_SaveUnit takes gamecache cache, string missionKey, string key, unit value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
//call SaveUnitHandle(CF_I2H,0,H2I(value),value)
endfunction
function CF_SaveTimer takes gamecache cache, string missionKey, string key, timer value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
//call SaveTimerHandle(CF_I2H,0,H2I(value),value)
endfunction
function CF_SaveTimerDialog takes gamecache cache, string missionKey, string key, timerdialog value returns nothing
call StoreInteger(cache,missionKey,key,H2I(value))
//call SaveTimerDialogHandle(CF_I2H,0,H2I(value),value)
endfunction[/jass]
只需要做几次全文替换就可以用了
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-6 00:21 , Processed in 0.075832 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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