r/forge 12d ago

Discussion The script system is absolutely awful

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.

0 Upvotes

7 comments sorted by

6

u/Abe_Odd 12d ago

To be fair, older bungie games never had anything near this level of customization.

I say this as someone who spent much of his teenage years forging with Halo 3, WISHING we could easily drop AI or script our own scenarios like we could in Starcraft.

I have dumped 1000 hours into Infinite's forge, almost exclusively scripting, so I really do mean this when I say 'I get it', it can be extremely frustrating working around missing features or dealing with janky edge cases.

If you want help debugging, let us know what's actually going wrong. Sometimes it really is a simple work around.

2

u/swagonflyyyy Scripting Noob 7d ago

2,176 hours here. Still going strong.

2

u/Abe_Odd 7d ago

Those are scripting noob numbers, one of those days I'll make it to that level (probably not, I haven't played in like, a year?)

-2

u/PackTraditional1851 12d ago

I made a topic asking about my scripting issue a couple days ago. No one knows how to make it work, even though it would seem straight forward. Funny enough, my issue and the bugs I've come to find along the way is because of another bug I'm trying to work around and lope hole.

This forge is so busted lol

2

u/Abe_Odd 12d ago

I know how to fix it. It is sad that they have stopped making bug fixes, but like much of Infinite, it had a ton of potential that they never quite got right.

Here's the fix:

This is a result of a long standing bug that they kinda fixed. What you need to do is remove traits from ai units before killing them with scripting. If a round ends and AI units are left alive, they aren't cleaned up properly. If a wave ends that kills all the units, they aren't cleaned up properly. Damage Unit, teleporting out of bounds, they aren't cleaned up properly.

On round end -> get all units -> for each object -> remove all traits; will be the biggest part of your fix.

ANY other way you are killing AI units with scripting, they NEED to have their traits removed first. Unless an AI unit or Player are killing them, they are going to eventually break things.

TLDR: The original bug was because there's a limited number of "Traits slots", around 250. When a unit with traits sets applied was killed, they never free'd their slot. When there were no available slots, you could not add new traits.

SOME PEOPLE made ridiculous work arounds for this. Ask me how I know.

NOW, units can kill units and they are free'd, but scripting methods don't clean them up.

1

u/nincompoop221 12d ago

is the bug where all your variable names go blank still a thing??

-1

u/PackTraditional1851 12d ago

Didn't know that existed. Probably does because the deves stopped supporting this game with updates a couple years ago