Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Примитивная многоприцельность с использованием переспауна
На оружие можно устанаваливать прицелы, которые указаны в scope_name и в scope_names. В последнем можно указывать список через запятую. При установке прицела ищется параметр scope_respawn_СЕКЦИЯ_ПРИЦЕЛА и если найдена, и в качестве значения указана секция отличная от текущей, то оружие переспаунивается с использованием этой секции. Если прицел снимается, то проверяется значение параметра scope_respawn Пример [wpn_hk416_acog] scope_name = wpn_addon_elcan scope_respawn_wpn_addon_elcan = wpn_m4a1_acog [wpn_m4a1_acog]:wpn_m4a1 scope_respawn = wpn_hk416_acog В этом примере на wpn_hk416_acog ставится прицел wpn_addon_elcan. При установке прицела оружие будет заменено на wpn_m4a1_acog. При снятии с него прицела оружие будет заменено обратно на wpn_hk416_acog.
- Loading branch information
Showing
7 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2545e10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Такой прикол сработает с ганс пушками?
2545e10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А чем отличаются Ганс пушки от других?
2545e10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В гансе на пушках прицелы все на одном худе, надеваешь прицел и кости появляються. В сткопе (для сравнения) для прицела заготовлены секции и худовые модели. А в этом примере именно смена худа ака сткоп.