*FIXED!* Vehicle Spawns not Spawning
Moderator: Moderators
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
*FIXED!* Vehicle Spawns not Spawning
I've read the documents and followed everything but my Vehicles still wont spawn.
I change my layer to Conquest (The mode that I want my vehicle in). I get a vehicles spawn from data_***/Common/ODF's. Drop it where I want the vehicle to be spawned. Set the Control Zone to cp1. Set ClassCISATK to cis_hover_HAG, Set ClassREPDEF (This is a CIS Conquest CP so I don't know if I did this one right) to cis_hover_HAG. I have Psych0Freds Heavy Artillery Gunner in my World folder with everything in it, what am I doing wrong? My CP is setup correctly so I'm guessing has something to do with how I'm setting the class up.
If you need anymore information about the Vehicle spawning problem so that it would be easier to solve this then don't fret to ask.
I change my layer to Conquest (The mode that I want my vehicle in). I get a vehicles spawn from data_***/Common/ODF's. Drop it where I want the vehicle to be spawned. Set the Control Zone to cp1. Set ClassCISATK to cis_hover_HAG, Set ClassREPDEF (This is a CIS Conquest CP so I don't know if I did this one right) to cis_hover_HAG. I have Psych0Freds Heavy Artillery Gunner in my World folder with everything in it, what am I doing wrong? My CP is setup correctly so I'm guessing has something to do with how I'm setting the class up.
If you need anymore information about the Vehicle spawning problem so that it would be easier to solve this then don't fret to ask.
Last edited by epm01 on Mon Aug 04, 2008 8:21 pm, edited 1 time in total.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Vehicle Spawns not Spawning
do you load the tank in your lua?
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
No I didn't, do I have to? If so then what lines do I add in?
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Vehicle Spawns not Spawning
Same as you load a unit.epm01 wrote:No I didn't, do I have to? If so then what lines do I add in?
(The side//rep.lvl,
"rep_hover_fightertank" stuff)
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
Still not working, Heres the side part of my LUA....
No errrors according to the mungelog. Any help will be appreciated greatly.
Hidden/Spoiler:
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Vehicle Spawns not Spawning
I noticed you didn't say you added the control region to the cp, if you didn't add one. If that isn't the problem is the cis_hover_HAG a part of the mdr.lvl? It seems like it doesn't fit in with that, if so add the .lvl that it comes from.
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
Does there have to be an extra Control Region for Vehicles? The HAG is a downloaded Vehicle from Psych0freds site and it didn't come with a .lvl for it, if thats what you mean. I'm going to read the region part of the getting started guide and see if I missed anything.
Edit: Found this: The ControlRegion is a region that controls the spawning of vehicles associated with a CP. Vehicle Spawns are placed inside the Control Region, and once they leave the Control Region, if they are abandoned, they will eventually self-destruct, and respawn.
I just realised that my conquest control regions don't work which might be one of the things causing the problem next to the .lvl.
Edit: Found this: The ControlRegion is a region that controls the spawning of vehicles associated with a CP. Vehicle Spawns are placed inside the Control Region, and once they leave the Control Region, if they are abandoned, they will eventually self-destruct, and respawn.
I just realised that my conquest control regions don't work which might be one of the things causing the problem next to the .lvl.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Vehicle Spawns not Spawning
Since I've hovers on the brain at the moment..
I'm guessing this vehicle's classlabel is "hover", right? (I'm just going by the name here.) If so, check to see that the hover memory pool is set high enough to display all hover entities at once. If the memory pool is filling up with other things, it won't spawn the HAG until there's room for another hover in memory.
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
I made sure that my Vehicle Spawn was placed inside cp1's control region and it was. I'm guessing its all down to the .lvl or Memory Pools, I'll check in a second but how do I get a .lvl file for the cis_hover_HAG?
Edit: Well I got a big BF2_Modtools.exe log but there were a few that stood out:
Like I said before my Control Regions and Capture Regions are not working right now and I'll get on that in a second, but why is cis_hover_HAG missing its class? I'm pretty certain now that cis_hover_HAG shouldn't be included in mdr.lvl considering it was never in it and look at the fifth one.
That isn't my entire log I just found the ones that contained the vehicle.
Edit 2: I just realized why the control/capture regions were not working. They were floating it the air and I can seem to figure out how to stop them from doing that, whenever I press on the middle button on my mouse ZeroEditor minimizes.
Edit: Well I got a big BF2_Modtools.exe log but there were a few that stood out:
Hidden/Spoiler:
That isn't my entire log I just found the ones that contained the vehicle.
Edit 2: I just realized why the control/capture regions were not working. They were floating it the air and I can seem to figure out how to stop them from doing that, whenever I press on the middle button on my mouse ZeroEditor minimizes.
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Vehicle Spawns not Spawning
You could not assign the Vehicle Spawn to a CP. It'll still appear, but anyone will steal it.
- 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: Vehicle Spawns not Spawning
You gotta build the side for the HAG (heh, I accidentally typed HUG originally
). That's the only way to have a lvl, unless someone was nice enough to do it for you.
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
So make a side in the data_***/sides folder called HAG and put odf, msh, effects and req in there and then put the odfs, mshes, effects and reqs. Then munge the HAG side and I'll get a HAG.lvl? I'm going to wait for an answer before I do anything....
Also how do I make it so that the control/capture regions are on the ground? Like I said before my Zero Editor window minimizes when I press the middle mouse button and when I go back in it asks me if I'm sure I want to exit. Is there a different way to move it lower?
Also how do I make it so that the control/capture regions are on the ground? Like I said before my Zero Editor window minimizes when I press the middle mouse button and when I go back in it asks me if I'm sure I want to exit. Is there a different way to move it lower?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Vehicle Spawns not Spawning
Check your mouse settings, you may have the middle mouse click set as a shortcut to something like minimize or exit.epm01 wrote:Like I said before my Zero Editor window minimizes when I press the middle mouse button and when I go back in it asks me if I'm sure I want to exit.
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Vehicle Spawns not Spawning
Should be set to "middle-click," it looks like.
-
epm01
- Master Sergeant

- Posts: 162
- Joined: Sat Jun 16, 2007 4:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Cookie Land
Re: Vehicle Spawns not Spawning
Well that fixed my CP problem (Thanks Mav) but will it mess up my level if I munge the HAG side? I'm trying to get a .lvl file from it so that I can get the HAG to work.
Edit: Dann fixed up the last of the vehicle problems and I would also like to thank everyone that posted in this thread to help me out with this.
Edit: Dann fixed up the last of the vehicle problems and I would also like to thank everyone that posted in this thread to help me out with this.
