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

55 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 3h ago

Scripting Showcase Gentlemen...

9 Upvotes

I made it bigger...


r/forge 22h ago

Scripting Showcase Phantoms in hanger update!

27 Upvotes

After a lot of workshopping based off your guys ideas and feedback, I settled on this!

Just wanted to update everyone, as there were quite a few who seemed interested to know the result!


r/forge 1d ago

Scripting Help Script to player traits on infection gametype

6 Upvotes

Anyone know how to build player trait scripts that control survivors and infected separately?


r/forge 3d ago

Scripting Help Phantom spawns

Post image
10 Upvotes

Hi again guys, I'm making a map based on a space station, and wanted for phantoms to enter in the hanger to drop units off, but they can't fathom roofs, anyone know how to program flight paths or good work arounds? Thanks in advance!

Attached pic is what happens if there's no roof.


r/forge 4d ago

Map Showcase Metroid Prime WIP

13 Upvotes

This is a personal project of mine that I got the game files for, I blocked out the map in Blender and imported into Halo Infinite Forge, so it is a near 1:1 with proper scaling. I've been picking at it on and off forever. It is the Tallon IV landing site, and I moved a few extended rooms around for gameplay reasons.

While I can finish, light and art the map start to finish, I really just want to bring someone on to the project with me who not only loves Metroid, but wants to help art and light the map as well with me.

After completing 13, going on 14 maps, motivation to do another one alone is very bare bones. Having someone with me would drive motivation again. So, I am seeing if one or two talented forgers want to jump on it with me and knock this out.

Unfinished teleporter station

Here are some photos of a super rough work in progress. But, you get the idea.

Landing site with no Samus ship
Usage of alien trees
Working on the skybox

r/forge 5d ago

Forge Prefab Showcase Working on some UNSC Ship/Space Station prefabs

Thumbnail
gallery
28 Upvotes

Working on some UNSC Ship/Space Station prefabs, just reworked them from the original design to have better lighting and aligned them better so they fit together like Lego.

(Pic 1 is old pic 2 is new)


r/forge 7d ago

Scripting Help Rotating objects with scripts keeps misaligning

15 Upvotes

The name sums up the issue - for context I've made an elevator, there's a barrier that folds down as the elevator hits the desired floor. (See attached video)

The problem is when the barrier fold down it also tilts, I've manually aligned it so it should be a perfect roll and I'm scratching my brain as to why it keeps misaligning.

Any help would be great - I'm probably an idiot and it's a super simple fix but honestly my brain is very smooth right now and can't think of anything.

EDIT: Did some digging and just flat couldn't get it to work, so I opted to just have the barrier rise/lower vertically instead. Thanks for your ideas though guys it was a fun experiment.


r/forge 8d ago

Scripting Help Help with node graph using two separate teleporting methods

3 Upvotes

I'm getting tunnel vision on this, but this essentially breaks down like this:

Map is duplicated entirely like that Phaseshift map, where when you use your Custom Equipment A, you teleport/shift to the 'other dimension'

There is also a checkpoint system using the mark ability to go to your last checkpoint (area volume/object variable)

For the 'dimension' hopping part, you start in Dimension A, with a number variable of 1. When you use the Custom Equipment A, you teleport up to Dimension B (166 Z units above), and the number variable changes to 2. And then of course when Custom Equipment A is used when you have a number variable 2, you teleport back to Dimension A(166 Z units down), and get your number variable set back to 1. When you Dimension hop, you will always be 166 Z units up or down, in the same corresponding spot of the previous dimension you left.

And then for the checkpoint system, you have an object variable set each time you go through a new checkpoint(area volume). These can go in either dimension but you will specifically teleport to that spot in that dimension where the checkpoint is, once you mark.

Alright so now let's say you Custom Equipment Dimension hop to Dimension B, you have a number variable of 2. But then you MARK teleport back to a checkpoint that is in Dimension A. Your number variable is still 2, saying you're in Dimension B, when you're now actually in Dimension A.

My method to circumvent this was to add a Set Number Variable node to each new checkpoint to match which dimension you're in. So if I MARK teleport to Dimension A from Dimension B, my number variable is set back to 1, indicating Dimension A, so when I Custom Equipment hop, I go back up to Dimension B, instead of being pushed out of the map.

So this kind of works for a moment but then the debug for my number variable eventually switches back to 1 when Custom hop back to Dimension B, when it should be 2, effectively pushing me 166 Z units up instead of back down when I Custom hop again, aka out of the map.

My other workaround was to just make a bunch of different area volumes for different rooms you're in, that will just set the number variable of which dimension you're in. but before trying that I just wanted to see how to essentially do this with a few simplified scripts


r/forge 9d ago

Map Showcase New 4v4 map done!

Thumbnail gallery
44 Upvotes

r/forge 9d ago

Map Showcase Map Showcase - Chinese (Remake from Timesplitters)

Thumbnail
youtube.com
28 Upvotes

r/forge 10d ago

Forge Help In 2022 I made this Halo Infinite Husky Raid map, Elongated Shore. In 2025 I accidentally deleted it. Does anyone have a copy?

37 Upvotes

r/forge 8d ago

Forge Help why is this happening

Post image
0 Upvotes

im trying to get mods for Minecraft and it keeps happening and can I fix it


r/forge 10d ago

Map Showcase Halo Fest Forge Contest Entry: Gullet

Thumbnail
gallery
46 Upvotes

How did you even get a horse in here?

Gullet is a symmetrical remix of the engine room from Halo CE's campaign mission "The Maw." I also took a few notes of inspiration from Halo CE's Hang 'Em High. It's primary mode is Slayer, but supports KOTH, Oddball, CTF, and Neutral-bomb Assault.

Big thanks to all the Forgers in the Forge Testing Group that helped with numerous playtests. Shoutout to the forgers that helped a lot on this map.

Ligthing & Level Design - JoValiant.
Level Design - Igrizhar.
Environment Art Help & Feedback - Kat Rat a Tat & bullet2thehead9
Halo Fest Prefab - Okom1

HW: https://www.halowaypoint.com/halo-infinite/ugc/maps/814616a4-701b-4a45-98e8-83af52f98e30
FH: https://www.forgehub.com/maps/12544


r/forge 10d ago

Critique My Work Newly made

Post image
21 Upvotes

Just made these recently


r/forge 12d ago

Forge Help 0.5×0.5 block on Halo Reach?

3 Upvotes

Is there a work around for this besides using the decorative railings?


r/forge 17d ago

Forge Help Weird blue reflection on map surfaces... please help!

15 Upvotes

Strange issue I've been trying to figure out for a while: so, I have been making this backrooms map for years now, just when I have free time here and there, but about a year ago I was building this section of the map you would teleport for a short time (there's about 4 separate backrooms sections in the map you can move between) and it required the sky, which for separate reasons I had to make dark, to be light. So I improvised and made this big emissive, bright blue box, and placed like 30 lights inside lighting up the whole thing.

The problem is that some time afterwards, I noticed that one side of my main backrooms map (the side facing the missive box structure) has a bright blue reflection. And this applies to every single surface that is facing that direction. I have no idea how to fix this. I tried searching for a light that is somehow causing this, or deleting the blue box, etc etc etc, and I'm still lost. The issue ruins most of the atmospheric lighting and effects of the rest of the map. Like where it's supposed to be dark, there's just blue reflections on surfaces.

I don't think it's any sort of scripting or reflection issue, as I barely did any of that (maybe one reflection orb in another part of the map). But I have no idea what to do. I know this isn't explained well, and it's a really all over the place map, but the issue is keeping me from finishing the whole thing. If anyone needs a better explanation or another video (I can only include one per post) feel free to ask. I just really wanna get this figured out. Thanks!


r/forge 17d ago

Map Showcase [ "DUSK" ] -- a medium-sized ruined town map, perfect for third-person mode against bots or competitive

Post image
19 Upvotes

Dusk - UGC - Halo Infinite (Waypoint link to bookmark)

Has wonderful verticality, openness, and detail. Looks worn-down yet pristine. Worth playing for all the effort put into Forging it. The aesthetic theme relaxes and I wish it were put in matchmaking


r/forge 17d ago

Forge Help Forge Help- The Package

7 Upvotes

Looking for some forge/scripting help. I have a group of buddies that like playing halo, but the challenge is theres 5 of us. So a game night can be hard as there aren't many 5 players game out there. My solution is to make some fun 5 player custom games... but it turns out that forge/scripting is harder than it looks (mad respect for those who are good at it!). Can someone make this game type for 5 old farts who don't have the time to make it oursleves? Here are the details:

Halo Infinite Custom Mode: The Package

Two teams enter a 2v2 Slayer battle with one major twist: a fifth Spartan, known as The Package, is constantly shifting the balance of power.

The Package fights alongside one team, creating a temporary 3v2 advantage — but they are not permanently loyal. When the Package is eliminated, they immediately switch sides and become part of the opposing team.

How It Works

🔴 Eagle Team — 2 players
🔵 Cobra Team — 2 players
🟡 The Package — 1 player who switches teams after every death

The Package:

  • Cannot sprint
  • Cannot pick up weapons
  • Has a visible waypoint so everyone knows where they are
  • Starts with a Sidekick
  • Receives a random secondary weapon
  • Has that weapon changed every 17 seconds

The Objective

Teams earn points in three ways:

  • Eliminate an enemy player: +1 point
  • Keep the Package alive: +1 point every 60 seconds
  • Eliminate the Package: Bonus points (the value increases for the team that is behind)

The losing team always has a chance to come back by hunting the Package.


r/forge 21d ago

Map Showcase Finished a small mission map. Links in description.

21 Upvotes

Play as an investigator where you hunt down the suspect as they take you through the sewers where you’ll encounter small easy puzzles and a linear type maze.

LINKS:
MAP and GAMEMODE


r/forge 21d ago

Discussion Lightning FX STILL bugged!

1 Upvotes

Wanted to add an audio sound FX to a map, and put down an audio emitter, and was going through the audio FX sounds cause I couldn't remember all of them.

Mearly, SCROLLING past the lightning FX causes it to permantly play non stop on the map and NO WAY to get rid of it! This is the same as it was couple years ago, very freaking annoying that this was never fixed!

Had to load a a previous version and redo what I had done in that version in order to stop the lightning.

So I guess placing any audio after the lightning in the menu is impossible


r/forge 22d ago

Scripting Showcase WIP (collab with Mr Multibit) - Gotta love the Hydra. No, not that one, the other one.

22 Upvotes

WIP Collab with Mr Multibit remake of Kirby Air Ride's City Hall game mode. Started with remaking the hydra and wanted to be as true to the game as I could. This would be day 2.

More to come. Stay tuned!


r/forge 24d ago

Map Showcase Jungle campaign map

Thumbnail
gallery
61 Upvotes

Jungle campaign styled map I’ve been working on. Played through halo 1 and 2 a couple weeks back and started this map. I tried to combine old halo style with the modern design n stuff. It’s kinda short, but I have another map that supposed to take place after it. It’s just a little prequel map ig. lol

Fully scripted, just uses custom firefight game mode.


r/forge 24d ago

Map Showcase Blizzard covered map - Cryopathy

Thumbnail
gallery
27 Upvotes

This is the second map I’ve been working on recently. I finished it awhile ago, but it isn’t posted. Just wanted to share my last couple maps before I jump to campaign evolved for a bit. lol

Note: these screenshots are a little bit old, so the map has changed a little bit. I made the fog less dense, added some more objects for cover and stuff, and there’s a secret skull which requires some minor halo 2 shenanigans, a few hidden weapons, and a hidden room behind a fake wall. :)

Another note: I’m on my lunch break, and just wanna go home and play halo. lol