Preventing players from spawning at one CP but allowing bots to spawn, and vice versa.
I'm working on a map, and I've been trying to find out a way to make all bots spawn at one specific CP, but not the player. And likewise, letting the player spawn at any other CP, but not the bots. Are there any easy solutions for this?
I've tried a few searches, but they yielded no helpful results (or my eyes don't work).
Prevent players from spawning at 1 CP but allow AI [Solved]
Moderator: Moderators
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Preventing players from spawning at one CP but allowing bots
Im not sure, but I think invisible cps will work. Look in the adding locals FAQ for info on adding invisible cps, and when setting the invisible base to a team, just set it to your team. You won't be able to select it, but AI will spawn at it.
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Preventing players from spawning at one CP but allowing bots
Thanks man, it worked
.
I got the AI to only spawn at the CP I wanted by setting the CPs' 'AISpawnWeight' to a high number (1000), while I set the 'AISpawnWeight' on the other CPs to something like 3. The invisible CP doesn't show on the map, so you can't select it either.
This is a decent solution, thanks Grev
.
Topic can be closed.
I got the AI to only spawn at the CP I wanted by setting the CPs' 'AISpawnWeight' to a high number (1000), while I set the 'AISpawnWeight' on the other CPs to something like 3. The invisible CP doesn't show on the map, so you can't select it either.
This is a decent solution, thanks Grev
Topic can be closed.
