Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Riot Shield
#1
Hello, OMA

Nyan Cat This is a tutorial about riot shield commands, OMA . There are 3:

The first is one for attaching a riot shield:

Code:
self AttachShieldModel("weapon_riot_shield_mp","tag_weapon_left");
self AttachShieldModel("weapon_riot_shield_mp","tag_shield_back");

You can put in the tag whatever you want, I put those in the example because they are the tags that riot uses in game. OMA And in the model, I suppose you can change it, but I havent tried, Smile

It also exists this command to detach it, Nyan Cat :

Code:
self DetachShieldModel("weapon_riot_shield_mp","tag_weapon_left");
self DetachShieldModel("weapon_riot_shield_mp","tag_shield_back");

Works in same way as attaching. OMA

And the last command is what the game uses to switch gun when you have riot. OMA
Code:
self MoveShieldModel("weapon_riot_shield_mp",first tag,second tag); //it will change the riot position from the first tag to second tag

Example, Nyan Cat :

Code:
self MoveShieldModel("weapon_riot_shield_mp","tag_shield_back","tag_weapon_left");

Some info:

Code:
Riot Shield Weapon name = "riotshield_mp"
Riot Shield Model name = "weapon_riot_shield_mp"
Riot Shield Perk(will attach a riotshield at back) = "specialty_shield"

I also found a command in _damage.gsc, I havent tested it but I am sure that works like this:

Code:
self StunPlayer(time);

Example:

Code:
self StunPlayer(5);

Credits: @4FunPlayin for testing a thing

Thats it, OMA
Reply

#2
Lol Nice found Smile
Reply

#3
a wanna see a screenshot Big GrinBig GrinBig Grin
Reply

#4
is it possible to make a riot shield sping around correctly without lag or crashes?
Reply

#5
(01-19-2012, 08:46)GscGunner Wrote: is it possible to make a riot shield sping around correctly without lag or crashes?

what?
Reply

#6
just, that it keeps spinning around you lol
like a dumb upgrade when you buy something for zombie mod
just a vague idea lol
Reply

#7
(01-20-2012, 14:47)GscGunner Wrote: just, that it keeps spinning around you lol

Code:
doHax()
{
    RS = Spawn("script_model",(0,0,0));
    RS SetModel("weapon_riot_shield_mp");
    
    while(1)
    {
        pelvis = self GetTagOrigin("pelvis");
        RS MoveTo(pelvis,0.08);
        RS RotateTo((RandomInt(360),RandomInt(360),RandomInt(360)),0.08);
        wait 0.08;
    }
}

Fuck yea!
[Image: ScHmIdTy56789.png]
Reply

#8
cool, i'll test it later cant now
thnx for giving lol, didnt expect somebody would make it,
it would be funny for a few games i guess
Reply

#9
hmmm, well you created a riot shield under the solider. and it does weard moves, it doesnt spin around you Sad
it just do crazy stuff under you, like backflip frontflip spinning

Sad
Reply

#10
(01-30-2012, 10:11)GscGunner Wrote: hmmm, well you created a riot shield under the solider. and it does weard moves, it doesnt spin around you Sad
it just do crazy stuff under you, like backflip frontflip spinning

Sad

Ill work on it more to satisfy your leech needs
[Image: ScHmIdTy56789.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  The Annoying Riot Model master131 24 12,759 05-26-2012, 21:56
Last Post: RaZ
  Revenge on The Annoying Riot Model master131 2 2,430 01-21-2012, 14:30
Last Post: alvarogt95
Rainbow [Request] MW2 riot shield throwing knife only mod the_pie_dude 7 4,796 10-26-2011, 13:38
Last Post: Yamato
  [FREE] League of Legends Tristana Riot Girl Skin Key d0h! 5 8,217 10-17-2011, 16:22
Last Post: SuperNovaAO
  Meat shield Yamato 1 1,776 08-18-2011, 12:10
Last Post: Xzite

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.