Post: [Script] Set Fire To A Player
09-03-2012, 05:59 AM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});
Well, i always liked doing this on Mw2 to people, so i recreated it i guess..... Anyway, Please Note, You Need to Change the "player=level.players[self.PlayerNum];" part to whatever your player variable is......

Put This Under Init()
    
level.flamer = loadfx("fire/tank_fire_engine");


Put This Anywhere
    
doFire()
{
player=level.players[self.PlayerNum];
player.body = [];
player.body[0] = "tag_origin";
player.body[1] = "j_mainroot";
player.body[2] = "pelvis";
player.body[3] = "j_hip_le";
player.body[4] = "j_hip_ri";
player.body[5] = "torso_stabilizer";
player.body[6] = "j_chin_skinroll";
player.body[7] = "back_low";
player.body[8] = "j_knee_le";
player.body[9] = "j_knee_ri";
player.body[10] = "back_mid";
player.body[11] = "j_ankle_le";
player.body[12] = "j_ankle_ri";
player.body[13] = "j_ball_le";
player.body[14] = "j_ball_ri";
player.body[15] = "j_spine4";
player.body[16] = "j_clavicle_le";
player.body[17] = "j_clavicle_ri";
player.body[18] = "j_neck";
player.body[19] = "j_head";
player.body[20] = "j_shoulder_le";
player.body[21] = "j_shoulder_ri";
player.body[22] = "j_elbow_bulge_le";
player.body[23] = "j_elbow_bulge_ri";
player.body[24] = "j_elbow_le";
player.body[25] = "j_elbow_ri";
player.body[26] = "j_shouldertwist_le";
player.body[27] = "j_shouldertwist_ri";
player.body[28] = "j_wrist_le";
player.body[29] = "j_wrist_ri";
player.body[30] = "j_wristtwist_le";
player.body[31] = "j_wristtwist_ri";
player.body[32] = "j_index_le_1";
player.body[33] = "j_index_ri_1";
player.body[34] = "j_mid_le_1";
player.body[35] = "j_mid_ri_1";
player.body[36] = "j_pinky_le_1";
player.body[37] = "j_pinky_ri_1";
player.body[38] = "j_ring_le_1";
player.body[39] = "j_ring_ri_1";
player.body[40] = "j_thumb_le_1";
player.body[41] = "j_thumb_ri_1";
player.body[42] = "tag_weapon_left";
player.body[43] = "tag_weapon_right";
player.body[44] = "j_index_le_2";
player.body[45] = "j_index_ri_2";
player.body[46] = "j_mid_le_2";
player.body[47] = "j_mid_ri_2";
player.body[48] = "j_pinky_le_2";
player.body[49] = "j_pinky_ri_2";
player.body[50] = "j_ring_le_2";
player.body[51] = "j_ring_ri_2";
player.body[52] = "j_thumb_le_2";
player.body[53] = "j_thumb_ri_2";
player.body[54] = "j_index_le_3";
player.body[55] = "j_index_ri_3";
player.body[56] = "j_mid_le_3";
player.body[57] = "j_mid_ri_3";
player.body[58] = "j_pinky_le_3";
player.body[59] = "j_pinky_ri_3";
player.body[60] = "j_ring_le_3";
player.body[61] = "j_ring_ri_3";
player.body[62] = "j_thumb_le_3";
player.body[63] = "j_thumb_ri_3";
player.body[64] = "j_spine4";
player.body[65] = "j_neck";
player.body[66] = "j_head";
player.body[67] = "j_cheek_le";
player.body[68] = "j_cheek_ri";
player.body[69] = "j_head_end";
player.body[70] = "j_jaw";
player.body[71] = "j_levator_le";
player.body[72] = "j_levator_ri";
player.body[73] = "j_lip_top_le";
player.body[74] = "j_lip_top_ri";
player.body[75] = "j_mouth_le";
player.body[76] = "j_mouth_ri";
player.body[77] = "tag_eye";
player.FIRE=level.flamer;
player iPrintlnBold("^2It's Like A Sauna In Here!");
for(;Winky Winky
{
for(i=0;i<78;i++)
{
playFxOnTag(player.FIRE, player, player.body[i]);
wait 0.01;
}
wait 0.1;
}
}


And then obviously thread it:
    
self AddMenuAction( "Player_Rank", 11, "Set Player On Fire", ::doFire, "" );


Hope you all like it Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 11 users say thank you to Taylor for this useful post:

:HIGH:, .BrainzModding, Harry, Hawkin, Jacob-And-Britt, Razorcut2015, ICS Vortex, Simple-_-Modz, Uk_ViiPeR, xRaW
09-04-2012, 07:24 PM #29
Taylor
Former Black Knight.
Originally posted by The
Why are you ranking them to 11 before you set them on fire ?


I'm not man..... Player_rank is a menu name, and 11 is the option number Winky Winky
09-04-2012, 08:05 PM #30
Originally posted by xYARDSALEx View Post
I'm not man..... Player_rank is a menu name, and 11 is the option number Winky Winky


Shows what I know. But then again, I am Mexican :dumb:
09-04-2012, 08:17 PM #31
Taylor
Former Black Knight.
Originally posted by The
Shows what I know. But then again, I am Mexican :dumb:


:think: Seems Legit.
09-06-2012, 04:13 PM #32
xRaW
xI2aW-
Originally posted by IVI40A3Fusionz View Post
YUNO use strTok to make it half the size?

Using strTok:
    
doFire()
{
player = level.players[self.PlayerNum];
player.body = strTok("tag_origin;j_mainroot;pelvis;j_hip_le;j_hip_ri;torso_stabilizer;j_chin_skinroll;back_low;j_knee_le;j_knee_ri;back_mid;j_ankle_le;j_ankle_ri;j_ball_le;j_ball_ri;j_spine4;j_clavicle_le;j_clavicle_ri;j_neck;j_head;j_shoulder_le;j_shoulder_ri;j_elbow_bulge_le;j_elbow_bulge_ri;j_elbow_le;j_elbow_ri;j_shouldertwist_le;j_shouldertwist_ri;j_wrist_le;j_wrist_ri;j_wristtwist_le;j_wristtwist_ri;j_index_le_1;j_index_ri_1;j_mid_le_1;j_mid_ri_1;j_pinky_le_1;j_pinky_ri_1;j_ring_le_1;j_ring_ri_1;j_thumb_le_1;j_thumb_ri_1;tag_weapon_left;tag_weapon_right;j_index_le_2;j_index_ri_2;j_mid_le_2;j_mid_ri_2;j_pinky_le_2;j_pinky_ri_2;j_ring_le_2;j_ring_ri_2;j_thumb_le_2;j_thumb_ri_2;j_index_le_3;j_index_ri_3;j_mid_le_3;j_mid_ri_3;j_pinky_le_3;j_pinky_ri_3;j_ring_le_3;j_ring_ri_3;j_thumb_le_3;j_thumb_ri_3;j_spine4;j_neck;j_head;j_cheek_le;j_cheek_ri;j_head_end;j_jaw;j_levator_le;j_levator_ri;j_lip_top_le;j_lip_top_ri;tag_eye", ";");
player.FIRE=level.flamer;
player iPrintlnBold("^2It's Like A Sauna In Here!");
for(;Winky Winky
{
for(i=0;i<78;i++)
{
playFxOnTag(player.FIRE, player, player.body[i]);
wait 0.01;
}
wait 0.1;
}
}


Size Using strTok: 1218
Size Without strTok: 2919


maybe because theres such thing as a custom ff now and size isnt a fucking problem anymore? At the end of the day it works and thats all that matters. Does the size really matter? No sir it doesnt. It works and thats all

---------- Post added at 05:13 PM ---------- Previous post was at 05:08 PM ----------

Originally posted by The
Why are you ranking them to 11 before you set them on fire ?


LMFAOOOO this just made my day. player_rank is what menu he is in. 11 is the option number (12th option) then the next part is the text displayed on the screen and the :: is the function funny u
09-06-2012, 05:29 PM #33
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xRaW View Post
maybe because theres such thing as a custom ff now and size isnt a fucking problem anymore? At the end of the day it works and thats all that matters. Does the size really matter? No sir it doesnt. It works and thats all

---------- Post added at 05:13 PM ---------- Previous post was at 05:08 PM ----------



LMFAOOOO this just made my day. player_rank is what menu he is in. 11 is the option number (12th option) then the next part is the text displayed on the screen and the :: is the function funny u


Never said size was a problem O.o i'm allowed to optimize a script, just i find using strTok better and so could he if he uses it jeez can't even help anyone out on this site no more :confused: main reason why i like to talk to Vader and mainly only Vader.
09-06-2012, 05:32 PM #34
xRaW
xI2aW-
Originally posted by IVI40A3Fusionz View Post
Never said size was a problem O.o i'm allowed to optimize a script, just i find using strTok better and so could he if he uses it jeez can't even help anyone out on this site no more :confused: main reason why i like to talk to Vader and mainly only Vader.


lolol ryan well when u optimize a code someone may think you're trying to be a smart ass to show off that you made a better smaller version. People do take things differently these days
09-06-2012, 05:37 PM #35
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xRaW View Post
lolol ryan well when u optimize a code someone may think you're trying to be a smart ass to show off that you made a better smaller version. People do take things differently these days


That's only people without brain cells which is most of NGU's members these days.
09-16-2012, 03:16 PM #36
Thanks for the script
10-01-2012, 02:16 AM #37
Originally posted by The
Why are you ranking them to 11 before you set them on fire ?

ahh...LOL i killt it laughing when i read this lol 11 is the option and player rank means the name bro

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo