V1.5.0 Public Beta:
1) Fixed a Bug in the Create Turret function that would cause it to complete incorrectly.
2) Fixed a Bug where removing the info bar then re-adding it would generate additional shaders, leading to the menu having issues displaying stuff.
3) Fixed a Bug where the infobar would display false information after using the RTM Concept Tool for any CreateForge Function.
If you find an bugs that are not listed in the Known bugs tag or have questions regarding this editor. Besure to PM via NGU or message my Skype "Nothingbutbread" with any questions (not pertaining to hosting XP Lobbies).
////////////////////////////////////////////////////////////////////////////////////
// Credits: A shoutout for everyone contributed work that isn't mine. //
// HiddenHour [NGU]: Some custom code, general help. //
// Shark [NGU]: Base Forgefunctions, Menu Base. //
// xTurntUpLobbies: Base Overflow fix and fixed _rank.gsc //
// Extint: Entity Overflow Fix //
// Contributers to the NGU Script lists: Some functions used in the Host menu. //
// Anyone else I missed: Everything else that isn't 100% my code. //
////////////////////////////////////////////////////////////////////////////////////
Extra Forge Functions that are createable in V1.6.0 PB:
Sample Demonstration Map Edit:
Nuketown()
{
level thread removeSkyBarrier();
level thread CreateBoxStair((-756.64,-833.06,-90.8833), 1200, 120, 120, 1, 18, 36, true, true);
level thread CreateBoxStair((-756.64,-833.06,-90.8833), 1200, 240, 240, 1, 18, 36, false, false);
}
Forge Function Code:
CreateBoxStair(Origin, Height, Width, Lenght, Enter, Stepheight, Gap, Right, invisible)
{
level endon("CreateBoxStairCaseInvalid");
Ground = Origin[2];
A = Origin[1] + Width;
B = Origin[0] + Lenght;
C = Origin[0] - Lenght;
D = Origin[1] - Width;
BA = (B, A, Origin[2]);
BD = (B, D, Origin[2]);
AC = (A, C, Origin[2]);
DC = (D, C, Origin[2]);
W = Distance(BA, AC);
L = Distance(BA, BD);
WL = W + L;
Tall = Ground + Height;
if (Tall < Stepheight)
level notify("CreateBoxStairCaseInvalid");
HI = Ceil(Tall / Stepheight);
Dir = NBBCustomForge_CreateBoxReturnDirrection(Enter, Right);
if (Enter == 1)
SOrigin = BA;
if (Enter == 2)
SOrigin = AC;
if (Enter == 3)
SOrigin = DC;
if (Enter == 4)
SOrigin = DB;
for (z = 0; z <= HI; z++)
{
reset = 0;
if (Dir == 110) //Point trying to get to, below is how to get there.
{
if (z != 1)
SOrigin = (SOrigin[0], SOrigin[1] - Gap, SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,90,0));
if (invisible == true)
block hide();
reset += 1;
if (SOrigin[1] <= D) //We have reached point, looking for next one.
Dir = NBBCustomForge_CreateBoxReturnDirrection(2, Right); //State location, get next one
}
if (Dir == 101)
{
if (z != 1)
SOrigin = (SOrigin[0], SOrigin[1] + Gap, SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,90,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[1] >= A)
Dir = NBBCustomForge_CreateBoxReturnDirrection(4, Right);
}
if (Dir == 111) //End destination
{
if (z != 1)
SOrigin = (SOrigin[0] + Gap, SOrigin[1], SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,0,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[0] >= BA[0])
Dir = NBBCustomForge_CreateBoxReturnDirrection(1, Right);
}
if (Dir == 100)
{
if (z != 1)
SOrigin = (SOrigin[0] - Gap, SOrigin[1], SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,0,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[0] <= DC[0])
Dir = NBBCustomForge_CreateBoxReturnDirrection(3, Right);
}
if (Dir == 210) //Point trying to get to, below is how to get there.
{
if (z != 1)
SOrigin = (SOrigin[0] + Gap, SOrigin[1], SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,0,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
if (SOrigin[0] >= B) //We have reached point, looking for next one.
Dir = NBBCustomForge_CreateBoxReturnDirrection(2, Right); //State location, get next one
}
if (Dir == 201)
{
if (z != 1)
SOrigin = (SOrigin[0] - Gap, SOrigin[1], SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,00,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[0] <= C)
Dir = NBBCustomForge_CreateBoxReturnDirrection(4, Right);
}
if (Dir == 211) //End destination
{
if (z != 1)
SOrigin = (SOrigin[0], SOrigin[1] + Gap, SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,90,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[1] >= BA[1])
Dir = NBBCustomForge_CreateBoxReturnDirrection(1, Right);
}
if (Dir == 200)
{
if (z != 1)
SOrigin = (SOrigin[0], SOrigin[1] - Gap, SOrigin[2] + Stepheight);
block = spawnEntity("script_model", "t6_wpn_supply_drop_ally", SOrigin, (0,90,0));
if (invisible == true)
block hide();
if (reset > 0)
z += 1;
reset += 1;
if (SOrigin[1] <= DC[1])
Dir = NBBCustomForge_CreateBoxReturnDirrection(3, Right);
}
}
}
NBBCustomForge_CreateBoxReturnDirrection(Location, Right) //Surport Function, need to add to use.
{
if (Location == 1 && Right == true)
return 110; //The place its going to
if (Location == 2 && Right == true)
return 100;
if (Location == 3 && Right == true)
return 101;
if (Location == 4 && Right == true)
return 111;
if (Location == 1 && Right == false)
return 201;
if (Location == 2 && Right == false)
return 211;
if (Location == 3 && Right == false)
return 210;
if (Location == 4 && Right == false)
return 200;
}
1) Create Wall Function: Making an wall invisible causes only a single entity to spawn and improperly updates the entity counter when deleted
2) When spawning in the Door, Solid Door or Turret. Random freeze may happen 45 minutes to 1 hour and 30 minutes after using that function.
3) When using Source or GSCR Versions (without injecting _rank.gsc fix) Rare GSC Overflow error
4) General Infobar text bugs, not properly integrated into all functions yet.
If you find an bugs that are not listed in the Known bugs tag or have questions regarding this editor. Besure to PM via NGU or message my Skype "Nothingbutbread" with any questions (not pertaining to hosting XP Lobbies).
1) In-game Menu Color Text changer, Can be changed from Source atm
2) More Spawnable Forge Functions
3) Sound Changer, Adjust sounds the menu makes in-game
4) Last Forge Object editor, allows you to edit the parts of the previously made forge functions without deleting it
5) Custom weapon spawner, Any gun, Any attachment combo and Camo all in-game.
////////////////////////////////////////////////////////////////////////////////////
// Credits: A shoutout for everyone contributed work that isn't mine. //
// HiddenHour [NGU]: Some custom code, general help. //
// Shark [NGU]: Base Forgefunctions, Menu Base. //
// xTurntUpLobbies: Base Overflow fix and fixed _rank.gsc //
// Extint: Entity Overflow Fix //
// Contributers to the NGU Script lists: Some functions used in the Host menu. //
// Anyone else I missed: Everything else that isn't 100% my code. //
////////////////////////////////////////////////////////////////////////////////////
1) Create Wall Function: Making an wall invisible causes only a single entity to spawn and improperly updates the entity counter when deleted
2) When spawning in the Door, Solid Door or Turret. Random freeze may happen 45 minutes to 1 hour and 30 minutes after using that function.
3) When using Source or GSCR Versions (without injecting _rank.gsc fix) Rare GSC Overflow error
4) General Infobar text bugs, not properly integrated into all functions yet.
If you find an bugs that are not listed in the Known bugs tag or have questions regarding this editor. Besure to PM via NGU or message my Skype "Nothingbutbread" with any questions (not pertaining to hosting XP Lobbies).
1) In-game Menu Color Text changer, Can be changed from Source atm
2) More Spawnable Forge Functions
3) Sound Changer, Adjust sounds the menu makes in-game
4) Last Forge Object editor, allows you to edit the parts of the previously made forge functions without deleting it
5) Custom weapon spawner, Any gun, Any attachment combo and Camo all in-game.
////////////////////////////////////////////////////////////////////////////////////
// Credits: A shoutout for everyone contributed work that isn't mine. //
// HiddenHour [NGU]: Some custom code, general help. //
// Shark [NGU]: Base Forgefunctions, Menu Base. //
// xTurntUpLobbies: Base Overflow fix and fixed _rank.gsc //
// Extint: Entity Overflow Fix //
// Contributers to the NGU Script lists: Some functions used in the Host menu. //
// Anyone else I missed: Everything else that isn't 100% my code. //
////////////////////////////////////////////////////////////////////////////////////
V1.5.0 Public Beta:
1) Fixed a Bug in the Create Turret function that would cause it to complete incorrectly.
2) Fixed a Bug where removing the info bar then re-adding it would generate additional shaders, leading to the menu having issues displaying stuff.
3) Fixed a Bug where the infobar would display false information after using the RTM Concept Tool for any CreateForge Function.
If you find an bugs that are not listed in the Known bugs tag or have questions regarding this editor. Besure to PM via NGU or message my Skype "Nothingbutbread" with any questions (not pertaining to hosting XP Lobbies).
1) In-game Menu Color Text changer, Can be changed from Source atm
2) More Spawnable Forge Functions
3) Sound Changer, Adjust sounds the menu makes in-game
4) Last Forge Object editor, allows you to edit the parts of the previously made forge functions without deleting it
5) Custom weapon spawner, Any gun, Any attachment combo and Camo all in-game.
////////////////////////////////////////////////////////////////////////////////////
// Credits: A shoutout for everyone contributed work that isn't mine. //
// HiddenHour [NGU]: Some custom code, general help. //
// Shark [NGU]: Base Forgefunctions, Menu Base. //
// xTurntUpLobbies: Base Overflow fix and fixed _rank.gsc //
// Extint: Entity Overflow Fix //
// Contributers to the NGU Script lists: Some functions used in the Host menu. //
// Anyone else I missed: Everything else that isn't 100% my code. //
////////////////////////////////////////////////////////////////////////////////////
Copyright © 2024, NextGenUpdate.
All Rights Reserved.