注册 | 登录

游侠NETSHOW论坛





查看: 3371|回复: 2
打印 上一主题 下一主题

跪求维京霸主无上权威的年龄不增长补丁 [复制链接]

帖子
180
精华
0
积分
90
金钱
233
荣誉
0
人气
0
评议
0
楼主
发表于 2010-4-28 12:16:12 |显示全部楼层
打开游戏目录下文件夹Scripts\City\CityPingHour.lua这个文件,用记事本打开。
1.找到这行代码:local Level = CityGetLevel(""),在下面添加代码:local CHEAT_Immortal = GetSettingNumber("GAME", "CHEAT_Immortal", 0)
2.找到这行代码:citypinghour_CheckCrimes(),在下面加入这行变量代码:if CHEAT_Immortal then
     citypinghour_SetPlayerDynastyImmortal()
end
3.现在跳到文本最后,加入一段代码:function SetPlayerDynastyImmortal()
   
     GetLocalPlayerDynasty("dynasty")
     local iCount = DynastyGetFamilyMemberCount("dynasty")
     local CHEAT_ImmortalAge = GetSettingNumber("GAME", "CHEAT_ImmortalAge", 18)

     local iIndex
     local iCIndex
     local DynAge
     local iChildCount
   
     local SimArray
   
     for iIndex = 0, iCount-1 do

         if DynastyGetFamilyMember("dynasty", iIndex, "member") then
             DynAge = SimGetAge( "member" )
             LogMessage("DynAge: "..DynAge..".")
             if DynAge > CHEAT_ImmortalAge then
                 SimSetAge( "member" ,CHEAT_ImmortalAge)
             end
         end
     end
end
4.现在你使用的人物都是锁定在18岁的年龄了。如果不喜欢18岁,可以把18改成自己想要的年龄。希望对大家有用,还有其他修改的大家有需要可以在吧里发帖提出。
百度转帖来的。。。

使用道具 举报

帖子
180
精华
0
积分
90
金钱
233
荣誉
0
人气
0
评议
0
沙发
发表于 2010-4-28 12:20:56 |显示全部楼层
这个也很好用,MOD通用,游侠里的
行会2威尼斯几回合一次会议的方法
在The Guild 2 Venice\Scripts\Cutscenes中找到OfficeSession.lua和officesessionproto.lua这两个东东,用记事本打开OfficeSession.lua和officesessionproto.lua,在它们中找到下面的一段代码:
function Start()

        -- if no settlement, no office session
        if GetID("settlement")==-1 then
                MsgDebugMeasure("applicant","error: This townhall does not belong to any settlement.")
                EndCutscene("")
        end

        -- set a Date: event_alias, settlement, cutscene, function
        CityScheduleCutsceneEvent("settlement","council_date","","BeginCouncilMeeting",17,6,"@L_SESSION_6_TIMEPLANNERENTRY_CITY_+0")  -- hour of day=17h, MinTimeInFuture = 8

        local EventTime = SettlementEventGetTime("council_date")
好了,只要该一个数字就行了(OfficeSession.lua和officesessionproto.lua两个文件中的都改),看到 hour of day=17h了吗,这表示会议是在每天17点举行的,那好,我们把BeginCouncilMeeting",17,6,"@中的数字17改为17+24的倍数就行了,就是说你改为65(17+24×2),那么会议就是三回合一次了,

使用道具 举报

帖子
180
精华
0
积分
90
金钱
233
荣誉
0
人气
0
评议
0
板凳
发表于 2010-4-28 12:27:24 |显示全部楼层
到10级技能点满点,10级技能2个点,电脑AI10级了应该也一样
打开DB\abilitypoints.dbt
改成


//Table File, Version 1.02 (c) 2004 4head studios
//Exported

Table Description:
"id" INT  0 |"level" INT  0 |"abilitylevel" INT  0 |

Data:
0            0               0                      |
1            1               0                      |
2            2               2                      |
3            3               0                      |
4            4               4                      |
5            5               0                      |
6            6               2                      |
7            7               7                      |
8            8               4                      |
9            9               2                      |
10           10              10                     |
11           10              7                      |
12           10              4                      |
13           10              2                      |
14           10              10                     |
15           10              7                      |
16           10              4                      |
17           10               2                      |
18           10              2                     |
19           10              7                      |
20           10              4                      |
21           10               2                      |
22           10              2                     |
23           10              7                      |
24           10              4                      |
25           10               2                      |
26           10              2                     |
27           10              7                      |
28           10              4                      |
29           10               2                      |
30           10              2                     |
31           10              7                      |
32           10              4                      |
33           10              2                     |
34           10              4                      |
35           10              4                      |
36           10              4                     |
37           10              2                      |
38           10              4                      |
39           10              2                      |
40           10              2                     |
41           10              2                     |
42           10              4                      |
44           10              4                      |
45           10              4                     |
46           10              4                      |
47           10              4                      |
48           10              4                      |
49           10              0                     |
50           10              0                     |
51           10              0

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-8-10 19:55 , Processed in 0.302534 second(s), 11 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到