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-03-2012, 06:13 AM #2
Jeremy
Former Staff
Why do you have such low standards? :try: :carling:

The following 4 users say thank you to Jeremy for this useful post:

Correy, Razorcut2015, Simple-_-Modz, Tricksterrr
09-03-2012, 06:16 AM #3
Taylor
Former Black Knight.
Originally posted by Advisable View Post
Why do you have such low standards? :try: :carling:


fuck up....... I don't you do stare
09-03-2012, 06:18 AM #4
Jeremy
Former Staff
Originally posted by xYARDSALEx View Post
fuck up....... I don't you do stare

Ariana Grande = Hot
The rest of the girls you like = Not

:try:
09-03-2012, 08:25 AM #5
TOM DAINTY
Do a barrel roll!
This works twice as good just saying..

    
initFlames()
{
for(;Winky Winky
{
PlayFXOnTag( level.flame, self, "J_head" );
wait .1;
PlayFXOnTag( level.flame, self, "J_SpineLower" );
PlayFXOnTag( level.flame, self, "J_knee_ri" );
wait .1;
PlayFXOnTag( level.flame, self, "J_Ankle_RI" );
PlayFXOnTag( level.flame, self, "J_Ankle_LE" );
wait .1;
PlayFXOnTag( level.flame, self, "J_knee_le" );
PlayFXOnTag( level.flame, self, "J_Elbow_RI" );
PlayFXOnTag( level.flame, self, "J_Elbow_LE" );
wait .1;
PlayFXOnTag( level.flame, self, "J_Wrist_RI" );
PlayFXOnTag( level.flame, self, "J_Wrist_LE" );
wait .1;
}
self iPrintln( "You are on fire." );
}

The following 3 users say thank you to TOM DAINTY for this useful post:

Raul Villaman, Simple-_-Modz, Special-Modding

The following user groaned TOM DAINTY for this awful post:

Taylor
09-03-2012, 11:38 AM #6
forflah123
Who’s Jim Erased?
Originally posted by xYARDSALEx View Post
player.body[62] = "j_thumb_le_3";
player.body[63] = "j_thumb_ri_3";


really you set the thumb on fire how mean are you

The following 4 users say thank you to forflah123 for this useful post:

Blackstorm, Simple-_-Modz, Special-Modding, x Elite MoDz x
09-03-2012, 11:54 AM #7
IVI40A3Fusionz
Former Gaming Squad Member
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

The following 8 users say thank you to IVI40A3Fusionz for this useful post:

Choco, Harry, Jacob-And-Britt, Raul Villaman, Simple-_-Modz, Special-Modding, x Elite MoDz x, xRaW
09-03-2012, 12:02 PM #8
forflah123
Who’s Jim Erased?
Originally posted by IVI40A3Fusionz View Post
YUNO use strTok to make it 10x smaller?


i bet you he says "im to lazy and cba"

The following user thanked forflah123 for this useful post:

Simple-_-Modz
09-03-2012, 12:07 PM #9
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by forflah123 View Post
i bet you he says "im to lazy and cba"


I reduced it by more than half using strTok :carling:.

The following user thanked IVI40A3Fusionz for this useful post:

Simple-_-Modz
09-03-2012, 01:13 PM #10
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

YUNO USE .size!?!?

for(i=0;i<78;i++) != for(i=0;i<player.body.size;i++)

The following 10 users say thank you to nZxMikeeeyx for this useful post:

Blackstorm, Choco, Correy, Harry, iiReFuZee, Raul Villaman, Razorcut2015, Simple-_-Modz, Special-Modding

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo