You are viewing our Forum Archives. To view or take place in current topics click here.
[Release]Zondrinas Forge Mod Menu !!
Posted:
[Release]Zondrinas Forge Mod Menu !!Posted:
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
So i decided i would just post this here :p i know its a copy and past but whatever
This menu is very simple and straightforward. It has the potential for sub menu add ons, but i kept it small and simplistic ( Considering there isnt really much cool stuff to even put in menus these days for this game ). Its text based, no arrays here. Mainly run through a button monitoring thread as you will see. Also, this is pre-written with my forge mode included in fully.
First, put this in your onPlayerConnect() this is used for the noclip later on :
Second, create these threads wherever your onplayerspawned is :
Finally, this is everything else youre going to need. Simply copy and paste it in. This is the full forge mode I made. You can feel free to clean everything out from the Execute() thread and use it as your own menu as this structure takes little to no space as I mentioned before. Heres the rest of the script :
There you have it. A full forge mode you can play around with. Remember, if you want to use this menu base simply just clean out my stuff and put whatever you want in. Hope you enjoy.
8)
Last edited by FreeStylin ; edited 2 times in total
This menu is very simple and straightforward. It has the potential for sub menu add ons, but i kept it small and simplistic ( Considering there isnt really much cool stuff to even put in menus these days for this game ). Its text based, no arrays here. Mainly run through a button monitoring thread as you will see. Also, this is pre-written with my forge mode included in fully.
First, put this in your onPlayerConnect() this is used for the noclip later on :
player.mod = [];
player.mod["linker"] = spawn("script_origin", (0, 0, 0));
player.mod["status_picked"] = false;
Second, create these threads wherever your onplayerspawned is :
self thread MonitorButtons();
self thread Forge();
self thread God();
self thread NoClip();
self thread doInstruct();
self thread Menu();
Finally, this is everything else youre going to need. Simply copy and paste it in. This is the full forge mode I made. You can feel free to clean everything out from the Execute() thread and use it as your own menu as this structure takes little to no space as I mentioned before. Heres the rest of the script :
//This section will be used for button monitoring****************************************
MonitorButtons()
{
self endon("disconnect");
for(;;)
{
if(self ActionSlotOneButtonPressed()) self notify("DPAD_UP");
if(self ActionSlotTwoButtonPressed()) self notify("DPAD_DOWN");
if(self ActionSlotThreeButtonPressed()) self notify("DPAD_LEFT");
if(self ActionSlotFourButtonPressed()) self notify("DPAD_RIGHT");
if(self AttackButtonPressed()) self notify("RT");
if(self AdsButtonPressed()) self notify("LT");
if(self SecondaryOffhandButtonPressed()) self notify("LB");
if(self FragButtonPressed()) self notify("RB");
if(self JumpButtonPressed()) self notify("A");
if(self UseButtonPressed()) self notify("X");
if(self MeleeButtonPressed()) self notify("RS");
if(self ChangeSeatButtonPressed()) self notify ("Y");
if(self ThrowButtonPressed()) self notify ("B");
wait 0.3;
}
}
//This section is used for some constant scripts which are needed****************************************
doInstruct()
{
self endon ("death");
self endon ("disconnect");
for(;;)
{
self iPrintln("^1Press [{+frag}] To Open The Menu");
self iPrintln("^2Press [{+smoke}] To Close The Menu");
self iPrintln("^3Press [{+speed_throw}] [{+attack}] To Scroll Through Menu Options");
self iPrintln("^4Press [{+gostand}] To Select An Option");
wait 6;
}
}
God()
{
self endon("disconnect");
for(;;)
{
self.health = 99999;
wait 0.05;
}
}
Forge()
{
self endon("disconnect");
for(;;)
{
while(self AdsButtonPressed())
{
trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self);
while(self AdsButtonPressed())
{
trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200);
trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200;
wait 0.05;
}
}
wait 0.05;
}
}
NoClip()
{
self endon("disconnect");
self endon ("death");
for(;;)
{
self IPrintLnBold("Hold[{+melee}] To NoClip");
while(!self MeleeButtonPressed())
wait .1;
self IPrintLnBold("^5NoClip On!");
self.mod["linker"].origin = self.origin;
self linkTo(self.mod["linker"]);
self.mod["status_picked"] = true;
while(self MeleeButtonPressed())
{
self.mod["linker"] moveTo(bulletTrace(self getPlayerEyePosition(), self getPlayerEyePosition() + vector_scale(anglesToForward(self getPlayerAngles()), 100), false, self)["position"], .2);
wait .05;
}
self unlink();
self.mod["status_picked"] = false;
self IPrintLnBold("^9NoClip Off!");
}
}
getPlayerEyePosition()
{
if(self getStance() == "prone")
vector = self.origin + (0, 0, 11);
else if(self getStance() == "crouch")
vector = self.origin + (0, 0, 40);
else
vector = self.origin + (0, 0, 60);
return vector;
}
//Menu section****************************************
Menu()
{
self thread Forgemenu();
self thread MenuDown();
self thread MenuUp();
self thread Choose();
}
Forgemenu()
{
self.mopen=0;
self.moptions = strtok("Welcome To The Forge Menu|Spawn A Care Package|Spawn A Plane Model|Spawn A Camera Spike|Spawn A Turret|Spawn A Spy Plane|Spawn A Helicopter|Spawn A Dog|Spawn An Rc-Xd|Spawn An Aircraft Bomb|Spawn A S&D Bomb|Spawn A CarePack Copter", "|");
self endon("disconnect");
for(;;)
{
self waittill("RB");
if(self.mopen==0)
{
self thread maps\mp\gametypes\_hud_message::hintMessage("Loading Menu...");
self GiveWeapon("briefcase_bomb_mp");
self switchToWeapon("briefcase_bomb_mp");
wait 3;
self freeze_player_controls( true );
setDvar("cg_drawCrosshair", "0");
self.mopen=1;
self thread Shader();
for(x=0; x<=self.moptions.size; x++)
{
self.display[x] = self createFontString( "objective", 1.4 );
self.display[x] setPoint( "TOPRIGHT", "TOPRIGHT", 0, x*30 );
self.display[x] setText("^7"+self.moptions[x]);
}
}
self waittill("LB");
if(self.mopen==1)
{
self thread maps\mp\gametypes\_hud_message::hintMessage("Closing Menu...");
wait 2;
self freeze_player_controls( false );
setDvar("cg_drawCrosshair", "1");
self.mopen=0;
for(x=0; x<=self.moptions.size; x++) { self.display[x] destroy(); }
self notify("DESTROY");
self TakeWeapon("briefcase_bomb_mp");
}
}
}
Shader()
{
mshader = newClientHudElem( self );
mshader.x = 26;
mshader.y = -220;
mshader.alignX = "right";
mshader.alignY = "top";
mshader.horzAlign = "right";
mshader.vertAlign = "top";
mshader.foreground = true;
mshader setshader ("progress_bar_fg", 210, 800);
mshader.alpha = 1;
self waittill ("DESTROY");
mshader destroy();
}
MenuDown()
{
self endon ("disconnect");
for(;;)
{
self waittill("RT");
self.selected += 1;
if(self.selected>=self.moptions.size)
{
self.selected = 0;
}
for(x=0; x<=self.moptions.size; x++)
{
self.display[x] setText("^7"+self.moptions[x]);
}
self.display[self.selected] setText("^2"+self.moptions[self.selected]);
}
wait 0.05;
}
MenuUp()
{
self endon ("disconnect");
for(;;)
{
self waittill("LT");
self.selected -= 1;
if(self.selected<0)
{
self.selected = self.moptions.size-1;
}
for(x=0; x<=self.moptions.size; x++)
{
self.display[x] setText("^7"+self.moptions[x]);
}
self.display[self.selected] setText("^2"+self.moptions[self.selected]);
}
wait 0.05;
}
Choose()
{
self endon ("disconnect");
for (;;)
{
self waittill("A");
if(self.mopen==1)
{
self thread Execute();
}
wait 0.05;
}
}
Execute()
{
switch(self.selected)
{
case 0:
break;
case 1:
{
self iPrintln("^1You Spawned A Crate!");
Crate = spawn("script_model", self.origin+(1,1,20));
Crate setModel("mp_supplydrop_ally");
Crate Solid();
self waittill("DELETE");
Crate Destroy();
}
break;
case 2:
{
self iPrintln("^2You Spawned A Plane!");
Plane = spawn("script_model", self.origin+(1,1,20));
Plane setModel("t5_veh_jet_f4_gearup");
Plane Solid();
}
break;
case 3:
{
self iPrintln("^3You Spawned A Camera Spike!");
Camera = spawn("script_model", self.origin+(1,1,20));
Camera setModel("t5_weapon_camera_head_world");
Camera Solid();
}
break;
case 4:
{
self iPrintln("^4You Spawned A Turret!");
Turret = spawn("script_model", self.origin+(1,1,20));
Turret setModel("t5_weapon_minigun_turret");
Turret Solid();
}
break;
case 5:
{
self iPrintln("^4You Spawned A Spy Plane!");
Spy = spawn("script_model", self.origin+(1,1,20));
Spy setModel("t5_veh_jet_u2");
Spy Solid();
}
break;
case 6:
{
self iPrintln("^5You Spawned A Helicopter!");
Heli = spawn("script_model", self.origin+(1,1,20));
Heli setModel("vehicle_cobra_helicopter_fly");
Heli Solid();
}
break;
case 7:
{
self iPrintln("^6You Spawned A Dog!");
Dog = spawn("script_model", self.origin+(1,1,20));
Dog setModel("german_shepherd");
Dog Solid();
}
break;
case 8:
{
self iPrintln("^7You Spawned An Rc-Xd!");
Rc = spawn("script_model", self.origin+(1,1,20));
Rc setModel("t5_veh_rcbomb_allies");
Rc Solid();
}
break;
case 9:
{
self iPrintln("^8You Spawned An Aircraft Bomb!");
Bomb = spawn("script_model", self.origin+(1,1,20));
Bomb setModel("aircraft_bomb");
Bomb Solid();
}
break;
case 10:
{
self iPrintln("^9You Spawned A S&D Bomb!");
SD = spawn("script_model", self.origin+(1,1,20));
SD setModel("prop_suitcase_bomb");
SD Solid();
}
break;
case 11:
{
self iPrintln("^0You Spawned A CarePack Copter!");
CC = spawn("script_model", self.origin+(1,1,20));
CC setModel("vehicle_ch46e_mp_light");
CC Solid();
}
break;
default:
break;
}
}
There you have it. A full forge mode you can play around with. Remember, if you want to use this menu base simply just clean out my stuff and put whatever you want in. Hope you enjoy.
8)
Last edited by FreeStylin ; edited 2 times in total
#2. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
WOW U GOT THIS FROM DRUNKSMODS(.)COM
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
SuchABeast wrote WOW U GOT THIS FROM DRUNKSMODS(.)COM
Did you not read at the start i said its a copy and paste ;) and even if i did get it from drunks i use the site and it was zondrina who made and released it not drunks.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
-ScubaSteve- wroteSuchABeast wrote WOW U GOT THIS FROM DRUNKSMODS(.)COM
Did you not read at the start i said its a copy and paste ;) and even if i did get it from drunks i use the site and it was zondrina who made and released it not drunks.
so why would you use there site just to copy threads??? thats retarded bro.
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Nov 29, 201014Year Member
Posts: 1,902
Reputation Power: 102
Status: Offline
Joined: Nov 29, 201014Year Member
Posts: 1,902
Reputation Power: 102
how is it zordrinas if it says havoc undead all over it lol
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 11
Reputation Power: 0
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 11
Reputation Power: 0
hey scuba can i have ur gt plazzzzz
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
Status: Offline
Joined: Jul 18, 201014Year Member
Posts: 1,350
Reputation Power: 56
Mini-Uzi wrote how is it zordrinas if it says havoc undead all over it lol
woops wrong video lol
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
gotta love drunksmods . com
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.