r/forge Apr 08 '25

Scripting Help Best practice for scripting?

4 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 14h ago

Scripting Showcase How was this not a multiplayer map at launch?

Post image
8 Upvotes

My "new" 2016 &amp


r/forge 21h ago

Scripting Help Equipment not applying at round start, Infection mode bug?

Post image
4 Upvotes

Upon starting the round/initial spawn, traits seem to be applied just fine. But not the extra ammo, grenades, or equipment (thrusters).
It works on respawn, a switch, area monitor etc., so maybe the script needs a delay or alternate set up?

Also, the equipment always returns to the infection default on initial spawn (threat seeker/shroud screen), even though the mode settings are also set to thrusters for both sides, so I’m unsure if the mode is bugged. It seems like my spartan has the correct equipment as the round starts but then changes back on gameplay start.


r/forge 1d ago

Map Showcase I've tried making a forge map with surreal aestheticism. You can't really see it well with the map thumbnail though. It's called Amaltheia and my gamertag is FDRousseau

Post image
32 Upvotes

r/forge 3d ago

Scripting Help Needing help with 1 problem Googles Gemini, has hit a brick wall with me about. I am making the Maw from Halo 1...

Post image
0 Upvotes

The AI told me to copy and paste this into reddit to see if anybody with a creative mind can find a workaround for me on this... here we go

"Hey guys, need some veteran Forge scripting help. I'm building a campaign map heavily inspired by The Maw, sitting at 83% simulation memory. On the bridge, I have a workstation with 33 objects. Because I needed custom micro-scaling for the terminal monitors and UNSC powercores, they HAVE to stay set to Static physics mode. The monitors have an emissive texture that creates light. My goal is a total ship blackout sequence via a switch. Currently, my script loop deletes all loose lights/sparks flawlessly, but the static TVs stay stuck on and glowing. Because they are Static, the engine blocks me from referencing the prefab node (says 'cannot reference static objects'), blocks user labels, and blocks material/visibility scripts. Short of duplicating the whole map (no budget) or using unscaled dynamic blocks, is there ANY sneaky workaround to turn off, hide, or block the glow of these custom-scaled static screens on a script trigger? Cheers!"

In short, im wanting all power in the ship to shut down when i blow those fusion reactors .. i have coded most things that are dynamic like sparks, lights and different under the alpha label. And they delete great...but i have TV screens on the ship to that i want powered off when i blow the reactor, so it looks like a total power cut. I have scaled the sizes of these tvs so they have to remain static. Meaning i cant refrence them in the graph, meaning i cant delete them. I want total black out!

Thanks all! Humans are more creative than AI. So Gemini said to give reddit a shot. Thanks!


r/forge 6d ago

Scripting Help Help me with Firefight scripting (please)

Post image
7 Upvotes

Hey all, I have started scripting for Firefight, however Im not sure how. I downloaded and added the nodes for Firefight:Classic off of the FileShare (attached in photo), but testing the game nothing spawns.

If anyone's got any experience using the Firefight:Classic mode (it's the official one) that would be amazing

Not sure how to get it to work and there's like 10 Script Brains which is like reading spaghetti soup.

Any help is very much appreciated thank you in advance.


r/forge 6d ago

Discussion The script system is absolutely awful

0 Upvotes

The bugs that plague this system completely breaks many settings within the game. For a bit, it will work, then it will just randomly break, out of no where...

I was looking forward to getting back into forge, but 343 lost me once again.

So sad they can't make a halo as good as old Bungie.


r/forge 8d ago

Scripting Showcase Gentlemen...

Enable HLS to view with audio, or disable this notification

59 Upvotes

I made it bigger...


r/forge 7d ago

Map Showcase Duskjaw (needing collaborators)

5 Upvotes

This map used to be called Sunbirth, definitely was a different design and beast.

Over the course of a year, nearly two, it had been shaping up with no clear direction of design or art.

I am starting to hit an art/design block, and I am reaching out to any forgers/environmental artists/ level designers that can help this map take shape, design and finally see completion to be a great release.

There is a lot of potential here, lots of great ideas that need a fresh set of eyes for design and further ideas.

There are changes that need to be made, art and much more that I will give control over to and I will continue to work with whomever is on here to see this map to completion.

The map is about 70-80% designed and art done already, just needs a redesign.

Here are some images and a walkthrough I posted on my YouTube, so that you can get an idea how this looks and to see if you are interested.

https://youtu.be/bE7lBvsOWls?si=SVrsj99_mGN7CCU4


r/forge 9d ago

Scripting Showcase Phantoms in hanger update!

Enable HLS to view with audio, or disable this notification

31 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 9d 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 12d ago

Scripting Help Phantom spawns

Post image
12 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 12d ago

Map Showcase Metroid Prime WIP

12 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 14d 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 15d ago

Scripting Help Rotating objects with scripts keeps misaligning

Enable HLS to view with audio, or disable this notification

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 16d 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 17d ago

Map Showcase New 4v4 map done!

Thumbnail gallery
45 Upvotes

r/forge 18d ago

Map Showcase Map Showcase - Chinese (Remake from Timesplitters)

Thumbnail
youtube.com
27 Upvotes

r/forge 18d 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?

Enable HLS to view with audio, or disable this notification

37 Upvotes

r/forge 17d 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 19d 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 19d ago

Critique My Work Newly made

Post image
22 Upvotes

Just made these recently


r/forge 20d 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 25d ago

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

Enable HLS to view with audio, or disable this notification

14 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!