Post: Release: EliteMossy's Forge Mod
12-31-2010, 02:57 PM #1
EliteMossy
TheDigitalBoard.com
(adsbygoogle = window.adsbygoogle || []).push({}); Here is my Forge Mod that some people asked for, so i am releasing the code for it.

Remember to replace the self.MenuOpen with your check if the Menu is open

    
ForgeMode(){
if(self.Forge){
self notify("StopForge");
self.Forge=0;
self iprintln("Forge Mode Disabled");
}else{
self.Forge=1;
self iprintln("Forge Mode Enabled");
self thread PickupCrate();
self thread SpawnCrate();
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 2}] to Spawn a Crate");
wait 5;
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+usereload}] to Move and Drop a Crate");
}}

SpawnCrate(){
self endon("death");
self endon("StopForge");
for(;Winky Winky{
self waittill("dpad_down");
if(!self.MenuOpen){
if(self.ugp>0){
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*200,vec[1]*200,vec[2]*200);
L=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+end,0,self)["position"];
c=spawn("script_model",L+(0,0,20));
c CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
c setModel("com_plasticcase_beige_big");
c PhysicsLaunchServer((0,0,0),(0,0,0));
c.angles=self.angles+(0,90,0);
c.health=250;
self thread crateManageHealth(c);
self.ugp--;
}}}}

crateManageHealth(c){
rand=randomint(99999);
self endon("CrateDestroyed"+rand);
for(;Winky Winky{
c setcandamage(true);
c.team=self.team;
c.owner=self.owner;
c.pers["team"]=self.team;
if(c.health<0){
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],c.origin);
c delete();
self notify("CrateDestroyed"+rand);
}
wait 0.3;
}}

PickupCrate(){
self endon("death");
self endon("StopForge");
for(;Winky Winky{
self waittill("button_square");
if(!self.MenuOpen){
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*100,vec[1]*100,vec[2]*100);
entity=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+(vec[0]*100,vec[1]*100,vec[2]*100),0,self)["entity"];
if(isdefined(entity.model)){
self thread MoveCrate(entity);
self waittill("button_square");{
self.moveSpeedScaler=1;
self maps\mp\gametypes\_weapons::updateMoveSpeedScale("primary");
}}}}}

MoveCrate(entity){
self endon("button_square");
for(;Winky Winky{
entity.angles=self.angles+(0,90,0);
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*100,vec[1]*100,vec[2]*100);
entity.origin=(self gettagorigin("tag_eye")+end);
self.moveSpeedScaler=0.5;
self maps\mp\gametypes\_weapons::updateMoveSpeedScale("primary");
wait 0.05;
}}



The code is out of my patch, but i removed some of my custom Text routines (as these are private atm).

Let me know if you like it Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 14 users say thank you to EliteMossy for this useful post:

_StAtEaMiNd_, Arvindian, BuC-ShoTz, CleanMODSHD, Codi360, CraZoY, Dreamcather, Fifa97, FrOoTLoOpZ, Janiboy, MW2CptPrize, Mw2Freak13, RaverBoy, Shaarpy
01-05-2011, 10:32 AM #20
Skyl1n3
DO SOMETHING THEN!
Originally posted by EliteMossy View Post
It is in the bath tub :P


I'm actually going on MW2... Just to find this out! :FU:

---------- Post added at 05:32 AM ---------- Previous post was at 05:26 AM ----------

Ok umm... I've checked in the bathroom and the basement of Estate and nothing's in there, ON MULTIPLAYER! I have no proof but I'm gonna go look at youtube to have a look if there's any videos of it Smile
01-05-2011, 10:36 AM #21
Mr. DarkKV
League Champion
Can you pick people up?
01-05-2011, 10:38 AM #22
Skyl1n3
DO SOMETHING THEN!
Originally posted by EliteMossy View Post
It is in the bath tub :P


Wow Mossy, we were both wrong :p it's tucked away in the basement, that's bloody hidden good lol. It's next to a teddy, a wheel and a suitcase :/
01-05-2011, 01:15 PM #23
Originally posted by playstation3lb View Post
Sex Doll are from SP.

I think its Possible.

Just copy the Model file from SP to MP?



You cant take anything from SP.

Sex Dolls are in multiplayer tho
01-05-2011, 04:30 PM #24
Arvindian
Error… Cat invasion!
Originally posted by EliteMossy View Post
It is in the bath tub :P


That should be your new game mode Happy Find a randomly spawned sex doll hidden in the map. See it's got everyone looking for those damn Sex Dolls :p
02-02-2011, 02:56 AM #25
Skyl1n3
DO SOMETHING THEN!
Originally posted by TheEliteMossy View Post
Spawn and move care packages (and also mover other elements in the game like players Winky Winky)


Can you give me the code for just to pick up players? That would be awesome :carling:
02-02-2011, 03:00 AM #26
Mr. Aimbot
¯\_(ツWinky Winky_/¯
Originally posted by Playstation3lb View Post
Sex Doll are from SP.

I think its Possible.

Just copy the Model file from SP to MP?


They are in multiplayer lolz.
02-02-2011, 07:29 AM #27
egoDream
Can’t trickshot me!
Originally posted by TheEliteMossy View Post
Spawn and move care packages (and also mover other elements in the game like players Winky Winky)


Omg lol move players, looking ford to tryn it out wen my comp is fixd
02-02-2011, 07:31 AM #28
Okami
Known As Yukuku
Originally posted by TheEliteMossy View Post
Here is my Forge Mod that some people asked for, so i am releasing the code for it.

Remember to replace the self.MenuOpen with your check if the Menu is open

    
ForgeMode(){
if(self.Forge){
self notify("StopForge");
self.Forge=0;
self iprintln("Forge Mode Disabled");
}else{
self.Forge=1;
self iprintln("Forge Mode Enabled");
self thread PickupCrate();
self thread SpawnCrate();
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+actionslot 2}] to Spawn a Crate");
wait 5;
self thread maps\mp\gametypes\_hud_message::hintMessage("Press [{+usereload}] to Move and Drop a Crate");
}}

SpawnCrate(){
self endon("death");
self endon("StopForge");
for(;Winky Winky{
self waittill("dpad_down");
if(!self.MenuOpen){
if(self.ugp>0){
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*200,vec[1]*200,vec[2]*200);
L=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+end,0,self)["position"];
c=spawn("script_model",L+(0,0,20));
c CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
c setModel("com_plasticcase_beige_big");
c PhysicsLaunchServer((0,0,0),(0,0,0));
c.angles=self.angles+(0,90,0);
c.health=250;
self thread crateManageHealth(c);
self.ugp--;
}}}}

crateManageHealth(c){
rand=randomint(99999);
self endon("CrateDestroyed"+rand);
for(;Winky Winky{
c setcandamage(true);
c.team=self.team;
c.owner=self.owner;
c.pers["team"]=self.team;
if(c.health<0){
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],c.origin);
c delete();
self notify("CrateDestroyed"+rand);
}
wait 0.3;
}}

PickupCrate(){
self endon("death");
self endon("StopForge");
for(;Winky Winky{
self waittill("button_square");
if(!self.MenuOpen){
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*100,vec[1]*100,vec[2]*100);
entity=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+(vec[0]*100,vec[1]*100,vec[2]*100),0,self)["entity"];
if(isdefined(entity.model)){
self thread MoveCrate(entity);
self waittill("button_square");{
self.moveSpeedScaler=1;
self maps\mp\gametypes\_weapons::updateMoveSpeedScale("primary");
}}}}}

MoveCrate(entity){
self endon("button_square");
for(;Winky Winky{
entity.angles=self.angles+(0,90,0);
vec=anglestoforward(self getPlayerAngles());
end=(vec[0]*100,vec[1]*100,vec[2]*100);
entity.origin=(self gettagorigin("tag_eye")+end);
self.moveSpeedScaler=0.5;
self maps\mp\gametypes\_weapons::updateMoveSpeedScale("primary");
wait 0.05;
}}



The code is out of my patch, but i removed some of my custom Text routines (as these are private atm).

Let me know if you like it Smile


is this the one that lets you pick up people ?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo