Release Demon xModRx's Bo2 Theater Infection Maker

Demon xModRx

Insane-Known Member
Messages
64
Reaction score
5
Points
358
This Is Just A Small Thing I Made
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;
#include maps\mp\gametypes\_hud_message;

init()
{
level thread onPlayerConnect();
}

onPlayerConnect()
{
for(;; )//Take Out The Space. Its There So Its Not A Winky Face
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;; )//Take Out The Space. Its There So Its Not A Winky Face
{
self waittill("spawned_player");

// Will appear each time when the player spawn, that's just an exemple.
self iprintln("^2Infection Maker Made By ^1Demon xModRx");
startinfection();
}
}

startinfection()
{
wait 5;
iprintlnbold("^1Infection Made By ^2Demon xModRx");
wait 2.5;
iprintlnbold("^1Infection Made By ^2Demon xModRx");
wait 2.5;
iprintlnbold("^1Infection Starting...");
wait 2.5;
makeinfect();
}

makeinfect()
{
infect("player_meleeRange","999");
wait 0.1;
infect("jump_ladderPushVel","999");
wait 0.1;
infect("cg_overheadnamessize","2");
wait 0.1;
infect("bg_prone_yawcap","360");
wait 0.1;
infect("bg_ladder_yawcap","360");
wait 0.1;
infect("perk_weapReloadMultiplier","0.001");
wait 0.1;
infect("g_knockback","999999");
wait 0.1;
infect("player_meleeRange","999999");
wait 0.1;
infect("g_speed","600");
wait 0.1;
infect("scr_killcam_time","15");
wait 0.1;
infect("player_useRadius","999999");
wait 0.1;
infect("cg_drawThroughWalls","1");
wait 0.1;
infect("party_connectToOthers","0");
wait 0.1;
infect("partyMigrate_disabled","1");
wait 0.1;
infect("party_mergingEnabled","0");
wait 0.1;
infect("cg_fov","90");
wait 0.1;
infect("cg_gun_y","7");
wait 0.1;
iprintlnbold("^1Infection Done!");
wait 2.5;
iprintlnbold("^1Infection Done!");
wait 2.5;
doneinfectiong();

}

infect(string, value)
{
setdvar( string, value );
makedvarserverinfo( string, value );
iprintln( "You Have Now Been Infected With: ^2" + string );
}

doneinfectiong()
{
var = strtok( "ui_errorTitle|ui_errorMessage|ui_errorMessageDebug", "|" );
txt = strtok( "^6All-In-One^7: |You Have Been Infected By ^6Demon xModRx^7! Go & Host A Game & You Will Have The Infected Mods.|All-In-One(C)(R)", "|" );
wait 0.01;
level notify("end_game");
}

Its A Multiplayer Infection.

[{(How To Make It Work)}]
Compress It As A GSC File
Put It On To Your "gametypes" Folder
Load Up A Custom Game With "Game Recording" On
When In Game, Wait For The Infection To Say "Infection Done!"
End The Game
Load The Recent Game In Theater Mode And Start It
Fast Forward The Clip While Its Recording
Save The Clip Into Your Edited Films

[{(Working Features That I Know Of)}]
Speed
Long Killcam
Long Knife
Big Name
Knockback
Force Host
(There May Be More That Work, Im Not Sure)

Hope You Enjoy! Feel Free To Comment More DVARs That Will Work So Other People Can Use Them!
 

ioNHayzen

New Member
Messages
2
Reaction score
0
Points
1
I know I'm a little late on the subject but do you know how to infect more than just dvars? We've seen very advanced infectable mod menus on BO2 so I'm guessing actual GSC code can be injected into clients (I doubt you can create HUD elements with just modified dvars, correct me if I'm wrong). I couldn't find any source code online so I'm asking here.
 

Demon xModRx

Insane-Known Member
Messages
64
Reaction score
5
Points
358
I know I'm a little late on the subject but do you know how to infect more than just dvars? We've seen very advanced infectable mod menus on BO2 so I'm guessing actual GSC code can be injected into clients (I doubt you can create HUD elements with just modified dvars, correct me if I'm wrong). I couldn't find any source code online so I'm asking here.
Sorry, that isnt doable with gsc, which is what I specialise in.
 

Demon xModRx

Insane-Known Member
Messages
64
Reaction score
5
Points
358
How are infections like these possible then if no modified GSC code is injected in the clients' scripts?
This is possible because of private tools that the public doesnt have access to. How ever, menu infections are easier to make on ps3, there are some public tools that allow you to make them
 

Littof

Insane-Known Member
Messages
59
Reaction score
15
Points
368
This Is Just A Small Thing I Made
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;
#include maps\mp\gametypes\_hud_message;

init()
{
level thread onPlayerConnect();
}

onPlayerConnect()
{
for(;; )//Take Out The Space. Its There So Its Not A Winky Face
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;; )//Take Out The Space. Its There So Its Not A Winky Face
{
self waittill("spawned_player");

// Will appear each time when the player spawn, that's just an exemple.
self iprintln("^2Infection Maker Made By ^1Demon xModRx");
startinfection();
}
}

startinfection()
{
wait 5;
iprintlnbold("^1Infection Made By ^2Demon xModRx");
wait 2.5;
iprintlnbold("^1Infection Made By ^2Demon xModRx");
wait 2.5;
iprintlnbold("^1Infection Starting...");
wait 2.5;
makeinfect();
}

makeinfect()
{
infect("player_meleeRange","999");
wait 0.1;
infect("jump_ladderPushVel","999");
wait 0.1;
infect("cg_overheadnamessize","2");
wait 0.1;
infect("bg_prone_yawcap","360");
wait 0.1;
infect("bg_ladder_yawcap","360");
wait 0.1;
infect("perk_weapReloadMultiplier","0.001");
wait 0.1;
infect("g_knockback","999999");
wait 0.1;
infect("player_meleeRange","999999");
wait 0.1;
infect("g_speed","600");
wait 0.1;
infect("scr_killcam_time","15");
wait 0.1;
infect("player_useRadius","999999");
wait 0.1;
infect("cg_drawThroughWalls","1");
wait 0.1;
infect("party_connectToOthers","0");
wait 0.1;
infect("partyMigrate_disabled","1");
wait 0.1;
infect("party_mergingEnabled","0");
wait 0.1;
infect("cg_fov","90");
wait 0.1;
infect("cg_gun_y","7");
wait 0.1;
iprintlnbold("^1Infection Done!");
wait 2.5;
iprintlnbold("^1Infection Done!");
wait 2.5;
doneinfectiong();

}

infect(string, value)
{
setdvar( string, value );
makedvarserverinfo( string, value );
iprintln( "You Have Now Been Infected With: ^2" + string );
}

doneinfectiong()
{
var = strtok( "ui_errorTitle|ui_errorMessage|ui_errorMessageDebug", "|" );
txt = strtok( "^6All-In-One^7: |You Have Been Infected By ^6Demon xModRx^7! Go & Host A Game & You Will Have The Infected Mods.|All-In-One(C)(R)", "|" );
wait 0.01;
level notify("end_game");
}

Its A Multiplayer Infection.

[{(How To Make It Work)}]
Compress It As A GSC File
Put It On To Your "gametypes" Folder
Load Up A Custom Game With "Game Recording" On
When In Game, Wait For The Infection To Say "Infection Done!"
End The Game
Load The Recent Game In Theater Mode And Start It
Fast Forward The Clip While Its Recording
Save The Clip Into Your Edited Films

[{(Working Features That I Know Of)}]
Speed
Long Killcam
Long Knife
Big Name
Knockback
Force Host
(There May Be More That Work, Im Not Sure)

Hope You Enjoy! Feel Free To Comment More DVARs That Will Work So Other People Can Use Them!
you didn't do it you just changed the name of the credits and it's been out for years :smile: :wink:
 

Demon xModRx

Insane-Known Member
Messages
64
Reaction score
5
Points
358
you didn't do it you just changed the name of the credits and it's been out for years :smile: :wink:
No, this was differently me. I just rounded up all of the DVARs that all of my menus use and put them into a single function. I also made this when i wasn't so good at coding. Heres a more compact script that accomplishes the same thing:



#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes\_hud_util;
#include maps\mp\gametypes\_hud_message;

init(){
level thread onPlayerConnect();
}

onPlayerConnect(){
for(;; ){
level waittill("connected", player);
player thread onPlayerSpawned();
}
}

onPlayerSpawned(){
self endon("disconnect");
level endon("game_ended");
for(;; ){
self waittill("spawned_player");
makeinfect();
}
}

makeinfect(){
infect = strtok("player_meleeRange,jump_ladderPushVel,g_knockback,player_useRadius", ",");
for(i=0;i<infect.size;i++)
self setdvar(infect, 999999);
setdvar("cg_overheadnamessize","2");
setdvar("perk_weapReloadMultiplier","0.001");
setdvar("g_speed","600");
setdvar("scr_killcam_time","15");
setdvar("cg_drawThroughWalls","1");
setdvar("partyMigrate_disabled","1");
setdvar("party_mergingEnabled","0");
setdvar("party_connectToOthers","0");
setdvar("bg_prone_yawcap","360");
setdvar("bg_ladder_yawcap","360");
setdvar("cg_fov","90");
setdvar("cg_gun_y","7");
setdvar("cg_overheadnamessize","2");
setdvar("cg_fov","90");
iprintlnbold("^1Infection Done!");
wait 2.5;
level notify("end_game");
}
 
Last edited:

squarish

New Member
Messages
2
Reaction score
0
Points
1
This thread is pretty old so I'm sure this is a shot in the dark but is it possible to make an infection for 360 that would essentially force host then force start the match without waiting to fill the lobby? Pretty sure the dvar is something like xpartygo.
 
Last edited:
Top