Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I have the clip item despawn and spawn a number of round items inside the container with a slight delay.
In this case of a k98 I spawn 5 k98rounds and tried to fit the delay to the reload sound.
<StatusEffect type="Always" target="Contained,This" disabledeltatime="true" delay="1" stackable="false">
<RequiredItem identifier="k98clip" type="Contained" />
<SpawnItem identifiers="k98round" spawnposition="ThisInventory" />
<SpawnItem identifiers="k98round" spawnposition="ThisInventory" />
<SpawnItem identifiers="k98round" spawnposition="ThisInventory" />
<SpawnItem identifiers="k98round" spawnposition="ThisInventory" />
<SpawnItem identifiers="k98round" spawnposition="ThisInventory" />
</StatusEffect>
<StatusEffect type="OnUse" delay="0.8">
<Sound file="%ModDir%/Sounds/Impact/Parablank1.ogg" type="OnUse" range="500" selectionmode="Random" />
<Sound file="%ModDir%/Sounds/Impact/Parablank2.ogg" type="OnUse" range="500" />
<Sound file="%ModDir%/Sounds/Impact/Parablank3.ogg" type="OnUse" range="600" />
</StatusEffect>
In the new mod version I am about to create and will probably finish around end of mai I plan to use particle effects and see how it goes.