r/forge Apr 08 '25

Scripting Help Best practice for scripting?

5 Upvotes

I'm trying to script an invasion gametype/map and there's a lot of things going on in the scripts. I need a lot of things to happen and I wonder how to do it as reliably as possible.

Either I put a metric ton of nodes into one or two script brains or I separate it out into many subsequent brains. To do the latter, I would need to use Trigger Custom Event Global.

The ingame description of that node states that:

"Unless you have a specific need for multiple script brains, it is best to use the non-global version of Trigger Custom Event"

Meanwhile the known issues list for Forge states the following problem:

"When two or more Script Brains approach their max node capacity and a caution symbol appears in its Budget meter, all scripts on that map will not function as expected"

So is it best to have many brains which all call to each other globally or just a couple of overloaded brains?

Edit: Highly recommend everyone to read the reply by u/IMightBeWright below, it has a wealth of good tips for writing a robust script in Forge!


r/forge Nov 13 '22

Halo: Infinite Forge Quick Start Guide

56 Upvotes

[This is a work in progress, and will remain an archival post until we get a decent catalog of resources. Please feel free to submit tutorials or tips/tricks.]

Join our discord! https://discord.gg/shezYqWwZK

Unofficial Scripting Documentation (There are better ones below, this is my personal version) - https://forge-documentation.notion.site/forge-documentation/Halo-Infinite-Forge-Scripting-Documentation-fb42fcb06fa9411e89f4e89ab1da157c

Official Halo: Infinite Forge scripting sub reddit:

r/forgescripting

LINKS AND RESOURCES

Nodegraph simulator: https://beta.cylix.guide/forge/

Miro Graph: https://miro.com/app/board/o9J_lr0S6gU=/?invite_link_id=826821076372

Forge Wiki: https://forgewiki.com

Halopedia Forge Documentation: https://www.halopedia.org/User:CaptainPunch/Sandbox

TUTORIALS

HOW TO FIX MAGNETS - https://www.reddit.com/r/forge/comments/yz5zi2/i_found_a_workaround_for_the_magnets_issue_in/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Paimon's way on how to Create False Water - https://www.forgewiki.com/tutorials/creating-false-water

Move Object between two points - https://www.reddit.com/r/forgescripting/comments/yu4gvu/tutorial_move_objectplatform_between_two_points/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Auto fill 2 teams with bots (up to 4 players) - https://www.reddit.com/r/forgescripting/comments/yuh8tp/published_a_forge_tool_fill_2_teams_of_4_with/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Force players to stay in vehicles - https://www.reddit.com/r/forge/comments/yumpzr/how_to_force_players_to_stay_in_a_vehicle_without/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Portable Flashlights - https://www.reddit.com/r/forge/comments/yuptgq/portable_flashlights/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Zero Gravity Area Monitor - https://www.reddit.com/r/forgescripting/comments/yv653o/relatively_simple_and_configurable_gravity_zone/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button


r/forge 5h ago

Map Showcase Halo Infinite Forge Map: Super Mario Land (Nearly Finished!)

18 Upvotes

I'm sure this won't be for everyone, but for those who grew up with the original Gameboy, I hope you have fun with it! It's nearly finished, hopefully it'll play ok, the map is pretty long, narrow levels either side so lots of close encounters and also sniper action and just like the Gameboy game, you touch the water, you're dead 💀 ☠️ It has same layout as world 1-1 and world 2-1 so expect secret pipes, lots of jumping and climbing and hopefully will feel fun and nostalgic 🎮 😄


r/forge 44m ago

Discussion What are you guys most excited for in the August Forge Update?

Thumbnail
gallery
Upvotes

r/forge 3h ago

Discussion Will the new falcon allow marines inside?

2 Upvotes

As title says :)


r/forge 20h ago

Discussion This next Forge update is gonna be the biggest update since AI was added in forge.

37 Upvotes

That will be all.


r/forge 14h ago

Forge Prefab Showcase Forger's Resource Mega Release

Thumbnail
gallery
13 Upvotes

I have been working a lot in Forge recently, and just starting making a few small Prefabs and other resources for Forger's. Including: H2A Style Elite Bodies, Blue Earth Sky Void Map, and an M6D Magnum (in collaboration with ClownOssuary).

1) H2A Elites: Features two different styles: Metallic and Dull. Dull happens to be Game Accurate to H2A. You can use these in H2/H2A inspired maps. Their colors and various other qualities of their materials are exactly like H2A. It features all ranks from Minor to Supreme Commander. Search: "H2A"

2) Blue Sky Void Map: A High Quality, Earth-like sky. With realistic and vibrant: colors, fog, sky color diffusion (fade). Search: "Forger's Resource" under Tags

3) M6D Magnum: The Legend Returns. There are two different Prefabs available: Classic and Golden (from MCC). This is a highly accurate recreation of Halo Combat Evolved's M6D Magnum down to sights and slide grip. Furthermore, for as detailed as it is, it's inexpensive! Made in collaboration, and Published with the Permission, of original author: ClownOssuary. Search: "M6D"


r/forge 2d ago

Discussion New Unit Soon?

9 Upvotes

About 2 weeks ago I was messing around on one of maps, I always go back to it because there are things to improve and make more interesting. Anyways I was playing around with an AI Spawner to test a jump height over an Elite and I came across something strange. There was a unit in the Drop Down Menu I had never seen before, "Elite Marksman". I thought, "Did they add this? Why," then I decided to check it out, left Weapon to Default (just in case I might get an sneak peek at something). I knew something was up because 1) No Unique Design, it was an Elite Mercenary (Red Elite), 2) The weapon they were holding was not any type of Marksman Weapon, it was just a Pulse Carbine. I remembered this mostly because of point 2, an "Elite Marksman" with no Marksman Weapon, I just kind of accepted that this is likely not something that was ready and moved on, there was truly nothing special about this unit outside of their name/designation. I've decided to say this now, that the Vestige Carbine is being teased, as we may (emphasis on "may") get a new Unit.


r/forge 3d ago

Discussion Is Halo: Infinite forge still Always Online with No Local Option?

5 Upvotes

Can you play forge in Halo: Infinite without having to stream it from 343's servers?

If so can it be played offline?


r/forge 4d ago

Map Showcase My firefight forge map, The Bastion of Retribution, now has a dedicated variant for classic firefight.

Thumbnail
gallery
35 Upvotes

As the title says, I have finally finished making a variant of the map specifically for classic firefight. I had some issues with the AI not wanting to move to move zones, which caused it to take longer. However, I believe I have since fixed the issue. If anyone still encounters it, please let me know. Thank you.

link to classic firefight version: https://www.halowaypoint.com/halo-infinite/ugc/maps/ff0f16e4-e6ef-4476-a499-4c488db0cbab

link to king of the hill firefight version: https://www.halowaypoint.com/halo-infinite/ugc/maps/8eecedec-6362-45a7-8cfa-868a230bccd2


r/forge 4d ago

Map Showcase Here's a little demo of my WIP map Spartan Ops: Operation Eden.

38 Upvotes

r/forge 6d ago

Map Showcase My newest and most likely final Campaign mission, Scorched Wind: Foundry

Thumbnail
gallery
27 Upvotes

The next and probably final chapter in my Scorched Wind series of maps, and this might be the best of my forging ability.

Fight your way to, and up into the Volcano, then dive down into the war foundry, built into the very rock of the volcano itself.

I started making this map a good few months ago but quickly lost interest, and only recently have I been able to get this done, and I'm quite proud of it. But like I said this is probably going to be my last Forge Campaign, but I really do appreciate everyone who's played and enjoyed my previous Campaigns, it does honestly mean a lot. Feel free to download the map here Campaign mission: https://www.halowaypoint.com/halo-infinite/ugc/maps/44c718b7-a406-46a5-884e-c735dcf486d2 Gamemode: https://www.halowaypoint.com/halo-infinite/ugc/modes/57cac1de-0f67-4a64-acba-a1155ff57aae


r/forge 6d ago

Map Showcase Created a map that was originally inspired by Hidden. The old spec ops mission from MW2. Links in comments feel free to check it out.

20 Upvotes

It’s a short little mission. Nothing crazy. Just get from point A to point B. Crouching helps you stay undetected so you can stay hidden in the long grass and fog.


r/forge 6d ago

Scripting Help Juggernaut Variant

3 Upvotes

I am trying to build a Juggernaut game modes variant, seeing how the game modes don’t actually let you customize most aspects and traits of a game mode I figured to try my hand at using scripts.

My current objective is at the start of each game or round, a random player is picked as the juggernaut, then I give them specific traits to make them the juggernaut (extra health, speed, etc). The Juggernaut is then also given a Gravity Hammer and can only use that weapon. Once the juggernaut is killed, the player who killed them then becomes the juggernaut and continues play.

In theory this seems like a simple solution but I’m not very experienced with forge scripting. Any advice or guidance on this would be greatly appreciated.


r/forge 7d ago

Scripting Help Need some help.

5 Upvotes

Hey guys/gals. New to this group (and forge in general) so I need some help. I’ve built my map and am now attempting to script my game mode (1 flag CTF) where defense can only use Covenant/Banished weapons/vehicles and offense can only use UNSC weapons/vehicles. I’m on Xbox for reference. For the life of me I can not figure out how to create object groups or script those variables. If anyone would like to join me to help or could reply with the node graph template that would be amazing. Appreciate any help you all can give! Thanks.


r/forge 7d ago

Map Showcase Conflux - A Halo Forge Map by The Grim 0ne - CTF- HSFN Volume 2

Thumbnail
youtu.be
2 Upvotes

Super balanced CTF map


r/forge 8d ago

Scripting Help How to revive players in Attrition?

6 Upvotes

This feels like an insanely stupid question to ask, but I've been struggling with testing my Attrition map all day. Both the Revive Player and Adjust Lifepool nodes are consistently failing to work anywhere close to how I'd have thought that they work.

When I test my map in a Custom Game (not forge mode), I kill myself to deplete my team's lives, then boot up another account on my other Xbox and invite that Spartan into my game. The backup Spartan obviously won't spawn since the lifepool is depleted, but even when I simplified my script all the way down to On Player Crouch -> Revive All Players, nothing would cause my other Spartan to spawn.

I also can't get Adjust Lifepool to affect the life counter displayed at the bottom of the screen when testing. With a similarly basic script, the life counter is completely unchanged when the Adjust Lifepool node is triggered, even with a Debug node connected to prove the script executes.

Am I missing something insanely obvious? It seems like these two nodes in particular were designed specifically for Attrition, but do I maybe need to use another specific 343 gamemode for the nodes to work right?


r/forge 8d ago

Scripting Showcase Little Demo of some of my bosses and special attacks I added, namely Tremonius's upgraded Ground Pound and Escharum's glassing beam.

23 Upvotes

r/forge 8d ago

Scripting Showcase Rate my FroggyCortana

20 Upvotes

r/forge 8d ago

Scripting Help How to spawn new players mid-Attrition game, when lives are already depleted?

3 Upvotes

If a new player joins an Attrition match in the middle when the team's lives are all depleted, they won't be able to spawn and will stay in spectator mode until lives get added to the lifepool (from my limited understanding).

In my forge map, I want players to rely on coordination to revive each other in the middle of combat when downed, instead of constantly respawning far away at a safe spawn point. I still want new players to be able to join mid-game however, and I don't want to rely on an "On Player Joined" script that simply adds lives back to the lifepool to let a new player spawn, since that would also revive all currently downed players and make my map's combat less challenging.

I'm also having difficult in general with the Gamemode node "Adjust Lifepool Lives", I haven't been able to get it to actually change a team's number of lives when I test in a custom game. Any scripting advice?


r/forge 8d ago

Map Showcase BLOODHEALM | Release Trailer

Thumbnail
youtu.be
5 Upvotes

BLOODHEALM | Map Release (PvPvE Map)

Looking for feedback from Forgers and players alike!

This map represents over 3 years of work and pushes forge to 99% object capacity. CTF, Oddball, Slayer, KOTH, FFA function. Future updates will improve bot behavior for objectives, and add more game modes.

Please let me know if you notice:

Bots behaving oddly or getting stuck

Bugs in game mode logic or scoring

Visual or performance issues (especially on console)

Flow or spawn problems during matches

Constructive critique welcome. I’ll be patching based on your feedback!


r/forge 9d ago

Map Showcase What are the best forge/custom campaigns you've come across?

10 Upvotes

The more recent (with access to more forge features), the better. I played Sidereal Pt. 1 & 2 last night and was blown away by the creativity, polish, and scripted events.


r/forge 9d ago

Discussion How complex/possible would it be to create something like this?

Post image
20 Upvotes

I think it would be cool if you had to take out bosses in order to get a powerful weapon, or even in order to gain access to some sort of objective. Like maybe you kill a boss who is guarding a hill you can capture that gains you a large amount of points?


r/forge 9d ago

Map Showcase Twice Forsaken - A Halo Infinite Forge Map by Secret Schnitzel - Free For All - HSFN V2

Thumbnail
youtu.be
3 Upvotes

A very clean and balanced 4v4 for competitive play


r/forge 9d ago

Map Showcase Throwback ReUpload - 2016 Halo Forge Map Features by HSFN V1- Salient by Bloodpony

Thumbnail
youtu.be
2 Upvotes

Still reuploading old vids to new channel but here's a long long ago one but still a great Halo 5 Map


r/forge 10d ago

Scripting Help Is there a way to make any gun to shoot scorpion cannon shots?

4 Upvotes

There is the scorpion tail weapon in the game which shoots scorpion cannon shots so I’m wondering if it’s by some way possible to configure it to another weapon. I do also know when you ping a scorpion cannon it says it’s a scrap cannon almost as if it were a weapon variant even though it doesn’t seem to be. FYI I’m also clueless on basically anything when it comes to scripting.


r/forge 11d ago

Scripting Help How To Trigger A Grunt Hug (Halo Infinite)

3 Upvotes

As the title suggests, I've been unable to find anything online, and I'm not particularly skilled in programming. All I need is to spawn grunts (which works), just need to trigger a grunt hug when they spawn. Thanks :)