[Q] Locals spawn at controlled CP

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

[Q] Locals spawn at controlled CP

Post by Anakin »

Hi,

i just asked my selfe if there is a way to have locals at every planet. I saw at the FAQ Thread that this needs an Zero edit for each map to add more spawnpoints. So the locals i think of are friends of the republic. So is it possible to let them spawn at all cps controlled by the republic??

Thank you
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: [Q] Locals spawn at controlled CP

Post by Marth8880 »

If you are willing to use Zero Editor to do this, load up a map, go into whichever layer the command posts are stored, select a CP, copy the contents of "SpawnPath" and paste it into "AllyPath"; repeat this process for each map and CP.

If you do not wish to use Zero Editor (or you don't want to munge the stock maps), put SetProperty("cpName", "AllyPath", "cpSpawnPathName") at the end of your LUA's ScriptPostLoad() function; replace cpName with the name of the CP, and replace cpSpawnPathName with the name of that CP's spawn path; repeat this process with each map and CP.

If you cannot run Zero Editor and you need to find the names of the CPs and their spawn paths, go into the map's appropriate PTH files located in the world1/world2/world3 folder.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: [Q] Locals spawn at controlled CP

Post by Anakin »

vielen dank werden das mal ausprobieren :D

==EDIT==

ok thank you very much we'll try it
Last edited by Anakin on Fri Oct 25, 2013 2:01 pm, edited 1 time in total.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: [Q] Locals spawn at controlled CP

Post by Bob »

Anakin wrote:vielen dank werden das mal ausprobieren :D
That's why you shouldn't respond in the forums while at the same time writing a PM in a completely different language :roll:
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: [Q] Locals spawn at controlled CP

Post by Anakin »

:oops:

there are so many different forums with other languages... android english, android german, BFII englisch, but pm in german,.. :runaway:
Post Reply