kv-2 crash game.

Moderators: GSH, VSMIT, Red Devil, Commando

XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

kv-2 crash game.

Post by XxHAMADEHxX »

I made a kv-2 model in blender. When I export it crashes the game

heres the error.
---- Battlezone II Log File ----
//=====================================================
App version: bz2edit 1.3.6.4n Public Beta Aug 12 2013 21:41:20
Windows version: Windows Version: 6.2.9200 '' PlatformID=2

Last few battlezone.log lines (may or may not be relevant):
DIAG|MissionHandler_oldcode:1246 |01:07:20|21646 |Expanded game UI file of 'bzeditor_license_1366x768.cfg' not found. Using default of 'bzeditor_license.cfg'
DIAG| runcodes:159 |01:07:20|21647 |[View] Entering run code [EDITOR]
DIAG| runcodes:159 |01:07:20|21647 |[Edit] Entering run code [height]
DIAG|MissionHandler_oldcode:1246 |01:07:21|22319 |Expanded game UI file of 'bzeditor_enter_1366x768.cfg' not found. Using default of 'bzeditor_enter.cfg'
DIAG| runcodes:159 |01:07:21|22335 |[Edit] Entering run code [height]
DIAG| runcodes:159 |01:07:24|25745 |[Edit] Entering run code [object]
DIAG| meshread:2188 |01:07:30|31442 |Missing binary mesh kv-2.xsi, use XSI
DIAG| meshread:2199 |01:07:30|31442 |Building kv-2 .msh
(done)

Exception code: C0000005 (ACCESS VIOLATION) READING from 00000004h
Message : Exception
Error occurred at 12/6/2013 01:07:38.
C:\Program Files (x86)\Battlezone II\BZ2Edit.exe, run by WHamadeh.
C:\Program Files (x86)\Battlezone II\BZ2Edit.exe, run by WHamadeh.
CPU: 4 processor(s), Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Intel64 Family 6 Model 58 Stepping 9
Process Memory : 1502 MB free out of 2048 MB total
Physical memory: 3287 MB free out of 6030 MB total
Page(swap) file: 3824 MB free out of 7694 MB total
This exe is using 215 MB (85 MB dlmalloc), peak use 228 MB

Fault address: 00378073 01:00117073 C:\Program Files (x86)\Battlezone II\BZ2Edit.exe

Registers:
EAX:00000004
EBX:17680630
ECX:00000005
EDX:172F6027
ESI:172F6020
EDI:00000000
CS:EIP:0023:00378073
SS:ESP:002B:062CD1F8 EBP:062CD314
DS:002B ES:002B FS:0053 GS:002B
Flags:00210206

Call stack:
Address Offset1 Offset2 Module SourceFile
00378073 +00118073 000000CE BZ2Edit (BZ2Edit): : Tread_Control_Helper13::Tread_Control_Helper13

0031CAC6 +000BCAC6 00000262 BZ2Edit (BZ2Edit): : TrackedVehicle::TrackedVehicle

002D40C1 +000740C1 00000013 BZ2Edit (BZ2Edit): : AssaultTank::AssaultTank

002D4793 +00074793 00000018 BZ2Edit (BZ2Edit): : AssaultTankClass::Build

002FA106 +0009A106 0000000D BZ2Edit (BZ2Edit): : GameObjectClass::Build

002B9F2E +00059F2E 000000CD BZ2Edit (BZ2Edit): : EditObject::ApplyPlace

002B9482 +00059482 000002DD BZ2Edit (BZ2Edit): : EditObject::Process

003E97C9 +001897C9 0000019E BZ2Edit (BZ2Edit): : RunCodes::Process

002C7201 +00067201 00000087 BZ2Edit (BZ2Edit): : MissionHandler::State::EditState::Process

003E97C9 +001897C9 0000019E BZ2Edit (BZ2Edit): : RunCodes::Process

002C4545 +00064545 00000012 BZ2Edit (BZ2Edit): : MissionHandler::Process

003E97C9 +001897C9 0000019E BZ2Edit (BZ2Edit): : RunCodes::Process

003E3BF3 +00183BF3 0000004A BZ2Edit (BZ2Edit): : Main::MessagePump

002AB1C6 +0004B1C6 000004E8 BZ2Edit (BZ2Edit): : HandledMain

002AAE68 +0004AE68 0000018A BZ2Edit (BZ2Edit): : HandledMain

002A7E77 +00047E77 00000069 BZ2Edit (BZ2Edit): : WinMain

0044192B +001E192B 00000191 BZ2Edit (BZ2Edit): : strcat

7709495D +0001495D 0000000E KERNEL32 (KERNEL32): : BaseThreadInitThunk

773F98EE +000498EE 00000084 ntdll (ntdll): : RtlInitializeExceptionChain

773F98C4 +000498C4 0000005A ntdll (ntdll): : RtlInitializeExceptionChain

User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: kv-2 crash game.

Post by Red Spot »

Not a hero in modelling or bug repports like this, but is a part of your model called 'Tread_Control_Helper13' ?
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: kv-2 crash game.

Post by MrTwosheds »

Implying that you are using a tracked vehicle odf, So the model will need to have the correctly named parts for that class of vehicle.
The Silence continues. The War Of Lies has no end.
XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: kv-2 crash game.

Post by XxHAMADEHxX »

I found out the problem its because I named the treads "tred" instead of "tread" XD

Thanks guys

I have a new problem now. For some reason the turret wont stay on top of the tank. I believe it has somthing to do with a dotted line in blender.
The line goes from the turret to the ground.

Any suggestions?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: kv-2 crash game.

Post by General BlackDragon »

IDK, Is it higherarchied properly?
Battlezone Classic Public Forums
*****General BlackDragon*****
XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: kv-2 crash game.

Post by XxHAMADEHxX »

Im not sure what that is. XD
I'm new this is like my 3 or 4th model
and models before were very basic (execept my airplane and that itself wasn't too hard)
User avatar
GSH
Patch Creator
Posts: 2486
Joined: Fri Feb 18, 2011 4:55 pm
Location: USA
Contact:

Re: kv-2 crash game.

Post by GSH »

Some BZ2 craft types have very particular naming convention requirements. Until you know what you can change, it's best to modify an existing model, or copy the hierarchy and names from an existing model. In short: start with BZ2's hierarchy and names. Make small changes, and be able to back them out whenever a change isn't accepted by BZ2.

-- GSH
User avatar
DarkCobra262
Sabre
Posts: 275
Joined: Sat Feb 25, 2012 9:13 pm
Contact:

Re: kv-2 crash game.

Post by DarkCobra262 »

GSH wrote:Some BZ2 craft types have very particular naming convention requirements. Until you know what you can change, it's best to modify an existing model, or copy the hierarchy and names from an existing model. In short: start with BZ2's hierarchy and names. Make small changes, and be able to back them out whenever a change isn't accepted by BZ2.

-- GSH
This, you have to make sure the treads and stuff are named correctly, otherwise it WILL crash the game. Make sure you also have a good hierarchy setup.. and make sure the hp_eyepoint is linked to turret_x
Modding/Modelling like a noob...
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: kv-2 crash game.

Post by Nielk1 »

I told him to clone how a stock model looked in hierarchy so he should be good. I only expect some pivot issues.
XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: kv-2 crash game.

Post by XxHAMADEHxX »

Oh I actually have an assault tank opened in another blender(Like Nielk1 said). I put everything according to how the a.tank is made. However I had already made my own suspension before I found out the a.tank didn't have any.

Thanks I didn't really have a problem with the treads thank God (except I accidentally named them tred). Now the problem I'm having is with the turret. For some reason its coming off the body when it turns.

I also put the eye point n turret_x

Thanks guys
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: kv-2 crash game.

Post by Red Devil »

what's kv-2 mean?
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: kv-2 crash game.

Post by Ded10c »

It's a Soviet tank.
battlezone.wikia.com needs your help!
User avatar
Vassili
Thunderbolt
Posts: 186
Joined: Mon Oct 21, 2013 9:09 pm
Location: France
Contact:

Re: kv-2 crash game.

Post by Vassili »

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: kv-2 crash game.

Post by MrTwosheds »

The turret issue is to do with the pivot point position, the point that the turret rotates about, this is its coordinate in the models xsi mesh 0;0;0
In max you can set the pivot point and collapse the mesh.
In other modeling programs you might just want to put the turret at the dead center of the axis before exporting.
Different programs use different methods to define the actual numerical structure of the mesh.
The Silence continues. The War Of Lies has no end.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: kv-2 crash game.

Post by General BlackDragon »

Yeah, u need to move the pivot of the turret. The pivot of each piece is where it will rotate at.
Battlezone Classic Public Forums
*****General BlackDragon*****
Post Reply