Mirv cstrike smoke
From HLAEwiki
mirv_cstrike_smoke
Contents |
mirv_cstrike_smoke block
Syntax:
mirv_cstrike_smoke block 0|1
Default: 0
If enabled blocks the smoke creation event, thus you must enable it before the smoke is popped out. Applies to smoke grenades and other smoke puffs.
- 0
- do not block smoke
- 1
- enable, block all smoke creation events from the game.
mirv_cstrike_smoke create
Syntax:
mirv_cstrike_smoke create <x> <y> <z> <pitch> <yaw> <roll>
Allows the user to spawn custom smoke at a location he/she/it wants, supersedes #mirv_cstike_smoke block.
Example: mirv_cstrike_smoke create -841.2 -827.6 -156.6 0 0 0
Tutorial: How to add missing smoke
This assumes you know how to use DemoEdit's stufftext feature to trigger commands at specific demo times.
- Pause the demo where the smoke grenade pops (sound), but no smoke is being spawned (cuz the event did not get recorded or s.th.).
- Move to the location where the smoke grenade popped and use mirv_whereami to get the x, y and z coordinates of that location
- Add a stuff command to the DemoEdit event list, set the time box to the current demo time (where you paused) and use the following as command for the stufftext event:
mirv_cstrike_smoke create x y z 0 0 0. Replace x,y z with the coordinates from mirv_whereami.
Now everytime the demo plays over that time the stufftext command will be executed and thus the missing smoke will be spawned from the command.
You should switch to in-eye for HLTV demos, because the smoke sprites are rotated to the in-eye viewer.
