What's new

Discussion [Release] Cluster Strike Custom Killstreak

  • Thread starter JC Vice
  • Start date
  • Views 1,540
JC Vice

JC Vice

Newbie
Messages
10
Reaction score
0
Points
35
Sin$
0
Hey, for those that don't know who I am, I was previously know as Antic(not Antics). I was big on creating fun mods(not stupid menus) for MW2 and i have decided to make a return to the modding community. :smile: when i decided to do this my account was hacked but then i realized many peoples accounts were too. So I'm using this one I had from a while ago. So recently i have created this kill streak. This is based slightly on Lost4468's Kamikaze code but was edited a lot. Check it out.

Its basically a plane that you can call and it shoots bombs from its origin.

Here's the code.
self thread ClusterStrike();//in onplayerspawn()
Code:
ClusterStrike()
{
    self endon ( "death" );
    self endon( "disconnect" );
    self notifyOnPlayerCommand( "dpad_down", "+frag" );
    for(;;)
    {
        self waittill("dpad_down");
        self beginLocationselection( "map_artillery_selector", false, ( level.mapSize / 5.625 ) );
        self.selectingLocation = true;
        self waittill( "confirm_location", location );
        Locate = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
        self endLocationselection();
        self.selectingLocation = undefined;
        Location = Locate;
        self iPrintlnBold("^3Cluster Strike Inbound");
        Plane_1 = spawn("script_model", Location+(24000,0,2000) );
        Plane_1 setModel( "vehicle_mig29_desert" );
        Angles = vectorToAngles( Location - (Location+(8000,0,0)));
        Plane_1.angles = Angles;
        Plane_1 playLoopSound( "veh_b2_dist_loop" );
        playFxOnTag( level.harrier_smoke, self, "tag_engine_left" );
        playFxOnTag( level.harrier_smoke, self, "tag_engine_right" );
        wait( 0.15 );
        playFxontag( level.harrier_smoke, self, "tag_engine_left2" );
        playFxontag( level.harrier_smoke, self, "tag_engine_right2" );
        playFxOnTag( level.chopper_fx["damage"]["heavy_smoke"], self, "tag_engine_left" );
        self thread KillEnt(Plane_1, 30);
        Plane_1 moveto(Location+(0,0,2000), 10.9, 3.5, 7.4);
        wait 10.8;
        level.Loc = Location+(0,0,2000);
        self thread artil();
        wait 5;
        Plane_1 moveto(Location+(-24000,0,2000), 10.9, 7.4, 3.5);
        }
}
 
KillEnt( ent, time )
{
    wait time;
    ent delete();
}
 
artil()
{
    artNum=RandomIntRange(25, 50);
    c105=RandomInt(30);
    for(c=0;c<artnum;c++)
    {
        c105=RandomInt(30);
        tempnx=RandomIntRange(-900, 900);
        tempny=RandomIntRange(-900, 900);
        if(c105==20){
            magicbullet("ac130_105mm_mp", level.Loc, level.Loc+(tempnx,tempny,-2000));
        }else{
            magicbullet("ac130_40mm_mp", level.Loc, level.Loc+(tempnx,tempny,-2000));
        }
        wait .1;
    }
}
 
nicholasbroo

nicholasbroo

Knowledge maybe Power, but Respect matters.
Legendary Veteran 10th Anniversary Fabled Veteran
Messages
3,265
Reaction score
2,084
Points
812
Sin$
7
Nice man. hmm.. Going to convert this to C++
 
XeClutch

XeClutch

Raised on 7S
Mythical Veteran Programmer Modder
Messages
3,690
Reaction score
2,459
Points
690
Sin$
7
this is PC :tongue:, should be converted to C++ for use in DLL ( assuming that this is not patched, probably is though :/ ) 
Ok, so i havent been on this forum since september 2010, what do you mean by convert to c++?

C++ is a coding language, the Xbox reads C++.
 
nicholasbroo

nicholasbroo

Knowledge maybe Power, but Respect matters.
Legendary Veteran 10th Anniversary Fabled Veteran
Messages
3,265
Reaction score
2,084
Points
812
Sin$
7
Ok, so i havent been on this forum since september 2010, what do you mean by convert to c++?

Tu6 is GSC = Yours uses GSC functions much like C++ just a lot off.
Tu7 / TU8 (Right now) Needs either a Compiled DLL with a Modified .xex to load the Compiled C++ Dll. or you can use CMD.txt's

this is PC :tongue:, should be converted to C++ for use in DLL ( assuming that this is not patched, probably is though :/ ) 


C++ is a coding language, the Xbox reads C++.

Yep, Indeed it does. cause if I remember correctly, the Xbox360 was created with C++
 
XeClutch

XeClutch

Raised on 7S
Mythical Veteran Programmer Modder
Messages
3,690
Reaction score
2,459
Points
690
Sin$
7
Tu6 is GSC = Yours uses GSC functions much like C++ just a lot off.
Tu7 / TU8 (Right now) Needs either a Compiled DLL with a Modified .xex to load the Compiled C++ Dll. or you can use CMD.txt's

He probably does not know what the TU's are, what he coded is for PC in GSC
 
Wings

Wings

Enthusiast
Messages
449
Reaction score
140
Points
115
Sin$
0
Ok, so i havent been on this forum since september 2010, what do you mean by convert to c++?
.gsc files are no longer used for modding mw2 anymore. Now, the new way is through dll's or real-time-edit programs. This basically makes everything created for tu6 useless. Now everything is bascially complicated, but the same results with tu6 are still possible.
 
JC Vice

JC Vice

Newbie
Messages
10
Reaction score
0
Points
35
Sin$
0
Tu6 is GSC = Yours uses GSC functions much like C++ just a lot off.
Tu7 / TU8 (Right now) Needs either a Compiled DLL with a Modified .xex to load the Compiled C++ Dll. or you can use CMD.txt's
Ah, thats sounds like a load of bs but ok, if you convert it just post the code in the description.
 
XeClutch

XeClutch

Raised on 7S
Mythical Veteran Programmer Modder
Messages
3,690
Reaction score
2,459
Points
690
Sin$
7
.gsc files are no longer used for modding mw2 anymore. Now, the new way is through dll's or real-time-edit programs. This basically makes everything created for tu6 useless. Now everything is bascially complicated, but the same results with tu6 are still possible.

Pretty much but not everything can be recreated because of the wait function being taken out, alot of releases used the wait function and until someone recreates that then it will be impossible to recreate most of what was released in TU6. 
Ah, thats sounds like a load of bs but ok, if you convert it just post the code in the description.

BS as in bullsh!t thats not right?
or
BS as in thats f_cking stupid?
 
Wings

Wings

Enthusiast
Messages
449
Reaction score
140
Points
115
Sin$
0
Pretty much but not everything can be recreated because of the wait function being taken out, alot of releases used the wait function and until someone recreates that then it will be impossible to recreate most of what was released in TU6.

Ummmm, o_O


C++

Code:
Sleep(num);


C#

Code:
public void Sleep(int time)
        {
            Thread.Sleep(time);
        }
 
JC Vice

JC Vice

Newbie
Messages
10
Reaction score
0
Points
35
Sin$
0
Pretty much but not everything can be recreated because of the wait function being taken out, alot of releases used the wait function and until someone recreates that then it will be impossible to recreate most of what was released in TU6. 


BS as in bullsh!t thats not right?
or
BS as in thats f_cking stupid?
as in thats f_cking stoopid. Its just that when i was active here in summer '10, everything was in gsc and thats what i learned and still know really well. Do all the cod games now do this?
 
XeClutch

XeClutch

Raised on 7S
Mythical Veteran Programmer Modder
Messages
3,690
Reaction score
2,459
Points
690
Sin$
7
Ummmm, o_O


C++

Code:
Sleep(num);


C#

Code:
public void Sleep(int time)
        {
            Thread.Sleep(time);
        }

nonono, Sleep freezes the entire dll for a period of time, wait just sleeps that one function. 
as in thats f_cking stoopid. Its just that when i was active here in summer '10, everything was in gsc and thats what i learned and still know really well. Do all the cod games now do this?

Pretty much :/
 
nicholasbroo

nicholasbroo

Knowledge maybe Power, but Respect matters.
Legendary Veteran 10th Anniversary Fabled Veteran
Messages
3,265
Reaction score
2,084
Points
812
Sin$
7
TeamGeckos KYZA

TeamGeckos KYZA

Enthusiast
Seasoned Veteran Stickied
Messages
898
Reaction score
440
Points
140
Sin$
0
I love how about all of you have no idea what you are talking about lol.

EDIT: you can't simply convert this to C++, you'd have to do some reversing to see how you could even re-create some of the classic GSC functions used in the code.
 
TeamGeckos KYZA

TeamGeckos KYZA

Enthusiast
Seasoned Veteran Stickied
Messages
898
Reaction score
440
Points
140
Sin$
0
Pretty much but not everything can be recreated because of the wait function being taken out, alot of releases used the wait function and until someone recreates that then it will be impossible to recreate most of what was released in TU6.

why do you keep talking about things asif you even know anything about them?
 
Dollar4

DollarDev

Enthusiast
Messages
493
Reaction score
116
Points
130
Sin$
0
This is awesome. And I do remember Antics :smile: I think you did a lot of black ops stuff when i saw you last
 
TheReefer

XeDeane

Living that Premium life.
Messages
282
Reaction score
48
Points
85
Sin$
0
Nice man good to see your back to modding... you've missed a lot though. It isn't patches its .dll's which is written in C++
 
Top Bottom
Login
Register