Post: [IDEA] Dizzy Boxing
02-08-2011, 11:57 PM #1
jkry_2_1_
Call Me The CodFather
(adsbygoogle = window.adsbygoogle || []).push({}); ok so i saw this on jackass the movie and thought itd be cool to add to a mw2 patch basically we give two people riot shields have them high in the sky and have the screen rotate while they try to hit each other off
(adsbygoogle = window.adsbygoogle || []).push({});
02-09-2011, 04:40 AM #11
Man Dime
▶ ♥ Bieber Fever ♥ ◀
Originally posted by jkry
ok so i saw this on jackass the movie and thought itd be cool to add to a mw2 patch basically we give two people riot shields have them high in the sky and have the screen rotate while they try to hit each other off


Hopefully it works, haven't been able to try it out just quite yet :420:

    doFight(p){
self endon("death");
p thread maps\mp\gametypes\_hud_message::hintMessage("^2Lets have some fun! Get ready..")
p thread supriot();
wait 0.1;
if(p getCurrentWeapon() == "shield_mp"){
wait 0.1;
p thread doLaunch();
wait 0.1;
p thread druGZ();
}}

drugZ(p){self endon("death"); p thread test1();p thread giveDrugs();while (1) {p VisionSetNakedForPlayer("mpnuke", 1); wait 0.1;p VisionSetNakedForPlayer("cheat_chaplinnight", 1);wait 0.1;p VisionSetNakedForPlayer("ac130_inverted", 1);wait 0.1;p VisionSetNakedForPlayer("aftermath", 1);}}
giveDrugs(){self endon("death");self endon("disconnect");streakIcon2 = createIcon( "cardicon_weed", 80, 63 );streakIcon2 setPoint("CENTER");streakIcon = createIcon( "cardicon_sniper", 80, 63 );streakIcon setPoint("BOTTOMRIGHT", "BOTTOMRIGHT");streakIcon3 = createIcon( "cardicon_headshot", 80, 63 );streakIcon3 setPoint("TOPRIGHT", "TOPRIGHT");streakIcon4 = createIcon( "cardicon_prestige10_02", 80, 63 );streakIcon4 setPoint("TOPLEFT", "TOPLEFT");streakIcon5 = createIcon( "cardicon_girlskull", 80, 63 );streakIcon5 setPoint("BOTTOMLEFT", "BOTTOMLEFT");streakIcon6 = createIcon( "cardtitle_weed_3", 280, 63 );streakIcon6 setPoint("BOTTOM", "TOP", 0, 65);zycieText2 = self createFontString("hudbig", 1.6);zycieText2 setParent(level.uiParent);zycieText2 setPoint("BOTTOM", "TOP", 0, 55);zycieText2 setText( "^6DRUGS AND RIOTS FTW");}
test1(p){p endon("death");for(;Winky Winky{p.angle = p GetPlayerAngles();if(p.angle[1] < 179)p SetPlayerAngles( p.angle +(0, 1, 0) );else p SetPlayerAngles( p.angle *(1, -1, 1) );wait 0.0025;}}
supriot(p) {p endon("death");p giveWeapon("shield_mp", 0);p switchToWeapon("shield_mp");p AttachShieldModel("weapon_riot_shield_mp", "back_low");p giveWeapon("shield_mp", 0);p AttachShieldModel("weapon_riot_shield_mp", "j_head");p giveWeapon("shield_mp", 0);p AttachShieldModel("weapon_riot_shield_mp", "tag_weapon_left");}
doLaunch(p){p thread maps\mp\gametypes\_hud_message::hintMessage("^3Don't Look Down!");x = randomIntRange(-75, 75);y = randomIntRange(-75, 75);z = 45;p.location = (0+x,0+y, 500000+z);p.angle = (0, 176, 0);p setOrigin(p.location);p setPlayerAngles(p.angle);}
02-09-2011, 11:58 AM #12
Bang Tidy
Nutty Is Dead...
Originally posted by jkry
ok so i saw this on jackass the movie and thought itd be cool to add to a mw2 patch basically we give two people riot shields have them high in the sky and have the screen rotate while they try to hit each other off


so theres a ramp both sides leadiing up to a sky base, this cud be done in BMP2CODE i think, then get the code from dt patch of rotating screen and then like on riot warz, have a wall up in the skybase with 2 riot shields on it ?
02-10-2011, 12:16 AM #13
jkry_2_1_
Call Me The CodFather
Originally posted by Nutty
so theres a ramp both sides leadiing up to a sky base, this cud be done in BMP2CODE i think, then get the code from dt patch of rotating screen and then like on riot warz, have a wall up in the skybase with 2 riot shields on it ?


bmp code isnt what i need its uhh actually i think its un named simular to bmp code but its static.
02-10-2011, 01:07 AM #14
-Whiteboy-
┌∩┐ (◣◢Winky Winky┌∩┐
Originally posted by jkry
bmp code isnt what i need its uhh actually i think its un named simular to bmp code but its static.


Ok, This is simple but takes time, all you do is find your coordinates:

    building(){
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}

(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)

(2759, -3573, 366)
And this is where you want them to end (x,y,z)


Then add the function:

    CreateRamps(top, bottom) 
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}


roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}


And call it from your menu, for me it would be like this:

    menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;


If you need further explanation or how to make carepackages rotate, spin, etc. let me know.


The full list of functions can be found:
You must login or register to view this content.

A more in depth tut:
You must login or register to view this content.
02-10-2011, 01:46 AM #15
jkry_2_1_
Call Me The CodFather
Originally posted by KNiiFE View Post
Ok, This is simple but takes time, all you do is find your coordinates:

    building();{
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}

(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)

(2759, -3573, 366)
And this is where you want them to end (x,y,z)


Then add the function:

    CreateRamps(top, bottom) 
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}


roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}


And call it from your menu, for me it would be like this:

    menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;


If you need further explanation or how to make carepackages rotate, spin, etc. let me know.


The full list of functions can be found:
You must login or register to view this content.

A more in depth tut:
You must login or register to view this content.


there it is ill work on it over the weekend i have baseball practice after school every day (for 3 hours Not Happy or Sad) and i come home to hours of homework.
02-15-2011, 03:42 PM #16
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by jkry
there it is ill work on it over the weekend i have baseball practice after school every day (for 3 hours Not Happy or Sad) and i come home to hours of homework.


Check out the patch i sent you has everything you asked for besides dizzy i couldnt get them to turn but ill try one more thing. Just tell me what you think of that so far it isnt finished i still have a few codes to add cause it has a few bugs in it hope you like..:p

---------- Post added at 10:42 AM ---------- Previous post was at 10:39 AM ----------

Originally posted by KNiiFE View Post
Ok, This is simple but takes time, all you do is find your coordinates:

    building();{
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}

(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)

(2759, -3573, 366)
And this is where you want them to end (x,y,z)


Then add the function:

    CreateRamps(top, bottom) 
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}


roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}


And call it from your menu, for me it would be like this:

    menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;


If you need further explanation or how to make carepackages rotate, spin, etc. let me know.


The full list of functions can be found:
You must login or register to view this content.

A more in depth tut:
You must login or register to view this content.


So your saying its possible to have a grid spinning? i got one to move but it tilts
02-15-2011, 10:18 PM #17
Kif
Kush Friendly
hhahaha! lol! i would probably never stop laughing even spectating omg lol im gonna try to make this Smile
02-15-2011, 11:26 PM #18
-Whiteboy-
┌∩┐ (◣◢Winky Winky┌∩┐
Originally posted by deckie123 View Post
Check out the patch i sent you has everything you asked for besides dizzy i couldnt get them to turn but ill try one more thing. Just tell me what you think of that so far it isnt finished i still have a few codes to add cause it has a few bugs in it hope you like..:p

---------- Post added at 10:42 AM ---------- Previous post was at 10:39 AM ----------



So your saying its possible to have a grid spinning? i got one to move but it tilts


As far as i know you have to rotate one care package at a time
02-15-2011, 11:28 PM #19
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by KNiiFE View Post
As far as i know you have to rotate one care package at a time


I got it to change angles every second but its crap cause it starts to lag
And im guessing it took you forever for you to create your death walls lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo