建立新武器与导弹
units_per_container=10
hp_type=hp_gun
requires_ammo=false ;如果改成 false 表示它不需要弹药,true 则是需要。
hit_pts=2
one_shot_sound=fire_missile_regular
detonation_dist=4
lifetime=13.75 ;这边是目标搜寻时间,不要改太高了
Motor=missile_jsg_cudgel_motor
force_gun_ori=false
const_effect=rh_empmissile_drive ;本来是 pi_missile02_drive
HP_trail_parent=HPExhaust
seeker=LOCK
time_to_lock=0
seeker_range=2000 ;表示你可以在游戏中瞄准敌人的距离
seeker_fov_deg=35 ;表示你仍能锁定它的目标角度,如果你把它改成 180,你的导弹会永远不会被目标摆脱。
max_angular_velocity=2.90333 ;最高转向角度
DA_archetype=equipment\models\weapons\li_rad_missile.3db
material_library=equipment\models\li_equip.mat
ids_name=524304
ids_info=524404
mass=1
volume=0
[Gun]
nickname=missile_jsg_cudgel
ids_name=524303
ids_info=524403
DA_archetype=equipment\models\weapons\li_rad_launcher.cmp
material_library=equipment\models\li_equip.mat
HP_child=HPConnect
hit_pts=6752 ;让它很难被辐射或敌方攻击而损坏
explosion_resistance=1
debris_type=debris_normal
parent_impulse=20
child_impulse=80
volume=0
mass=10
hp_gun_type=hp_gun_special_1,hp_turret_special_1,hp_torpedo_special_1,hp_torpedo_special_2 ;加上你想让它可以被加挂的装载点
damage_per_fire=0
power_usage=0
refire_delay=.25 ;射速,这边设成一秒可以发射四次
muzzle_velocity=1000 ;这边设成灵活的导弹数值
toughness=24.5
projectile_archetype=missile_jsg_cudgel_ammo ;所需弹药
dry_fire_sound=fire_dry
separation_explosion=sever_debris
auto_turret=false
turn_rate=90
lootable=true
LODranges=0, 20, 60, 100
现在打开 market_misc.ini 档案来设定贩卖地点,先记住下面的范例叙述:
MarketGood = missile_jsg_cudgel, 0, -1, 10, 10, 0, 1
MarketGood = missile_jsg_cudgel_ammo, 0, -1, 50, 50, 0, 1
MarketGood = gun_longsword, 0, -1, 10, 10, 0, 1
然后我们找到:
[BaseGood]
base = Li01_01_base ;这表示纽约星系的曼哈顿
MarketGood = li_gun01_mark01, 0, -1, 10, 10, 0, 1
MarketGood = li_gun01_mark02, 0, -1, 10, 10, 0, 1
MarketGood = li_gun01_mark03, 0, -1, 10, 10, 0, 1
MarketGood = li_gun01_mark05, 0, -1, 10, 10, 0, 1
MarketGood = li_gun02_mark01, 0, -1, 10, 10, 0, 1
MarketGood = li_gun02_mark02, 0, -1, 10, 10, 0, 1
MarketGood = li_gun02_mark03, 0, -1, 10, 10, 0, 1
MarketGood = li_gun02_mark05, 0, -1, 10, 10, 0, 1
MarketGood = li_turret01_mark01, 0, -1, 10, 10, 0, 1
MarketGood = li_turret01_mark02, 0, -1, 10, 10, 0, 1
MarketGood = li_turret01_mark03, 0, -1, 10, 10, 0, 1
MarketGood = li_turret02_mark03, 0, -1, 10, 10, 0, 1
MarketGood = ge_s_thruster_01, 0, -1, 10, 10, 0, 1
MarketGood = ge_s_thruster_04, 0, -1, 10, 10, 0, 1
MarketGood = missile01_mark01, 0, -1, 10, 10, 0, 1
MarketGood = missile01_mark05, 0, -1, 10, 10, 0, 1
MarketGood = missile01_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile01_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile01_mark03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile01_mark04_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile01_mark05_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile02_mark01, 0, -1, 10, 10, 0, 1
MarketGood = missile02_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile02_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile02_mark03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile02_mark04_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile02_mark05_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile03_mark01, 0, -1, 10, 10, 0, 1
MarketGood = missile03_mark04, 0, -1, 10, 10, 0, 1
MarketGood = missile03_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile03_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile03_mark03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = missile03_mark04_ammo, 0, -1, 50, 50, 0, 1
MarketGood = cruise_disruptor01_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = cruise_disruptor01_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = torpedo01_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = torpedo01_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine01_mark01, 0, -1, 10, 10, 0, 1
MarketGood = mine01_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine01_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine01_mark03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine01_mark04_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine01_mark05_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine02_mark01, 0, -1, 10, 10, 0, 1
MarketGood = mine02_mark01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine02_mark02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine02_mark03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine02_mark04_ammo, 0, -1, 50, 50, 0, 1
MarketGood = mine02_mark05_ammo, 0, -1, 50, 50, 0, 1
MarketGood = ge_s_repair_01, 0, -1, 100, 100, 0, 1
MarketGood = ge_s_cm_01, 0, -1, 10, 10, 0, 1
MarketGood = ge_s_cm_01_ammo, 0, -1, 50, 50, 0, 1
MarketGood = ge_s_cm_02_ammo, 0, -1, 50, 50, 0, 1
MarketGood = ge_s_cm_03_ammo, 0, -1, 50, 50, 0, 1
MarketGood = shield01_mark01_lf, 0, -1, 10, 10, 0, 1
MarketGood = shield01_mark02_lf, 0, -1, 10, 10, 0, 1
MarketGood = shield01_mark01_hf, 0, -1, 10, 10, 0, 1
MarketGood = shield01_mark02_hf, 0, -1, 10, 10, 0, 1
MarketGood = shield01_mark01_fr, 0, -1, 10, 10, 0, 1
MarketGood = shield01_mark02_fr, 0, -1, 10, 10, 0, 1
MarketGood = ge_s_battery_01, 0, -1, 100, 100, 0, 1
MarketGood = missile_jsg_cudgel, 0, -1, 10, 10, 0, 1 ;我们加在这边
MarketGood = missile_jsg_cudgel_ammo, 0, -1, 50, 50, 0, 1 ;我们加在这边
MarketGood = gun_longsword, 0, -1, 10, 10, 0, 1 ;我们加在这边 |