| Blockland Forums > Modification Help |
| How to put emitters on weapons? |
| (1/2) > >> |
| Barakuda:
The thing is, that the emitter must be showing once I scroll to this item and must not stop flashing. Is it just something in the script, or do I need to add a joint to the model? Please help me. |
| TheKhoz:
It is in the script, unless you want it to be away from muzzlePoint, in which case you need to add a joint and rename it. In the script, type the name of the joint in the correct spot. Check the Weapon_Lightning script for help. |
| Barakuda:
And where can I get the weapon_lightning? I've checked these forums and wanted to take a look at the RTB Archives, but they don't seem to work. |
| TheKhoz:
I found it easy. http://forum.blockland.us/index.php?topic=70331.0 |
| Zloff:
--- Code: --- stateName[1] = "Ready"; stateTransitionOnTriggerDown[1] = "Fire"; stateTimeoutValue[1] = 0.04; stateTransitionOnTimeout[1] = "Ready"; stateWaitForTimeout[1] = true; stateAllowImageChange[1] = true; stateEmitter[1] = flamerGasEmitter; stateEmitterTime[1] = 0.07; --- End code --- There's an example of how to do that, from the TF2 Flamethower. The important things are the stateEmitter parts and constant relay back to the state "Ready" when not firing. |
| Navigation |
| Message Index |
| Next page |