ItsMods
[Tutorial] Shellshocks - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Tutorial] Shellshocks (/Thread-Tutorial-Shellshocks.html)



Shellshocks - Yamato - 07-27-2011

Hello, Nyan Cat

Another tutorial, this time about shellshocks, in a easy way:

First of all, how to precache a shellshock that you are going to use, goes in Init():

Code:
PrecacheShellshock("shellshock name");

To play a shellshock on a player:

Code:
self shellshock("shellshock you precached", time to play the shellshock);

To stop a shellshock use:

Code:
self StopShellShock();

You can also make some "custom" "shellshocks"/earthquakes like this: go into _shellshock.gsc and at the bottom you will find a few: something_earthquake(), lets make our own one:

Code:
tutorial_earthQuake() { PlayRumbleOnPosition( "artillery_rumble", self.origin ); earthquake( 1, 1, self.origin, 1000 ); self shellshock("death", 2); //remember to precache "death" shellshock. }

Now we can just thread it to get our "custom shellshock" and it will play those effects on the player:

Code:
self thread maps\mp\gametypes\_shellshock::tutorial_earthQuake();

A list of shellshocks, you can find the rest with FF viewer, all this shocks are files called like pain.shock:

Code:
death pain damage_mp ac130 barrett concussion_grenade_mp default dog_bite estate_bouncingbetty airport flashbang_mp frag_grenade_mp tankblast teargas victoryscreen



RE: Shellshocks - Nekochan - 07-27-2011

/facepalm
dog_bite dont work .... this is from sp


RE: Shellshocks - Yamato - 07-27-2011

(07-27-2011, 16:21)Se7en Wrote: /facepalm
dog_bite dont work .... this is from sp

I thought all work, Undecided


RE: Shellshocks - _Smile_Man_ - 08-01-2011

You have used this in your OMA zombie mod in a different way.


RE: Shellshocks - Yamato - 08-01-2011

(08-01-2011, 09:05)_Smile_Man_ Wrote: You have used this in your OMA zombie mod in a different way.

No, not all this, just a few things. Tongue


RE: Shellshocks - _Smile_Man_ - 08-01-2011

Ihaven't got inspiration for my following mod.
can you help me yamato?



RE: Shellshocks - Yamato - 08-01-2011

(08-01-2011, 10:40)_Smile_Man_ Wrote: Ihaven't got inspiration for my following mod.
can you help me yamato?

I am really busy sorry, Undecided


RE: Shellshocks - _Smile_Man_ - 08-01-2011

(08-01-2011, 10:59)Yamato Wrote:
(08-01-2011, 10:40)_Smile_Man_ Wrote: Ihaven't got inspiration for my following mod.
can you help me yamato?

I am really busy sorry, Undecided

k, but nice tutorials that you make!