Tworzenie kombinezonu [Mod Wiki]

Artykuł “Tworzenie nowego kombinezonu” z Mod Wiki

Link do artykułu Creating New Suits

Jest to tylko maly tutorial jak stworzyć nowy Kombinezon. Jesli chcesz dodać nowy kombinezon do gry, postępuj według podanych porad.

Pliki które będą potrzebne do nowego Kombinezonu:

  • outfit.ltx

  • ui_icon_equipement.dds → jeśli chesz dodać mu nowa ikonę

  • string_table_outfit

I. Podbudowa kombinezonu

[nato_outfit]:outfit_base  

GroupControlSection	= spawn_group  

discovery_dependency =   

$spawn 			= "outfit\killer_outfit"  

;$prefetch 		= 32  

class			= E_STLK  

cform           = skeleton  

visual          = equipments\stalker_killer_suit   

actor_visual	= actors\killer\stalker_ki_antigas.ogf	---> 3rd View Visual  
  

ef_equipment_type	= 4  
  

inv_name			= nato_outfit_name --> Suit Name  

inv_name_short		= nato_outfit_name   

description			= nato_outfit_description --> Suit Discription  

inv_weight			= 7.50 ---> Suit Weight  

slot				= 6  

inv_grid_width		= 2  

inv_grid_height		= 3  

inv_grid_x			= 4  

inv_grid_y			= 15   

full_icon_name		= npc_icon_killer_outfit --> that icon in inventary when you got dressed a suit  

nightvision_sect	= effector_nightvision_bad --> NightVision  
  

cost				= 29000 --> Suit Price  

full_scale_icon		= 4,11			;èêîíêà ñòàëêåðà â êîñòþìå â ïîëíûé ðîñò  
  

immunities_sect			= sect_nato_outfit_immunities  
  

; MEDIUM RESISTANCE   

burn_protection 				= 0.5 --> Fire Burn Protection  

strike_protection 				= 0.7   

shock_protection 				= 0.5 --> Electrical Protection  

wound_protection				= 0.8   

radiation_protection 			= 0.5 --> Radiation Protection  

telepatic_protection 			= 0.2 --> Telepatic Protection (Protection from Controller Psy Attack)  

chemical_burn_protection 		= 0.4 --> Chemical Protection  

explosion_protection 			= 0.7 --> Explosion Protection   

fire_wound_protection  			= 0.80 --> Gun Shot Protection  
  

bones_koeff_protection = gilet_antigas_damage  
  

additional_inventory_weight		= 10 --> Additional Weight you can carry in kg  
  

[sect_nato_outfit_immunities] --> Suit Immunities  

burn_immunity				= 0.03  

strike_immunity				= 0.01  

shock_immunity				= 0.03  

wound_immunity				= 0.01  

radiation_immunity			= 0.00  

telepatic_immunity			= 0.00  

chemical_burn_immunity			= 0.03  

explosion_immunity			= 0.03  

fire_wound_immunity			= 0.005[/php]

II.A teraz do roboty. Zapisz kopię kombinezonu w swoim outfit.ltx (Zamień nato_outfit, nato_outfit_name, nato_outfit_discription na nazwę kombinezonu wybrana przez ciebie):



[php]GroupControlSection	= spawn_group  

discovery_dependency =   

$spawn 			= "outfit\killer_outfit"  

;$prefetch 		= 32  

class			= E_STLK  

cform           = skeleton  

visual          = equipments\stalker_killer_suit  

actor_visual	= actors\killer\stalker_ki_antigas.ogf	  
  

ef_equipment_type	= 4  
  

inv_name			= nato_outfit_name  

inv_name_short		= nato_outfit_name  

description			= nato_outfit_description  

inv_weight			= 8.0  

slot				= 6  

inv_grid_width		= 2  

inv_grid_height		= 3  

inv_grid_x			= 4  

inv_grid_y			= 15  

full_icon_name		= npc_icon_killer_outfit  

nightvision_sect	= effector_nightvision_good  
  

cost				= 10000  

full_scale_icon		= 4,11			;èêîíêà ñòàëêåðà â êîñòþìå â ïîëíûé ðîñò  
  

immunities_sect			= sect_nato_outfit_immunities  
  

; MEDIUM RESISTANCE  

burn_protection 				= 0.5  

strike_protection 				= 0.7  

shock_protection 				= 0.55  

wound_protection				= 0.88  

radiation_protection 			= 0.5  

telepatic_protection 			= 0.25  

chemical_burn_protection 		= 0.44  

explosion_protection 			= 0.7  

fire_wound_protection  			= 0.80  
  

bones_koeff_protection = gilet_antigas_damage  
  

additional_inventory_weight		= 20   
  

[sect_nato_outfit_immunities]  

burn_immunity				= 0.03  

strike_immunity				= 0.01  

shock_immunity				= 0.03  

wound_immunity				= 0.01  

radiation_immunity			= 0.00  

telepatic_immunity			= 0.00  

chemical_burn_immunity			= 0.03  

explosion_immunity			= 0.03  

fire_wound_immunity			= 0.005

Dodaj opis i nazwę kombinezonu w text\twój język\string_table_outfit:

Skonstruowany przez Instytut Obrony USA, ten Kombinezon Wojskowy jest równie mocny jak egzoszkielet. W Zonie używają go tylko Wojska NATO .  
  
  
N.A.T.O. Kombinezon Wojskowy  
[/php]

Nastepnie musisz dodać go handlarzom do sprzedazy lub rozmieścić w schowkach.



xRatx, 25 luty 2009