Quantcast
Channel: Project Reality Forums - PR:BF2 Bugs
Viewing all articles
Browse latest Browse all 2537

v1.4.16 Laggy PRBF2 Object Editor - loading Huey's

$
0
0
Hi folks,

lasttime i spent many time to get more familiar with the BF2 Editor.
I played around with new weaponmounts like adding the MK19 to the Abrams tank.
Works like a charm and looks good :-D Editor works smooth, no lags

I tried the same with a M240D_huey - adding a MK19 as doorgunner.
I cloned the M240D_huey and created a new weaponmount for the MK19 and added it also.
No problem only animations and/or ITKopplung (<right spelled???) looks totally shitty.
The Editor always laggged like hell (like 0000.1frames).

In the Output window i noticed an error, who repeatedly loads, that the cf_the_uhn_sp missing the collision meshes for the main/ and tail rotor.

Tweakfiles from the cf_the_uh1n_sp mainrotor & tailrotor
Code:

rem *** Generated with Bf2Editor.exe [created: 2005/2/2 9:17]
GeometryTemplate.setSubGeometryLodDistance 0 0 25
GeometryTemplate.setSubGeometryLodDistance 1 0 15
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe Rotor cf_the_uh1n_sp_mainrotor
ObjectTemplate.creator MHE-1:mhe
ObjectTemplate.modifiedByUser K4on
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 999999999999999999999999999999999999999
ObjectTemplate.geometry cf_the_uh1n_mainrotor
ObjectTemplate.setCollisionMesh us_the_uh1n_mainrotor
ObjectTemplate.mapMaterial 0 rotor 31
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate ade_heliDraft
rem -------------------------------------
ObjectTemplate.changeLodAt 0.15
ObjectTemplate.tolerance 1.49011e-009
ObjectTemplate.rotationSpeedMod -0.3
ObjectTemplate.rotationSpeedModBlur -5.05
ObjectTemplate.rotationAxle 0
ObjectTemplate.engineName cf_the_uh1n_sp_Rotor

Code:

rem *** Generated with Bf2Editor.exe [created: 2005/2/2 9:17]
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe Rotor cf_the_uh1n_sp_tailrotor
ObjectTemplate.creator MHE-1:mhe
ObjectTemplate.modifiedByUser K4on
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 999999999999999999999999999999999999999
ObjectTemplate.geometry cf_the_uh1n_tailrotor
ObjectTemplate.setCollisionMesh us_the_uh1n_tailrotor
ObjectTemplate.mapMaterial 0 rotor 31
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
ObjectTemplate.changeLodAt 0.2
ObjectTemplate.tolerance 0.000390625
ObjectTemplate.rotationSpeedMod 3.5
ObjectTemplate.rotationSpeedModBlur 0.1
ObjectTemplate.rotationAxle 1
ObjectTemplate.engineName cf_the_uh1n_sp_TailEngine

Both tweaks the cf_the_uh1n_mainrotor and tailrotor.
Code:

ObjectTemplate.setCollisionMesh us_the_uh1n_mainrotor
Code:

ObjectTemplate.setCollisionMesh us_the_uh1n_tailrotor
This lines causing the massive lags.

I fixed this by changing the codelines of the collisionMesh :

Code:

ObjectTemplate.setCollisionMesh cf_the_uh1n_mainrotor
Code:

ObjectTemplate.setCollisionMesh cf_the_uh1n_tailrotor
I also copied the collisionmeshes from the cf_the_uh1n main & tailrotor to the cf_the_uh1n_sp_tailrotor & cf_the_uh1n_sp_mainrotor and now the ObjectEditor runs smooth when i load my huey_mk19.

Viewing all articles
Browse latest Browse all 2537

Trending Articles