SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: wsa30h on October 25, 2019, 05:43:43 AM

Title: how to spawn vehicles for team 4 ?
Post by: wsa30h on October 25, 2019, 05:43:43 AM
how do i give team 4 vehicles i found out that adding Classlocals(""); and filling in the vehicles there allows team 3 to use vehicles but how do i give team 4 vehicles ? would this work to give team 4 vehicles ? Classrebels("cis_hover_aat");
Title: Re: how to spawn vehicles for team 4 ?
Post by: Dark_Phantom on October 25, 2019, 05:56:00 AM
The calls are hard coded - I think you would have to use ClassLocals("") and accept that if team 3 takes the CP that they can use the vehicles as well.
I spent a lot of time looking at CPs yesterday and this is one of those things that seems hard coded.
Title: Re: how to spawn vehicles for team 4 ?
Post by: wsa30h on October 25, 2019, 07:30:00 AM
thats exactly what i want basically i want team 1 2 3 and 4 to have vehicles of their own i just dont know how to give vehicles to team 4
Title: Re: how to spawn vehicles for team 4 ?
Post by: Dark_Phantom on October 25, 2019, 10:32:33 AM
What I'm saying is that you can't specify a difference between team 3 and team 4.  Team 3 and 4 are going to get the exact same vehicles, as a hard-coded limitation. (if it works at all)
Title: Re: how to spawn vehicles for team 4 ?
Post by: wsa30h on October 25, 2019, 12:17:40 PM
oh ok i tried putting the same vehicles under the locals field but when the vehicle spawn and command post are set to team 4 nothing spawns
EhPortal 1.34 © 2024, WebDev