Creating New Suits

From Mod Wiki

Jump to: navigation, search

This is just a small tutorial about How to create new Suits. Follow this steps if you want make a new suit to the game.

Files you need for new suits:

  • outfit.ltx
  • ui_icon_equipement.dds --> if you want add it new icons
  • string_table_outfit

I. The framework of a suit

[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

II.So lets go to pratice. Write copy it to your outfit.ltx (Change nato_outfit, nato_outfit_name, nato_outfit_discription to the name of the suit you want):

[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	
 
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

Add discription and name to the suit in text\your language\string_table_outfit:

</string>
	<string id="nato_outfit_description">
		<text>Devolped by American Defence Institute, this Soldier Suit is so power as a exoskeleton. Only NATO Soldiers In the zone use it.</text>
	</string>
	<string id="nato_outfit_outfit_name">
		<text>N.A.T.O. Soldier Suit</text>
	</string>

After this , you need add then to traders to be avaible or put it on Stashes.

xRatx, 25 Febuary of 2009

Personal tools