- UID
- 3877792
- 主题
- 4
- 阅读权限
- 20
- 帖子
- 200
- 精华
- 0
- 积分
- 100
- 金钱
- 1790
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 952 小时
- 评议
- 0
- 帖子
- 200
- 精华
- 0
- 积分
- 100
- 金钱
- 1790
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
我在007放出的 作弊码修改第三版的荷兰人上做了些改动 Age of Pirates 2\Program\INTERFACE\Debuger.c 火炮由 32改为48
void CalculateInfoDataF17()
{
idLngFile = LanguageOpenFile("ItemsDescribe.txt");
// -->
totalInfo = descF17;
ref mc = GetMainCharacter();
mc.Ship.Type = GenerateShip(SHIP_FLYINGDUTCHMAN, true);
ref rRealShip = GetRealShip(sti(pchar.Ship.Type));
rRealShip.MaxCaliber = 48;
rRealShip.SpeedRate = 15.0;
rRealShip.TurnRate = 45.0;
rRealShip.HP = 7500;
rRealShip.WindAgainstSpeed = 3.0;
rRealShip.Capacity = 5000;
rRealShip.OptCrew = 525;
rRealShip.MaxCrew = 400;
rRealShip.MinCrew = 80;
rRealShip.Cannons.Type = CANNON_TYPE_CANNON_LBS48;
SetBaseShipData(mc);
SetCrewQuantityFull(mc);
mc.ship.sailscolor = argb(255,60,60,60 );
SetCharacterGoods(mc,GOOD_FOOD,2200);
SetCharacterGoods(mc,GOOD_BALLS,2200);
SetCharacterGoods(mc,GOOD_GRAPES,2200);
SetCharacterGoods(mc,GOOD_KNIPPELS,2200);
SetCharacterGoods(mc,GOOD_BOMBS,5200);
SetCharacterGoods(mc,GOOD_POWDER,8500);
SetCharacterGoods(mc,GOOD_Medicament,2200);
SetCharacterGoods(mc,GOOD_RUM,2200);
SetCharacterGoods(mc,GOOD_WEAPON,2200);
SetCharacterGoods(mc,GOOD_Sailcloth,0);
SetCharacterGoods(mc,GOOD_Planks,0);
Log_SetStringToLog("船只已更改为: 飞行的荷兰人");
// <--
ProcessCancelExit();
)
然后在\Age of Pirates 2\Program\CANNONS\Cannons_init.c 里改了火炮的装弹速度
在D:\Age of Pirates 2\Program\Ships\Ships_init.c里改了荷兰人的火炮类型和数量
///////////////////////////////////////////////////////////////////////////
/// Flyingdutchman
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_FLYINGDUTCHMAN]);
refShip.Name = "Flyingdutchman"; // 嗣
refship.Soundtype = "lineship";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS48;
refShip.MaxCaliber = 48;
refShip.Weight = Tonnes2CWT(2500);
refShip.Capacity = 5000;
refShip.CannonsQuantity = 200;
refShip.rcannon = 80;
refShip.lcannon = 80;
refShip.fcannon = 20;
refShip.bcannon = 20;
refShip.MaxCrew = 500;
refShip.MinCrew = 80;
refShip.BoardingCrew = 250;
refShip.GunnerCrew = 50;
refShip.CannonerCrew = 136;
refShip.SailorCrew = 500;
refShip.SpeedRate = 13.0;
refShip.TurnRate = 45.0;
refShip.Price = 500000;
refShip.HP = 7500;
refShip.SP = 100;
refship.EmblemedSails.normalTex = "ships\parus_common_torn.tga";
//refShip.AbordageLocation = "Boarding Deck_01";
refship.Type.Merchant = false;
refship.Type.War = true;
refShip.fWindAgainstSpeed = 1.0;
refShip.sea_enchantment = 1.1;
refShip.lowpolycrew = 24;
refShip.buildtime = 120;
refship.Rocking.y = 0.5;
refship.Rocking.az = 0.035;
refship.WaterLine = 0.5;
refship.SpeedDependWeight = 0.35;
refship.SubSeaDependWeight = 1.0;
refship.TurnDependWeight = 0.4;
refship.WindAgainstSpeed = 3.8;//boal
refship.CabinType = "CabineFDM"; // boal 28.03.05
refship.DeckType = "Big";
refship.InertiaAccelerationX = 4.0; refship.InertiaBrakingX = 3.5;
refship.InertiaAccelerationY = 3.0; refship.InertiaBrakingY = 2.5;
refship.InertiaAccelerationZ = 4.0; refship.InertiaBrakingZ = 3.5;
refShip.GeraldSails.rey_b2 = 1;
refShip.GeraldSails.rey_b3 = 1;
refShip.GeraldSails.rey_b1 = 1;
refShip.GeraldSails.rey_b1.vscale = 0.8;
refShip.GeraldSails.rey_b2.vscale = 0.65;
refShip.GeraldSails.rey_b3.vscale = 0.55;
refship.Track.Enable = true;
refship.Track1.ZStart = 0.25;
refship.Track1.LifeTime = 9.5;
refship.Track1.Width = "7.0, 7.5";
refship.Track1.Speed = "8.0, 9.0";
refship.Track2.ZStart = -0.15;
refship.Track2.LifeTime = 7.5;
refship.Track2.Width = "8.0, 10.0";
refship.Track2.Speed = "1.0, 2.0";
结果 出现的问题是:
一、可装最大火炮类型变为48,但是买不到这种炮
二、船只可装最大火炮数量仍然为60
三、船的模型是改为了荷兰人,但是名字仍是以前的船名
小弟不懂得修改,这是看了别人的修改后 自己突发奇想 根据自己的逻辑做的改动,但是无任何效果。
希望各位达人能给我点意见或者直接帮我做一个修改,荷兰人200门42或者48的炮,装弹速度缩短,在此先谢了 |
|