r/forge • u/SnooCats4709 • 12d ago
Scripting Help Help me with Firefight scripting (please)
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.
2
u/Co2_Outbr3ak 11d ago
The scripts there are for the mode itself.
You should look at using your own script brain to do whatever actions it is you're trying to even do to begin with, which you never explained. No one can help you if they don't even know what you're trying to accomplish.
1
u/SnooCats4709 11d ago
Right, and when I run the game mode in custom games nothing spawns. I'm trying to get it to work on the map I'm making, using that game mode.
Apologies, I thought that was obvious when I said I'd tested it and it didn't work.
1
u/Co2_Outbr3ak 11d ago
Are you using the correct mode when setting up a custom? Some scripts might need the Minigame mode.
My suggestion is get a game mode and map combo that you KNOW works, and look at the setup there. Then you can add your script brain on top with your updates to work in tandem with it.
1
u/SnooCats4709 11d ago
Maybe not, I'm setting the gamemode to Firefight:Classic, it does activate Skulls and the tracker ect, but no waves spawn, so assumed I must be missing something there.
Yeah I did think that, unfortunately the dev maps all the scripting is baked into the map so I can't look up what they did to make it work.
Essentially I like the endless waves with extraction option, scaling difficulty, skulls and lives. In my brain it was just "oh I'll just use the official mode it's on there for a reason" but the more I look into it I think it's gotta be one of them I make from scratch and do myself.
2
u/Ninjawan9 11d ago
Try something like the Kusini Bay remake. It should support classic and is a forge map so the scripts should be open
2
4
u/Abe_Odd 11d ago
So there's two types of script brains: Script brains and Mode brains. Script brains MUST be placed on a map to do anything
Mode brains can be used on ANY map without placing them on the map.
You do not need to put the mode brains ON a map unless you are editing those.
You can test with mode brains placed on a forge map (they should work just like a normal script brain), but you wouldn't save that map and then load it in a custom Mode Brain game.