注册 | 登录

游侠NETSHOW论坛





查看: 2509|回复: 0
打印 上一主题 下一主题

[求助] 沉船之城用Debuger.c添加船只中mc.ship.sailscolor是啥意思? [复制链接]

帖子
3
精华
0
积分
2
金钱
55
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2010-10-10 14:45:59 |只看该作者 |倒序浏览
string descF17 = "主角获得 超级皇家方舟一艘";

void CalculateInfoDataF17()
{
        idLngFile = LanguageOpenFile("ItemsDescribe.txt");
          // -->
        totalInfo = descF17;
        ref mc = GetMainCharacter();
        mc.Ship.Type = GenerateShip(SHIP_SOLEYRU, true);
        ref rRealShip = GetRealShip(sti(pchar.Ship.Type));
        //rRealShip.Cannons.Type = CANNON_TYPE_CANNON_LBS48;
        //Pchar.ship.cannons.type = 48;
        rRealShip.MaxCaliber = 48;
        rRealShip.Weight = Tonnes2CWT(1000000);
        rRealShip.Capacity = 1000000;
        //rRealShip.CannonsQuantity = 250;
        //rRealShip.rcannon = 100;
        //rRealShip.lcannon = 100;
        //rRealShip.fcannon = 20;
        //rRealShip.bcannon = 30;
        rRealShip.MaxCrew = 3750;
        rRealShip.MinCrew = 300;
        rRealShip.OptCrew = 3000;
        rRealShip.BoardingCrew = 1000;
        rRealShip.GunnerCrew = 1000;
        rRealShip.CannonerCrew = 500;
        rRealShip.SailorCrew = 3000;
        rRealShip.SpeedRate = 100.0;
        rRealShip.TurnRate = 400.0;
        rRealShip.HP = 50000;
        rRealShip.SP = 10000;
        rRealShip.WindAgainstSpeed = 9.99;

        SetBaseShipData(mc);
        Log_SetStringToLog("船只货物已装载完毕");
        SetCrewQuantityFull(mc);
        Log_SetStringToLog("船只水手已满");

        mc.ship.sailscolor = argb(160,141,141,211);  

        SetCharacterGoods(mc,GOOD_FOOD,10000);
        //SetCharacterGoods(mc,GOOD_BALLS,10000);
        //SetCharacterGoods(mc,GOOD_GRAPES,10000);
        //SetCharacterGoods(mc,GOOD_KNIPPELS,10000);
        SetCharacterGoods(mc,GOOD_BOMBS,10000);
        SetCharacterGoods(mc,GOOD_POWDER,10000);
        SetCharacterGoods(mc,GOOD_Medicament,10000);
        SetCharacterGoods(mc,GOOD_RUM,10000);
        SetCharacterGoods(mc,GOOD_WEAPON,10000);
        SetCharacterGoods(mc,GOOD_SAILCLOTH,10000);
        SetCharacterGoods(mc,GOOD_PLANKS,10000);
        Log_SetStringToLog("船只改为: 皇家方舟");

    // <--
  ProcessCancelExit();
}


请问,上面中mc.ship.sailscolor = argb(160,141,141,211);  这句话是什么意思?

谢谢解答

使用道具 举报

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

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

GMT+8, 2025-7-29 12:28 , Processed in 0.353729 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到