Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - the-termin8r

#1
Understood, I'll make do with the points limits only. Thanks for your help.
#2
Quote from: AnthonyBF2 on January 25, 2022, 06:39:37 PMthe easiest way is to just make buttons that apply a really high PointsToUnlock value, something no one will reach like 250000 points.

Example: SetClassProperty("all_inf_sniper", "PointsToUnlock", "250000")

Thanks for the reply.

I tried the command and it worked, but the AI still spawned in even after I killed them from the fake console (though the max limit is now 4 units as opposed to someting higher).Do you know if the point limit can somehow be applied to the AI as well? Also is there a tutorial or resource page you could point me to that gives instructions on how to make fake console buttons?

I've been digging around trying to find resources on the code consolse and found a GitHub page (https://github.com/Gametoast/SWBF2-Lua-API/blob/master/API/LuaDevelopmentTools/Battlefront2API.doclua), but its examples are quite vague as the page isn't aimed at people who know nothing. On line 619 I found what looks like a command to control min and max values for units, but I can't seem to make it work.

For one I don't know what team index is (I guessed either "1", "2", "REP", "CIS" for clone wars). For another, I'm not sure if my syntax is correct. I tried (based on your SetClassProperty command)
AddUnitClass("teamIndex", "1", "rep_inf_ep3_sniper", "minUnits", "1", "maxUnits", "1")
but got nothing. I also tried differnt values for index and for min/max as well.

Just to see what would happen I tried inserting the min/max variables into the SetClassProperty command after removing the point limit variable, but nothing happend (I'm guessing the min/max syntax isn't recognised by the command).

Thanks again.
#3
Hi everyone,

I'd like to preface this and say that I know nothing about making mods, so I apologise if this sounds ignorant or is flat-out stupid.

I was wondering if it's possible to add options to the fake console that let you control which units are avialable to players online if your're the host? For example, limiting the entire lobby to only infantry or having one team be snipers while the others are engineers.

My intention is to be able to play a 'manual' galactic conquest with friends online. That way teams can be limited to classes they've bought. I was thinking that since you can already manipulate things like reinforcements and (most) support bonuses, having controls for setting min and max available spwans per unit (like the special units already have) should theoretically be possible. Are there maybe any commands I can enter into the code console to get the same results?

Thanks for any help.
#4
Quote from: AnthonyBF2 on December 08, 2021, 02:15:17 PMGamespy does not exist, it was terminated in 2014. SWBFspy is the replacement for Gamespy.

Exactly why I brought it up, clearly it's not supposed to be taking me to said screen (I'm assuming that's the screen from when GS was still around).

Annoying that it can't be done on the Steam version. Thanks for your help nonetheless.
#5
Quote from: AnthonyBF2 on December 07, 2021, 08:06:13 PMI am going to assume you installed the SWBFspy patch over the Steam version which is not recommended.

Thanks for the reply. I wish this had been clearly outlined somewhere. With that being said, how come there's a Steam patch on the official info site

Either way, that's exactly what I'm trying to do. I've got the game on Steam and am trying to run the patch. When I go to 'multiplayer' I get prompted to log into a Gamespy account as my screenshot shows (instead of being auto logged in with Steam and taken to the server list).

QuoteNext, if you're trying to host a dedicated server on Steam or Galaxy, you have to use the new community made dedicated server program because the original dedicated server program is not compatible with the Steam or Galaxy game version.
https://github.com/jweigelt/swbf2admin

Am I right in assuming this doesn't need the patch and I can just run it as is?
#6
Hi everyone,

This is my first post here, so I hope I'm not posting in the wrong section. I'm having some issues with this patch that I'm hoping someone can help me with (I've tried digging around but couldn't find a solution). I wanted to try running a dedicated server myself, so I got the patch and the V1.08 server software.

However, when I boot the game up, I get a Gamespy login screen under the 'galaxy' tab in multiplayer and no servers if I go to the 'join' tab (I've included a screenshot). I've tried launching it from the new .EXE and from Steam. Launching from Steam yields the same result except I get the notification for the overlay which I didn't while launching from the .EXE. Before installing the patch everything was fine. I got auto logged in with my Steam account and I could join and create matches.

I tried installing the patch manually and with the auto installer, it made no difference. The .EXE is under the GameData folder and I've changed the name of the original one to "BattlefrontII - OG." I thought it might be clashing with a UI remaster mod I have as it creates its own shortcut that links to the .EXE. However I reinstalled it to link to the new .EXE and I get the same result. 

What am I doing wrong?

Thanks for any help.