SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: KommissarReb on June 03, 2019, 07:39:07 AM

Title: [SOLVED] How do you create hidden command posts?
Post by: KommissarReb on June 03, 2019, 07:39:07 AM
What I'm going for is to create a spawner for the local team like the hidden command post in Jabba's Palace that spawn's Gamorrean Guards in random places. I've created a command post and moved it along with it's capture region outside the play area, but the minimap still has the command post in it. How do I make it hidden from view and make it so the AI doesn't bother attempting to capture it?
Title: Re: How do you create hidden command posts?
Post by: Dark_Phantom on June 03, 2019, 09:23:33 AM
There's an .odf file for invisible_cp or something like that in Common\odf\  for your project.
Title: Re: How do you create hidden command posts?
Post by: Red04SWBF on June 03, 2019, 09:42:38 AM
Yep. You can find it on this location from your BFBuilder folder: Data<ModID>\Common\ODFs\com_bldg_invisible_controlzone.odf

I must point out that when using it, it works like any CP, but only the light beam and the hologram disappears as when I tried it. However, I think there should be a way to make the MSH of the projector on the floor invisible if the game uses hidden CPs for spawning local units.
Title: Re: How do you create hidden command posts?
Post by: DylanRocket on June 03, 2019, 02:22:07 PM
Quote from: Red04 (CC-4398) on June 03, 2019, 09:42:38 AM
However, I think there should be a way to make the MSH of the projector on the floor invisible if the game uses hidden CPs for spawning local units.

An easy workaround is to simply place the CP far enough below the ground so that it can't be seen without the use of the Free Camera or glitches.
Title: Re: How do you create hidden command posts?
Post by: Red04SWBF on June 04, 2019, 05:48:22 AM
Quote from: DylanRocket on June 03, 2019, 02:22:07 PM
An easy workaround is to simply place the CP far enough below the ground so that it can't be seen without the use of the Free Camera or glitches.

Oh, it's right. I forgot you can do that.  :slap:
Title: Re: [SOLVED] How do you create hidden command posts?
Post by: KommissarReb on June 05, 2019, 05:26:31 AM
Thanks for the help guys! The CP is now hidden from the map.  :tu:
EhPortal 1.34 © 2024, WebDev