SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: wsa30h on February 16, 2019, 09:40:24 AM

Title: command to make the game render more ai ?
Post by: wsa30h on February 16, 2019, 09:40:24 AM
is there a command to make the game render more ai i tried setubermode (1)but not sure where am supposed to put it .
Title: Re: command to make the game render more ai ?
Post by: AnthonyBF2 on February 17, 2019, 01:17:36 AM
SetUberMode(1) is a BF2 function and it just forces the game to spawn as many units as allowed by the "units" count in the map script.
Title: Re: command to make the game render more ai ?
Post by: wsa30h on February 17, 2019, 02:34:14 AM
thanks that makes perfect sense. but is there a command that allows the game render more ai ? i have 33 vs 33 in my lua
Title: Re: command to make the game render more ai ?
Post by: Giftheck on February 17, 2019, 03:32:12 AM
There is no uber mode in SWBF1, only SWBF2.
Title: Re: command to make the game render more ai ?
Post by: Red04SWBF on February 17, 2019, 04:02:07 AM
The only has occurred to me is to increase the number of AI units by side with the SetUnitCount() command from the mission LUA,  although I don't know the limit.
Title: Re: command to make the game render more ai ?
Post by: AnthonyBF2 on February 17, 2019, 05:45:44 AM
Yes, in BF2, the units count amounts to the same function as SetUnitCount in BF1.
Title: Re: command to make the game render more ai ?
Post by: wsa30h on February 17, 2019, 08:35:36 AM
where do i put the command in to my lua ?
Title: Re: command to make the game render more ai ?
Post by: Teancum on February 17, 2019, 05:13:45 PM
Open your mission lua, CTRL + F (find), type SetUnitCount. It's usually around line 50 or so if you use line numbers in your text editor (some text editors don't have line numbers).
Title: Re: command to make the game render more ai ?
Post by: wsa30h on February 18, 2019, 03:46:46 AM
thanks got it.
EhPortal 1.34 © 2024, WebDev