汉之殇无敌修改第三弹—毁天灭地
本帖最后由 alewthia 于 2013-5-22 17:47 编辑偶然发现汉之殇的箭矢里,有中世纪的子弹和加农炮等模型,突发奇想,能否将热兵器用在三国里呢?说做就做打开安装目录\mods\sanguo\data,打开descr_projectile.txt,找到加农炮的箭矢模型projectile cannon_shoteffect cannon_ball_medium_setend_effect ground_impact_bombard_setend_man_effect man_impact_catapult_setend_package_effect wall_impact_cannons_setend_shatter_effect ground_impact_bombard_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect wall_impact_cannons_set;area_effect ae_cannon_shot_largedamage 250damage_to_troops 30radius 0.3mass 3.5area 12.0accuracy_vs_units 0.05accuracy_vs_buildings 0.035accuracy_vs_towers 0.025 min_angle -15max_angle 30velocity 90;ground_shatterbounce 0.01 0.01 0.93 0.5body_piercingdisplay aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_onlyprojectile exploding_cannon_shotexploding cannon_shoteffect cannon_ball_medium_setend_effect ground_impact_explosion_culvern_setend_man_effect man_impact_catapult_setend_package_effect ground_impact_wall_explosion_culvern_setend_shatter_effect ground_impact_explosion_culvern_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect ground_impact_wall_explosion_culvern_setarea_effect ae_cannon_shot_largedamage 250damage_to_troops 30radius 0.3mass 4.5area 15.0accuracy_vs_units 0.065accuracy_vs_buildings 0.0375accuracy_vs_towers 0.025 min_angle -15max_angle 30velocity 90ground_shatterbody_piercing;bounce 0.5 0.6 0.5 0.4display aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_only修改红色字体部分,紫色为解释projectile nuke(名字)effect cannon_ball_medium_setend_effect ground_impact_bombard_setend_man_effect man_impact_catapult_setend_package_effect wall_impact_cannons_setend_shatter_effect ground_impact_bombard_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect wall_impact_cannons_set;area_effect ae_cannon_shot_largedamage 250(对建筑伤害)damage_to_troops 30(对部队伤害)radius 0.3mass 3.5(质量,越大约把人击飞更远)area 12.0(作用范围,改成1000就真的是原子弹了)accuracy_vs_units 0.05(对部队准确率,越小越准确,但是打不中移动目标,太大则…….有可能打中自己的部队)accuracy_vs_buildings 0.035(对建筑物准确率)accuracy_vs_towers 0.025 (对箭塔准确率)min_angle -15(向下攻击角度)max_angle 30(向上攻击角度)velocity 90(速度);ground_shatterbounce 0.01 0.01 0.93 0.5(地面弹跳,弹跳后仍有伤害)body_piercingdisplay aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_onlyprojectile exploding_nuke(爆炸加农弹)exploding nukeeffect cannon_ball_medium_setend_effect ground_impact_explosion_culvern_setend_man_effect man_impact_catapult_setend_package_effect ground_impact_wall_explosion_culvern_setend_shatter_effect ground_impact_explosion_culvern_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect ground_impact_wall_explosion_culvern_setarea_effect ae_cannon_shot_largedamage 250damage_to_troops 30radius 0.3mass 4.5area 15.0accuracy_vs_units 0.0125accuracy_vs_buildings 0.0375accuracy_vs_towers 0.025 min_angle -60max_angle 80velocity 90ground_shatterbody_piercing;bounce 0.5 0.6 0.5 0.4(爆炸弹不能改弹跳,否则跳出)display aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_only然后将这个用在了弓矢部队身上,修改红色字体部分type gongqishidictionary gongqishicategory cavalryclass missilevoice_type Lightbanner faction main_cavalrybanner holy crusade_cavalrysoldier baimayicong, 32, 0, 1mount zhongxingbaimamount_effect elephant -4, camel -4attributes sea_faring, hide_anywhere, very_hardy, can_withdraw, horse_archers, cantabrian_circle, frighten_foot, frighten_mounted, command, warcrymove_speed_mod 1.0formation 2, 4.4, 3, 6, 3, squarestat_health 1, 0stat_pri 18, 4, exploding_nuke, 600, 80, missile, missile_mechanical, piercing, none, 0, 1stat_pri_attr ap, bp, area,launchingstat_sec 16, 10, no, 0, 0, melee, melee_blade, piercing, sword, 60, 1 ; light swstat_sec_attr apstat_pri_armour16, 16, 0, fleshstat_sec_armour0, 0, fleshstat_heat 1stat_ground 10, 10, 10, 10stat_mental 18, disciplined, highly_trainedstat_charge_dist 20stat_fire_delay0stat_food 60, 300stat_cost 1, 3200, 960, 200, 200, 555, 1, 100armour_ug_levels 3, 4, 5armour_ug_models baimayicong, baimayicong, baimayicongownership franceera 0 franceera 1 franceera 2 francerecruit_priority_offset35进游戏尝试了下,居然…….成功了,4队弓骑士射出的是爆炸型加农炮,4轮齐射,还没近身敌方满编的步兵都举白旗了,不过测试时,由于机器问题,导致了感叹号跳出~查找了下原因,估计是320个弓骑士同时射出加农炮,太消耗显卡,吃不消了~~果断再次修改箭矢模型projectile nuke(名字);effect cannon_ball_medium_set(在此行前加入分号;,表示本行不读取,或直接删除本行);end_effect ground_impact_bombard_setend_man_effect man_impact_catapult_setend_package_effect wall_impact_cannons_setend_shatter_effect ground_impact_bombard_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect wall_impact_cannons_set;area_effect ae_cannon_shot_largedamage 250(对建筑伤害)damage_to_troops 30(对部队伤害)radius 0.3mass 3.5(质量,越大约把人击飞更远)area 12.0(作用范围,改成1000就真的是原子弹了)accuracy_vs_units 0.05(对部队准确率,越小越准确,但是打不中移动目标,太大则…….有可能打中自己的部队)accuracy_vs_buildings 0.035(对建筑物准确率)accuracy_vs_towers 0.025 (对箭塔准确率)min_angle -15(向下攻击角度)max_angle 30(向上攻击角度)velocity 90(速度);ground_shatterbounce 0.01 0.01 0.93 0.5(地面弹跳,弹跳后仍有伤害)body_piercingdisplay aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_onlyprojectile exploding_nuke(爆炸加农弹)exploding nuke;effect cannon_ball_medium_set(同样要改);end_effect ground_impact_explosion_culvern_setend_man_effect man_impact_catapult_setend_package_effect ground_impact_wall_explosion_culvern_setend_shatter_effect ground_impact_explosion_culvern_setend_shatter_man_effect man_impact_catapult_setend_shatter_package_effect ground_impact_wall_explosion_culvern_setarea_effect ae_cannon_shot_largedamage 250damage_to_troops 30radius 0.3mass 4.5area 15.0accuracy_vs_units 0.0125accuracy_vs_buildings 0.0375accuracy_vs_towers 0.025 min_angle -60max_angle 80velocity 90ground_shatterbody_piercing;bounce 0.5 0.6 0.5 0.4(爆炸弹不能改弹跳,否则跳出)display aimed ;effect_only; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?;stuckeffect_only再次进入游戏测试,屡战未再跳出~弓骑士射出的东西,在空中还是箭矢,落地就是爆炸,场面无比震撼,也觉得这种修改已经超越了三国这个时代,到此,无敌兵种修改已经结束~我会将以前的帖子贴上相应的图片,希望三连贴申精~不懂的同志请先看汉之殇无敌修改第一弹--手把手教你如何添加新兵种http://www.1mod.org/thread-93293-1-1.html汉之殇无敌修改第二弹—无敌兵种修改http://www.1mod.org/thread-93312-1-1.html
[发帖际遇]: 张飞长坂坡一声吼,风的传说跌落马下,骨折疗伤花了 17 枚 金币. 很好!很强大!
鱼腹浦搬石 路过瞧瞧~ {:5_144:} 好强大啊!~~~~~~~~~~~~~~~~~~~~~~~~~~ 路见不平一声吼啊 弓弩兵的射速。。。霹雳车的火力。。。 随便看看~ 看看~。。。。 强大是强大就是没意思啦 楼主是妖怪啊{:soso_e113:},{:soso_e179:},太变态了;;;;;;; 非常感谢提供的修改方法 {:5_112:}{:5_112:}不错啊{:5_112:}{:5_112:} 董卓派卫士上门向阿毛问钱,被拿走了 10 枚 金币.{:5_112:}{:5_112:} {:5_112:} 还用玩嘛 看看看看看看 看看看看 頂一下{:5_106:} 看看
看看
看看
看看
看看
看看