Vehicle not spawning; Map crashes randomly
Moderator: Moderators
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Vehicle not spawning; Map crashes randomly
Questions:
So I put some vehicle spawns in, fill in the labels, and try out my map. Now what do I see where I put my spawn node? NOTHING! Do I have to do something else to make vehicles spawn besides placing the node and filling out the labels?
Crash:
I play my map for a bit, but then it just randomly crashes. I DO NOT have a BF2_log or whatever, because I have my mod tools in a different location. In my map, I have a large body of water, and the map size is either 256x256 or 512x512. Also, in the past I have had trouble with lowering the terrain below 0, and I have A LOT of terrain below 0, could any or all of these factors cause the crash? And I haven't messed with any scripts or luas, fyi.
So I put some vehicle spawns in, fill in the labels, and try out my map. Now what do I see where I put my spawn node? NOTHING! Do I have to do something else to make vehicles spawn besides placing the node and filling out the labels?
Crash:
I play my map for a bit, but then it just randomly crashes. I DO NOT have a BF2_log or whatever, because I have my mod tools in a different location. In my map, I have a large body of water, and the map size is either 256x256 or 512x512. Also, in the past I have had trouble with lowering the terrain below 0, and I have A LOT of terrain below 0, could any or all of these factors cause the crash? And I haven't messed with any scripts or luas, fyi.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: A Q and a Crash = WAH!
Water could cause it, if it's set up incorrectly. And why do you have your modtools in the wrong location? Just fix it and get a BF2log.Fingerfood wrote:I play my map for a bit, but then it just randomly crashes. I DO NOT have a BF2_log or whatever, because I have my mod tools in a different location. In my map, I have a large body of water, and the map size is either 256x256 or 512x512. Also, in the past I have had trouble with lowering the terrain below 0, and I have A LOT of terrain below 0, could any or all of these factors cause the crash? And I haven't messed with any scripts or luas, fyi.
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: A Q and a Crash = WAH!
I tried once, but it took a long time to copy everything andonce it copied, some programs didn't work. Strangely enough, when I copied it back it worked fine.
And I used this one by Ace:
I did have to add some indents to some lines, but that shouldn't affect it, should it?
Here's my req.
And I used this one by Ace:
Hidden/Spoiler:
Here's my req.
Hidden/Spoiler:
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
Re: A Q and a Crash = WAH!
Fingerfood wrote:I tried once, but it took a long time to copy everything andonce it copied, some programs didn't work. Strangely enough, when I copied it back it worked fine.
And I used this one by Ace:
Hidden/Spoiler:
I did have to add some indents to some lines, but that shouldn't affect it, should it?
Here's my req.
Hidden/Spoiler:
That tutorial is for SWBF 1
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: A Q and a Crash = WAH!
No, this works fine in BF2, look at how the shipped worlds added water if you have any doubts.Penguin wrote:That tutorial is for SWBF 1
There have been reports in the past that claim there were some problems when filling your whole world with water, so knowing this, you should only paint the water where you need it.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: A Q and a Crash = WAH!
The vehicle has to be loaded in the lua, and the appropriate memory pools have to be filled out.And I haven't messed with any scripts or luas, fyi.
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: A Q and a Crash = WAH!
@Noodles: Oh..... Is there a chart or tut on that? Or is it in the docs...
@Ace: I haven't filled my world with water, but thre is a LOT.....
@Ace: I haven't filled my world with water, but thre is a LOT.....
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: A Q and a Crash = WAH!
Just like you do a unit, do a vehicle, with the whole readdata thing. Just don't put the vehicle on a specific team. Just do the ReadData thing.
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: A Q and a Crash = WAH!
See..... I've never done anything with units....... except take a unit out. My biggest achievement is getting water in my map.......
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: A Q and a Crash = WAH!
As for getting a log. I too have it installed in a different place. What you need to do is get a dedicated server, change the bat or create on, I can't fully remember to whatever your map and mode is. Put the map in the dedicated server's addon folder and run the bat file. (Just a note this isn't the dedicated server like online).
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: A Q and a Crash = WAH!
Just wondering, whats so special when you have it installed in "a different place"? 
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: A Q and a Crash = WAH!
I'm glad someone caught that. The BFront2.log is created in the game's Gamedata directory where the executables are kept, if I remember correctly.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: A Q and a Crash = WAH!
Putting things below zero height and having lots of water do not necessarily make a map crash. Case in point my Naboo Sewers map is 50% below 0 level and there is lots of water (hey it's a sewerFingerfood wrote: Crash:
I play my map for a bit, but then it just randomly crashes. I DO NOT have a BF2_log or whatever, because I have my mod tools in a different location. In my map, I have a large body of water, and the map size is either 256x256 or 512x512. Also, in the past I have had trouble with lowering the terrain below 0, and I have A LOT of terrain below 0, could any or all of these factors cause the crash? And I haven't messed with any scripts or luas, fyi.
What vehicles are you trying to add?
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: A Q and a Crash = WAH!
Ehm....Why not simply copy the BF2_modtools.exe to Star Wars Battlefront II\GameData?MercuryNoodles wrote:I'm glad someone caught that. The BFront2.log is created in the game's Gamedata directory where the executables are kept, if I remember correctly.
I did the same and it works. (my location: F:\Programme\Star Wars Battlefront II\GameData)
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: A Q and a Crash = WAH!
*slaps Pinguin with a trout* No redundancy!
Mostly, I just wanted to call attention to how the location of the modtools isn't necessarily relevant, since the debug exe and the error log it creates are completely independent of the rest of the SDK.
While I'm here...Fingerfood contacted me on X-Fire, so I think the vehicle question has been resolved. Hopefully, my being half-awake didn't do any lasting damage. Heh.
While I'm here...Fingerfood contacted me on X-Fire, so I think the vehicle question has been resolved. Hopefully, my being half-awake didn't do any lasting damage. Heh.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: A Q and a Crash = WAH!
*slaps MercuryNoodles with an elephant ear*MercuryNoodles wrote:*slaps Pinguin with a trout*
Ah ok lol.MercuryNoodles wrote:No redundancy!Mostly, I just wanted to call attention to how the location of the modtools isn't necessarily relevant, since the debug exe and the error log it creates are completely independent of the rest of the SDK.
Sorry my english isn't good.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: A Q and a Crash = WAH!
Ah. I don't always catch on to who isn't a native English speaker. I knew that directory looked a little odd.. 
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: A Q and a Crash = WAH!
Well, I was half asleep too, but I did notice there was no vehicles...
But I'll have to mess with some MemoryPools and control regions later, as I'm off to play RedLine's New Death Star.
But I'll have to mess with some MemoryPools and control regions later, as I'm off to play RedLine's New Death Star.
