Page 1 of 1
Vehicle Spawn/Texture Problems
Posted: Sun Jan 08, 2006 6:56 pm
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.

RE: Vehicle Spawn Problems
Posted: Sun Jan 08, 2006 7:47 pm
by Kaos66
Exclamtion i think u have 2 put ur vehicle inside the control box of cp2
im not sure but u should try
RE: Vehicle Spawn Problems
Posted: Sun Jan 08, 2006 8:05 pm
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.
Re: RE: Vehicle Spawn Problems
Posted: Sun Jan 08, 2006 9:07 pm
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...

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.
RE: Re: RE: Vehicle Spawn Problems
Posted: Wed Jan 11, 2006 8:22 pm
by TK-421
Posted: Wed Jan 11, 2006 10:26 pm
by EraOfDesann
The exact same thing happened to me Exclamation!

Posted: Wed Jan 11, 2006 11:30 pm
by Exclamation
[GT]EraOfDesann wrote:The exact same thing happened to me Exclamation!

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?
Posted: Thu Jan 12, 2006 12:08 am
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.
Posted: Fri Jan 13, 2006 2:43 pm
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...