Vehicle Spawn/Texture Problems

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
Exclamation

Vehicle Spawn/Texture Problems

Post by Exclamation »

I am working on a vehicle to release here in the mod tools section (if it gets accepted). No new mesh or anything, just a reskin and new weapons layout. It is basically done, I think, but that's the problem... I can't tell because it won't spawn! :evil:

The only error that SPTest mentions is:

Code: Select all

Message Severity: 2
D:\src\FRONTLINE_PC\FrontLine\Source\VehicleSpawn.cpp(126)
Vehicle spawn outside command post "CP2" control region
I have been able to get shipped vehicles to spawn, even a X-Wing and Snowspeeder in the same map, but using the same stuff for a custom SIDES's vehicle (Bandu's Sith Speeder, or my upcoming vehicle) and I'm out of luck. :?
Last edited by Exclamation on Wed Jan 11, 2006 11:15 pm, edited 1 time in total.
Kaos66

RE: Vehicle Spawn Problems

Post by Kaos66 »

Exclamtion i think u have 2 put ur vehicle inside the control box of cp2
im not sure but u should try
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Vehicle Spawn Problems

Post by Teancum »

You have have vehicles outside the control box. Post your whole BF.log. Also, check to make sure you fill in the all values of the vehicle by hitting the page down button on the right side of ZeroEdit.
Exclamation

Re: RE: Vehicle Spawn Problems

Post by Exclamation »

Teancum wrote:You have have vehicles outside the control box. Post your whole BF.log. Also, check to make sure you fill in the all values of the vehicle by hitting the page down button on the right side of ZeroEdit.
Page Down, huh... :oops: Yeah, there are all of the slots for vehicle's to spawn for teams on defence. And that did the trick. Thanks!

Just a little tweaking of the vehicle's laser color and finishing the texture, and it will be good to go! Don't ask about it in this thread... be patient, you'll know soon enough and don't get your hopes up.
TK-421

RE: Re: RE: Vehicle Spawn Problems

Post by TK-421 »

I just cant wait for this mod
:D :D :D
User avatar
EraOfDesann
Jedi Admin
Jedi Admin
Posts: 2170
Joined: Mon May 30, 2005 5:22 pm
Location: North Texas
Contact:

Post by EraOfDesann »

The exact same thing happened to me Exclamation! :lol:
Exclamation

Post by Exclamation »

[GT]EraOfDesann wrote:The exact same thing happened to me Exclamation! :lol:
:lol:

Well... one last issue with the vehicle. I am including two versions of the vehicle in the side: one with the new skin and lasers, and another with the same skin and lasers as the shipped vehicle, but with the added weapon.

The normal version gets to use the texture that it's mesh calls for, but for the other one, I did a texture override in it's ODF.

Code: Select all

OverrideTexture			= "jab_fly_tiefighter"
This has worked before for me (with units), but not now... help?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

OverrideTexture is actually part of the msh file. Not all mshs have it, just ones that needed it. If you open up a msh in BConstructor and can't find OverrideTexture anywhere, you're out of luck -- unless you want to hex edit.
Leviathan
Missing Jedi Admin
Posts: 3277
Joined: Fri Nov 12, 2004 2:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Leviathan »

I think it'd be easier to find textures associated to a mesh through hex-editing... For that, just open your custom vehicle's *.MSH file(s) into an hexa-decimal editor, and look for ".tga" entries. Next, you'll just have to replace all those occurencies with the name of the texture you'd like to use on this model...
Post Reply