Ru/$bodygroup: Difference between revisions
< Ru
Jump to navigation
Jump to search
m (otherlang2'd) |
|||
Line 4: | Line 4: | ||
См. [[Body Groups]]. | См. [[Body Groups]]. | ||
== | == Пример == | ||
<source lang=php> | |||
$bodygroup sights | |||
{ | |||
studio "ironsights.smd" | |||
studio "laser_dot.smd" | |||
<...> | |||
} | |||
</source> | |||
Эта боди-группа позволяет оружию иметь несколько составных частей, например прицел, глушитель и.т.п. | |||
<source lang=php> | |||
$bodygroup chest | |||
{ | |||
studio "chest_with_no_armor.smd" | |||
studio "chest_with_light_armor.smd" | |||
studio "chest_with_heavy_armor.smd" | |||
studio "chest_with_super_armor.smd" | |||
} | |||
</source> | |||
Эта боди-группа позволяет сменять вид брони на теле игрока. |
Revision as of 10:21, 6 October 2013
Template:Otherlang2 См. Body Groups.
Пример
$bodygroup sights
{
studio "ironsights.smd"
studio "laser_dot.smd"
<...>
}
Эта боди-группа позволяет оружию иметь несколько составных частей, например прицел, глушитель и.т.п.
$bodygroup chest
{
studio "chest_with_no_armor.smd"
studio "chest_with_light_armor.smd"
studio "chest_with_heavy_armor.smd"
studio "chest_with_super_armor.smd"
}
Эта боди-группа позволяет сменять вид брони на теле игрока.