佳丽云

英雄无敌3-WoG中文站

 找回密码
 英雄注册|Register
查看: 7653|回复: 4

Please help with script

[复制链接]

该用户从未签到

409

回帖

8927

金币

4

精华

论坛嘉宾

Rank: 9Rank: 9Rank: 9

积分
1187
发表于 2008-8-27 08:12:24 | 显示全部楼层 |阅读模式
I scripted my main hero to never get spell power or knowdledge, but only attack/defense. And it works.


However the game does not offer him to choose secondary skills and gives him automatically a random one. Can somebody explain me where I did wrong please?

ZVSE

!?HL85;
!!VRi:S0 R1;
!!HL:Si/-2/-1;
  • TA的每日心情
    无聊
    2015-9-20 13:37
  • 签到天数: 14 天

    连续签到: 1 天

    [LV.3]火元素使者

    725

    回帖

    1230万

    金币

    0

    精华

    4级 Famous Hero

    Rank: 4

    积分
    1931

    魅力之星

    发表于 2008-8-27 20:00:44 | 显示全部楼层
    I think the last sentence (!!HL:Si/-2/-1;) is the problem.

    This is from [wiki]ERM[/wiki]-help:
    S$1/$2/$3
    Lets you set primary and secondary skills that a hero can take.
    $1 = Set/Check/Get a +1 primary skill (0...3) Format PK;
    $2 = set a next level of left second skill (-2,-1.0..27) Format SS,
        -2 = do not change,
        -1 = not allowed to choose (no skill),
        0... = number of secondary skill;
    $3 = set a next level of right second skill (-2,-1.0..27) Format SS.

    So you may try this one:

    ZVSE

    !?HL85;
    !!VRi:S0 R1;
    !!HL:Si/-2/-2;

    评分

    1

    查看全部评分

    该用户从未签到

    409

    回帖

    8927

    金币

    4

    精华

    论坛嘉宾

    Rank: 9Rank: 9Rank: 9

    积分
    1187
     楼主| 发表于 2008-8-27 23:51:27 | 显示全部楼层
    thank you for help

    I got it


    !?HL85;
    !!VRi:S0 R1;
    !!HL:Si/d/d;

    该用户从未签到

    2

    回帖

    12

    金币

    0

    精华

    1级 Hired Hero

    Rank: 1

    积分
    36
    发表于 2009-3-10 02:25:39 | 显示全部楼层

    H3 Caravans- script 130 preview

    Hi,

    I didived the script into the following moduls:
    1. creating caravans from town
    2. handling arrived caravans by player
    3. creating caravans from dwelling
    4. caravan moving algorithm (approx. 15 tiles/day, half day for map level change)
    5. AI support
    *6.*  Bitwise packer library ( to store user defined composite variables)

    Bitwise packer is ready and released.
    First part is ready and tested, working on part 2&4. Part 3 will be relatively easy.
    Most critical is the AI support.

    First caravan departed:

    The 7 caravan/town limit works also propely.

    For the next step I need to write approx. 11 functions, wich will definitely take time.

    Currently I have 3 ideas to improve the ai: lowering prices for caravan troops, speed boost to ai caravans, and instantly sending units from nearby external dwellings to town dwellings for free.
    I guess that 20%..80% price reduction and 20%.100% speed boost for easy..impossible would be enough. Any comments or ideas?
  • TA的每日心情
    擦汗
    2014-2-4 00:11
  • 签到天数: 144 天

    连续签到: 19 天

    [LV.7]血污怪

    710

    回帖

    9615

    金币

    0

    精华

    5级 Honorable Hero

    Rank: 5Rank: 5

    积分
    3936
    QQ
    发表于 2012-2-28 21:08:33 | 显示全部楼层
    I do not know
    ahome_bigavatar:guest
    ahome_bigavatar:welcomelogin
    您需要登录后才可以回帖 登录 | 英雄注册|Register

    本版积分规则

    捐赠
    关注我们,英3Mod一网打尽!

    WoG中文站 ( 辽B2-20210485-10 )|辽公网安备 21128202000228 号

    GMT+8, 2024-12-22 20:33 , Processed in 0.649225 second(s), 26 queries , Gzip On, File On.

    Powered by Discuz! X3.4

    Copyright © 2004-2022, Beijing Second Sight Technology Co., LTD.

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