Spawn Beacons?
Moderator: Moderators
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Spawn Beacons?
How do I make something a mobile command post (like the troop Transports and ATTE's).
I have been looking at the ODFs to try to work it out, and can't find any promising looking lines of code.
Would it be possible to use this ability to create a Spawn Beacon, by having the Auto Turret become a mobile command post?
I have been looking at the ODFs to try to work it out, and can't find any promising looking lines of code.
Would it be possible to use this ability to create a Spawn Beacon, by having the Auto Turret become a mobile command post?
Last edited by Slime615 on Fri Apr 12, 2013 7:04 am, edited 1 time in total.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Mobile Command Posts
On of the first lines in the ODF for those vehicles is "commandhover" (for a hover-based CP), "commandwalker" (for a walker-based CP) and "commandflyer" (for a flyer-based CP). You'll need to change the line of the vehicle you want to be a mobile CP to one of those, then add the appropriate memory pool.
You can also look at the SWBF2 Class Reference to see if there are any other command types.
You can also look at the SWBF2 Class Reference to see if there are any other command types.
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: Mobile Command Posts
I see.
And If I wanted to create a Spawn Beacon, I would create a Dispenser, and set the dispensed item to be a CommandHover?
And If I wanted to create a Spawn Beacon, I would create a Dispenser, and set the dispensed item to be a CommandHover?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Mobile Command Posts
Only one way to find out. 
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: Mobile Command Posts
Munging Now.
I'll post the results momentarily.
EDIT:
Okay here are the conclusions.
1)
Placing more than one "Spawn Beacon Causes it to crash. Possibly a memory pool issue.
2)
The Spawn beacon appears on the minimap, and the map at unit selection, but can not be clicked, and cannot be spawned from.
3)
It immediently floats away and does its own thing, any way to make it immobile?
Here are the results from the munge log.
And here is the ODF for my Dispenser: cis_weap_inf_spawnbeacon_dispenser
Here is the ODF for cis_bldg_inf_spawnbeacon:
Here is the ODF for com_weap_inf_spawnbeacon_dispenser:
Here is my LUA
I'll post the results momentarily.
EDIT:
Okay here are the conclusions.
1)
Placing more than one "Spawn Beacon Causes it to crash. Possibly a memory pool issue.
2)
The Spawn beacon appears on the minimap, and the map at unit selection, but can not be clicked, and cannot be spawned from.
3)
It immediently floats away and does its own thing, any way to make it immobile?
Here are the results from the munge log.
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: Mobile Command Posts
Isn't there supposed to be a bunch of lines in the ODF that tell where units spawn around the beacon (basically ODF set spawn nodes)?
Thats most likely why you can't spawn on it. You'll probably find an example in the ATAT ODF.
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: Mobile Command Posts
Ah!
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 -3.0 8.0 0"
SpawnPointLocation = "6.0 -3.0 8.0 0"
SpawnPointLocation = "-7.0 -3.0 0.0 0"
SpawnPointLocation = "7.0 -3.0 0.0 0"
SpawnPointLocation = "-6.0 -3.0 -8.0 0"
SpawnPointLocation = "6.0 -3.0 -8.0 0"
I shall look into it!
Any idea what these mean?
AllyCount = 65536
Radius = 0.0
EDIT:
No adding that ^ Doesn't work. The log says this:
This leads me to believe that there is something missing in the LUA I need to write.
Any suggestions? Has any one ever got a working spawn beacon in game before?
This is the current Lua:
EDIT2:
Do I need to create a .req file perhaps?
EDIT3:
Adding .req files makes no difference. Infact, it causes the crash. I had to do a manual clean to fix that.
EDIT4: Tried to reverse engineer a gunship (changed to CommandFlyer) by taking a dispenser and setting the dispensary to dispense command gunships, intending to then modify the stats of the gunship completely to ensure nothing is left out. Unfortunately, the gunship fails to spawn. I added a new .req file, and added to the LUA, but nothing has helped.
Any new tips?
Has anyone ever created a working spawn beacon? I really want to see if I can get one to work...
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 -3.0 8.0 0"
SpawnPointLocation = "6.0 -3.0 8.0 0"
SpawnPointLocation = "-7.0 -3.0 0.0 0"
SpawnPointLocation = "7.0 -3.0 0.0 0"
SpawnPointLocation = "-6.0 -3.0 -8.0 0"
SpawnPointLocation = "6.0 -3.0 -8.0 0"
I shall look into it!
Any idea what these mean?
AllyCount = 65536
Radius = 0.0
EDIT:
No adding that ^ Doesn't work. The log says this:
Hidden/Spoiler:
Any suggestions? Has any one ever got a working spawn beacon in game before?
This is the current Lua:
Hidden/Spoiler:
Do I need to create a .req file perhaps?
EDIT3:
Adding .req files makes no difference. Infact, it causes the crash. I had to do a manual clean to fix that.
EDIT4: Tried to reverse engineer a gunship (changed to CommandFlyer) by taking a dispenser and setting the dispensary to dispense command gunships, intending to then modify the stats of the gunship completely to ensure nothing is left out. Unfortunately, the gunship fails to spawn. I added a new .req file, and added to the LUA, but nothing has helped.
Any new tips?
Has anyone ever created a working spawn beacon? I really want to see if I can get one to work...
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Spawn Beacons?
I believe you need the commandFLYER line in your lua, I only saw commandhover.
I've created vehicle dispensers before, I hope having that vehicle be a command vehicle wouldn't be too much of a different process.
I've created vehicle dispensers before, I hope having that vehicle be a command vehicle wouldn't be too much of a different process.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Spawn Beacons?
... but he's using a hover.Dakota wrote:I believe you need the commandFLYER line in your lua, I only saw commandhover.
I've created vehicle dispensers before, I hope having that vehicle be a command vehicle wouldn't be too much of a different process.
- Cleb
- Lieutenant General

- Posts: 711
- Joined: Sun Jun 17, 2012 10:12 pm
- Projects :: Learning how to use 3DS Max
- xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
- Location: Somewhere
- Contact:
Re: Spawn Beacons?
In his last edit he changed it to a flyer.Teancum wrote:... but he's using a hover.Dakota wrote:I believe you need the commandFLYER line in your lua, I only saw commandhover.
I've created vehicle dispensers before, I hope having that vehicle be a command vehicle wouldn't be too much of a different process.
-
Slime615
- Lieutenant General

- Posts: 704
- Joined: Thu Jan 07, 2010 9:38 am
Re: Spawn Beacons?
Yes, I changed it to a flyer - and modified the LUA Accordingly as well.
Neither tactic is working.

Neither tactic is working.
