Come_with_me | Дата: Среда, 26.01.2011, 16:14 | Сообщение # 1 |
Создатель сайта
Группа: Администрация
Сообщений: 31
Статус: Offline
| к примеру кровавый дракон с помощью bini раскодируем DATA\SHIPS\shiparch.ini , DATA\EQUIPMENT\goods.ini и DATA\EQUIPMENT\market_ships.ini открывем shiparch.ini. жмем F3 и вводим в поиске nickname = ku_dragon что мы увидим: [Ship] ids_name = 237027; ник корабля ;описание ids_info = 66555 ids_info1 = 66556 ids_info2 = 66608 ids_info3 = 66557 ship_class = 1; класс корабля (0 - легкий истребитель, 1 - тя жёлый истребитель, 2 - транспорт, 3 - сверх тяжёлый истребитель) nickname = ku_dragon msg_id_prefix = gcs_refer_shiparch_hfighter mission_property = can_use_berths LODranges = 0, 40, 80, 180, 1000 type = FIGHTER ;тип корыта DA_archetype = ships\kusari\ku_blood_dragon\ku_dragon.cmp ;модель корабля material_library = ships\kusari\ku_blood_dragon.mat ; текстура корабля material_library = fx\envmapbasic.mat envmap_material = envmapbasic cockpit = cockpits\kusari\k_elite.ini ; накстройки кокпита (вид из кабины, камера в режиме турели) pilot_mesh = generic_pilot ;пилот mass = 150.000000 ;масса linear_drag = 1.000000; сопротивляемость к движениям (стрейфы и т.д.) hold_size = 35 ;трюм fuse = intermed_damage_smallship01, 0.000000, 900 fuse = intermed_damage_smallship02, 0.000000, 450 fuse = intermed_damage_smallship03, 0.000000, 300 max_bank_angle = 30 camera_offset = 7, 24 ;камера от 3го лица camera_angular_acceleration = 0.060000 camera_horizontal_turn_angle = 20 camera_vertical_turn_up_angle = 10 camera_vertical_turn_down_angle = 20 camera_turn_look_ahead_slerp_amount = 1.000000 hit_pts = 3600;броня explosion_arch = explosion_ku_elite;модель взрыва surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03 surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03 surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03 ;маневренность steering_torque = 43000.000000, 43000.000000, 183000.000000 angular_drag = 41000.000000, 41000.000000, 141000.000000 rotation_inertia = 8400.000000, 8400.000000, 8400.000000 ;------------- nudge_force = 30000.000000; скорее всего сила толчка любого объекта которого коснулась модель корабля. strafe_force = 20000 ; сила стрейфов strafe_power_usage = 2;энергия которую затрачивает стрейф bay_door_anim = Sc_open baydoor; анимация открытия/закрытия трюма bay_doors_open_snd = cargo_doors_open;звуковой эфект с которой откроется дверь трюма bay_doors_close_snd = cargo_doors_close;звуковой эфект с которой закроется дверь трюма HP_bay_surface = HpBayDoor01;то откуда будет вылетать груз из трюма(в cmp должно быть за дверями трюма) HP_bay_external = HpBayDoor02;то где остановится выброшеное барохло из трюма HP_tractor_source = HpTractor_Source; луч тяги num_exhaust_nozzles = 2;кол-во двигателей shield_link = k_elite_shield01, HpMount, HpShield01 ;модель щита должено соответствовать .cmp иначе будет не красиво ;пушки, тут я ничего трогать не буду, мне стандарт нравится hp_type = hp_gun_special_9, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04 hp_type = hp_gun_special_8, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_7, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_6, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06 ;щит hp_type = hp_elite_shield_special_9, HpShield01 hp_type = hp_elite_shield_special_8, HpShield01 hp_type = hp_elite_shield_special_7, HpShield01 hp_type = hp_elite_shield_special_6, HpShield01 hp_type = hp_elite_shield_special_5, HpShield01 hp_type = hp_elite_shield_special_4, HpShield01 hp_type = hp_elite_shield_special_3, HpShield01 hp_type = hp_elite_shield_special_2, HpShield01 hp_type = hp_elite_shield_special_1, HpShield01 hp_type = hp_thruster, HpThruster01; форсаж hp_type = hp_mine_dropper, HpMine01;мина hp_type = hp_countermeasure_dropper, HpCM01; обманка(cm) hp_type = hp_torpedo_special_1, HpTorpedo01; возможность установки торпеды hp_type = hp_torpedo_special_2, HpTorpedo01;возможность установки васпа ;дополняем корабль, он прописан не полностью nanobot_limit = 34; кол-во наноботов shield_battery_limit = 34; лимит батареек щита. ;и вот у нас прописан полностью Кровавый Дракон, сохраняем. открываем goods.ini в конце добовляем: [Good] nickname = kd_hull category = shiphull ship = ku_dragon ; никнэйм корабля (прописано в shiparch.ini) price = 303200 ;цена(для теста можно и поставить 1) ids_name = 12006 item_icon = Equipment\models\commodities\nn_icons\ku_elite.3db; моделька в магазине [Good] nickname = kd_package category = ship hull = kd_hull addon = ge_ke_engine_01, internal, 1;движок addon = bw_elite2_power01, internal, 1;энергогинератор addon = ge_s_scanner_01, internal, 1;сканер addon = ge_s_tractor_01, internal, 1;луч тягач addon = shield01_mark07_hf, HpShield01, 1;щит при покупке ;лампы addon = LargeWhiteSpecial, HpHeadlight, 1;это белый фонарь который стоит на всех кораблях. addon = SlowSmallGreen, HpRunningLight01, 1 addon = SlowSmallGreen, HpRunningLight02, 1 addon = SlowSmallGreen, HpRunningLight03, 1 addon = SlowSmallGreen, HpRunningLight04, 1 addon = SlowSmallGreen, HpRunningLight05, 1 addon = SlowSmallGreen, HpRunningLight06, 1 addon = SlowSmallGreen, HpRunningLight07, 1 addon = SlowSmallGreen, HpRunningLight08, 1 addon = SlowSmallGreen, HpRunningLight09, 1 addon = SlowSmallGreen, HpRunningLight10, 1 ;это полосы от острых краев крыльев. addon = contrail01, HpContrail01, 1 addon = contrail01, HpContrail02, 1 addon = contrail01, HpContrail03, 1 addon = contrail01, HpContrail04, 1 ;доковые лампочки. addon = DockingLightRedSmall, HpDockLight01, 1 addon = DockingLightRedSmall, HpDockLight02, 1 сохраняем. открываем market_ships.ini жмем F3 и вводим base = Li01_01_base ; манхэтен для теста. видим: [BaseGood] base = Li01_01_base marketgood = gf1_package, 0, -1, 0, 0, 1, 1, 1 marketgood = gf2_package, 4, -1, 1, 1, 0, 1, 1 marketgood = gf4_package, 13, -1, 0, 0, 1, 1, 1 marketgood = gf5_package, 24, -1, 0, 0, 1, 1, 1 marketgood = gf6_package, 30, -1, 0, 0, 1, 1, 1 marketgood = bwf_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bwe_package, 20, -1, 0, 0, 1, 1, 1 marketgood = bwe2_package, 30, -1, 0, 0, 1, 1, 1 marketgood = bwfr_package, 10, -1, 0, 0, 1, 1, 1 marketgood = cof_package, 8, -1, 0, 0, 1, 1, 1 marketgood = coe_package, 28, -1, 0, 0, 1, 1, 1 marketgood = coe2_package, 32, -1, 0, 0, 1, 1, 1 marketgood = lf_package, 1, -1, 1, 1, 0, 1, 1 marketgood = le_package, 2, -1, 0, 0, 1, 1, 1 marketgood = lfr_package, 1, -1, 1, 1, 0, 1, 1 marketgood = bf_package, 6, -1, 0, 0, 1, 1, 1 marketgood = be_package, 8, -1, 0, 0, 1, 1, 1 marketgood = bfr_package, 4, -1, 0, 0, 1, 1, 1 marketgood = kf_package, 10, -1, 0, 0, 1, 1, 1 marketgood = ke_package, 13, -1, 0, 0, 1, 1, 1 marketgood = kfr_package, 10, -1, 0, 0, 1, 1, 1 marketgood = rf_package, 20, -1, 0, 0, 1, 1, 1 marketgood = re_package, 22, -1, 0, 0, 1, 1, 1 marketgood = rfr_package, 20, -1, 0, 0, 1, 1, 1 marketgood = pf_package, 2, -1, 0, 0, 1, 1, 1 marketgood = pe_package, 13, -1, 0, 0, 1, 1, 1 marketgood = pfr_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bhf_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bhe_package, 13, -1, 0, 0, 1, 1, 1 marketgood = bhe2_package, 26, -1, 0, 0, 1, 1, 1 marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1 ;;;;;;;;;;;;;;;;;;;;;;;;; заменяем marketgood = lfr_package, 1, -1, 1, 1, 0, 1, 1 на marketgood = kd_package, 1, -1, 1, 1, 0, 1, 1 общий вид: [BaseGood] base = Li01_01_base marketgood = gf1_package, 0, -1, 0, 0, 1, 1, 1 marketgood = gf2_package, 4, -1, 1, 1, 0, 1, 1 marketgood = gf4_package, 13, -1, 0, 0, 1, 1, 1 marketgood = gf5_package, 24, -1, 0, 0, 1, 1, 1 marketgood = gf6_package, 30, -1, 0, 0, 1, 1, 1 marketgood = bwf_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bwe_package, 20, -1, 0, 0, 1, 1, 1 marketgood = bwe2_package, 30, -1, 0, 0, 1, 1, 1 marketgood = bwfr_package, 10, -1, 0, 0, 1, 1, 1 marketgood = cof_package, 8, -1, 0, 0, 1, 1, 1 marketgood = coe_package, 28, -1, 0, 0, 1, 1, 1 marketgood = coe2_package, 32, -1, 0, 0, 1, 1, 1 marketgood = lf_package, 1, -1, 1, 1, 0, 1, 1 marketgood = le_package, 2, -1, 0, 0, 1, 1, 1 marketgood = kd_package, 1, -1, 1, 1, 0, 1, 1 marketgood = bf_package, 6, -1, 0, 0, 1, 1, 1 marketgood = be_package, 8, -1, 0, 0, 1, 1, 1 marketgood = bfr_package, 4, -1, 0, 0, 1, 1, 1 marketgood = kf_package, 10, -1, 0, 0, 1, 1, 1 marketgood = ke_package, 13, -1, 0, 0, 1, 1, 1 marketgood = kfr_package, 10, -1, 0, 0, 1, 1, 1 marketgood = rf_package, 20, -1, 0, 0, 1, 1, 1 marketgood = re_package, 22, -1, 0, 0, 1, 1, 1 marketgood = rfr_package, 20, -1, 0, 0, 1, 1, 1 marketgood = pf_package, 2, -1, 0, 0, 1, 1, 1 marketgood = pe_package, 13, -1, 0, 0, 1, 1, 1 marketgood = pfr_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bhf_package, 4, -1, 0, 0, 1, 1, 1 marketgood = bhe_package, 13, -1, 0, 0, 1, 1, 1 marketgood = bhe2_package, 26, -1, 0, 0, 1, 1, 1 marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1 сохраняем подымаем свой сервер покупаем корыто и радуемся;) Спасибо за предоставленную информацию Sijei aka Wolf
Все письма только на имейл
|
|
| |