SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF2 Modding => Topic started by: Rayce on July 10, 2015, 06:46:35 PM

Title: Command to remove class.
Post by: Rayce on July 10, 2015, 06:46:35 PM
Is there an LUA command that would allow me to remove or replace a unit class from the level?
Title: Re: Command to remove class.
Post by: Dark_Phantom on July 11, 2015, 06:48:19 AM
Wouldn't you just remove it from the lua?  I know that BF2 mission.lua is set up differently, but I'm pretty sure you just remove it from the file.  Or hex it out.
Title: Re: Command to remove class.
Post by: Rayce on July 11, 2015, 09:47:40 AM
Here's what I'm trying to do: Make it to where the player can choose which teams participate in the battle. In order to prevent the map from crashing immediately, I need placeholder classes, and I want those placeholder classes removed once a team is selected for that side. The rest of that equation works fine, it's just getting those placeholders to go away.
EhPortal 1.34 © 2025, WebDev