Is there a fix for the compiling errors about Px?
Printable View
Is there a fix for the compiling errors about Px?
Because wheni try to compilee i get many errors
what errors?
i use Physx 3.2.4 and not have errors, if you can put here these errors
Bad thing about 3.2.4 comes with a lot of bugs. Your able to glitch threw objects and other things.
I dont know me and my graphics editor are trying to run some edited physx with with a mix of old and new and see how it runs.
if you not like the old camera, you can put this.
HUD_TPSGame.cpp
OLD Camera
Code:#if VEHICLE_CINEMATIC_MODE
r3dVector CamPos = vehicle->GetPosition();
CamPos += r3dPoint3D( 0, ( 5 ), 0 );
int mMX=Mouse->m_MouseMoveX, mMY=Mouse->m_MouseMoveY;
float glb_MouseSensAdj = CurrentRig.MouseSensetivity * g_mouse_sensitivity->GetFloat();
static float camangle = 0;
camangle += float(-mMX) * glb_MouseSensAdj;
if(camangle > 360.0f ) camangle = camangle - 360.0f;
if(camangle < 0.0f ) camangle = camangle + 360.0f;
D3DXMATRIX mr;
D3DXMatrixRotationYawPitchRoll(&mr, R3D_DEG2RAD(-camangle), 0.0f, 0);
r3dVector vehicleForwardVector = r3dVector(mr ._31, mr ._32, mr ._33);
CamPos += -vehicleForwardVector * 8 ;
Cam.SetPosition(CamPos);
Cam.PointTo( CamPos + vehicleForwardVector * 3 + r3dVector ( 0, -1, 0) );
Cam.vUP = r3dPoint3D(0, 1, 0);
#else
g_pPhysicsWorld->m_VehicleManager->ConfigureCamera(Cam);
#endif
New Camera, is manual with Mouse
http://www.youtube.com/watch?v=yOTCF...ature=youtu.beCode://#if VEHICLE_CINEMATIC_MODE
r3dVector CamPos = vehicle->GetPosition();
CamPos += r3dPoint3D( 0, ( 5 ), 0 );
int mMX=Mouse->m_MouseMoveX, mMY=Mouse->m_MouseMoveY;
float glb_MouseSensAdj = CurrentRig.MouseSensetivity * g_mouse_sensitivity->GetFloat();
static float camangle = 0;
static float camangle2 = 0;
camangle += float(-mMX) * glb_MouseSensAdj;
camangle2 += float(-mMY) * glb_MouseSensAdj;
if(camangle > 360.0f ) camangle = camangle - 360.0f;
if(camangle < 0.0f ) camangle = camangle + 360.0f;
if(camangle2 > 30.0f ) camangle2 = 30.0f;
if(camangle2 < -25.0f ) camangle2 = -25.0f;
D3DXMATRIX mr;
D3DXMatrixRotationYawPitchRoll(&mr, R3D_DEG2RAD(-camangle), R3D_DEG2RAD(-camangle2), 0);
r3dVector vehicleForwardVector = r3dVector(mr ._31, mr ._32, mr ._33);
CamPos += -vehicleForwardVector * 8 ;
Cam.SetPosition(CamPos);
Cam.PointTo( CamPos + vehicleForwardVector * 3 + r3dVector ( 0, -1, 0) );
Cam.vUP = r3dPoint3D(0, 1, 0);
//#else
// g_pPhysicsWorld->m_VehicleManager->ConfigureCamera(Cam);
//#endif
###########################################################
Another problem aside, anyone know how to fix this bug?
http://www.youtube.com/watch?v=s0ozGudSnxk&feature=youtu.be
if disable this line on Game.cpp you get to see so, I think the problem is that mesh pink, anyone know how to edit their position?
Please help.
#if VEHICLES_ENABLED
// g_pPhysicsWorld->m_VehicleManager->UpdateVehiclePoses();
#endif
http://www.youtube.com/watch?v=aeFUXuMqjyc&feature=youtu.be
hello all, I fixed the VehicleSpawn, but it still has bugs on track, does not work even with the server, and those who know do not help much, I will try to help where I can.
one of the big problem is on cities the car is not moving, stuck, do not know why, also transgress the car when you ride walk
if anyone can, please to help.
First the video:
http://www.youtube.com/watch?v=-i3lYLUVzDs&feature=youtu.be
if you can try put this, but remember, have many bugs
search on obj_VehicleSpawn.cpp
void obj_VehicleSpawn::RespawnCar()
modify this:
to this:Code:if( vehicle_Model[0] != '\0' ) {
spawnedVehicle = static_cast<obj_Vehicle*> ( srv_CreateGameObject("obj_Vehicle", vehicle_Model, GetPosition() ));
spawnedVehicle->m_isSerializable = false;
spawnedVehicle->setVehicleSpawner( this );
}
Code:if( vehicle_Model[0] != '\0' ) {
spawnedVehicle = static_cast<obj_Vehicle*> ( srv_CreateGameObject("obj_Vehicle", vehicle_Model, GetPosition() ));
spawnedVehicle->m_isSerializable = false;
spawnedVehicle->setVehicleSpawner( this );
d_drive_vehicles->SetBool( false );
}
make sure anytime you build a object to recook it and rebuild the collision mess to run with your physx that you are using.. this is the main reason your running into your problems is your objects mesh and collsion data are based off of 3.2.1 and not 3.2.4
oh thx i try now jeje
this is my problem:
http://www.youtube.com/watch?v=Z0_STlKp8I8&feature=youtu.be
i recook all mesh files from city and cars by Physx 3.2.4 but the car stuck, how i can fix?
what goes forward must go backwards :P there is no backwards code you collided with a object there for you stop :)
also by recooking the mesh files also means any spawn data as well almost 99% of the objects in warz are static so if you change it one place you have to change it else where.
EXAMPLE: a building you recook and mesh and collision and just by replacing the files won't fully update to your new physx as there are other loaded files that are still using the old physx data. So by removing the object and redoing it updates the other files that go with your new physx.
not just in that area is in all, I have given all mesh recook in the city do not know why this happens
this file have new recook mesh and see
http://www.youtube.com/watch?v=JsU3-nxt8Ro&feature=youtu.be
the car is already have reversing
the strange is on airport work fine, and i not aply recook on this :/
I get in the car but he does not walk?
use arrows
anytime you update your physx every object as to be done the same... sucks!!
I updated all objects brings the editor to PhysX 3.2.4, and still does not work, most do not!!!!!!!!!!!! hahaha
http://www.youtube.com/watch?v=vpAXybgPFQ0&feature=youtu.be
http://www.youtube.com/watch?v=GDhuqb4wfV4&feature=youtu.be
mee too update physx 3.2.4
there are steps that you followed well and you can push the car and if you all can not because they transgress, something you forgot to add
we'll see kind of getting tired of working on warz source code tho..
Studio Crashed Help :(((
Code:--- Log started at Wed Sep 18 11:33:10 2013
000000.004| CrashSender.exe is not found in the specified path.000000.108| Game Version: Liberty Studio v1.0 (Sürüm Tarihi: Sep 17 2013) - release000000.108| Available memory: 12247 MB000000.108| r3dFS: there is no volume file wz_00.bin000000.112| readGameOptionsFile: found INI at C:\Users\Administrator\Documents\Liberty\Liberty\gameSettings.ini000000.113| writeGameOptionsFile: Saving settings to C:\Users\Administrator\Documents\Liberty\Liberty\gameSettings.ini000000.134| readInputMap: found file at C:\Users\Administrator\Documents\Liberty\Liberty\inputMap.xml000000.135| writeInputMap: Saving settings to C:\Users\Administrator\Documents\Liberty\Liberty\inputMap.xml000000.136| userSettings: found file at C:\Users\Administrator\Documents\Liberty\Liberty\userSettings.xml000000.137| userSettings: Saving settings to C:\Users\Administrator\Documents\Liberty\Liberty\userSettings.xml000000.138| SOUND: initializing sound system000000.154| SOUND: '0' sound drivers found000000.159| SOUND: sound system ready000000.159| FMOD: LoadSoundEffects: Loading from Data\Sounds\Sounds.fev000000.321| Input Devices enabled: Mouse, Keyboard000000.339| VMEM As seen through DDRaw: 0000000.339| VMEM As seen through WMI: 0000000.339| Setting mode: 1440x900x32 Flags=0000000.348| NVApi successfuly initialized.000000.348| NVApi: stereo is not available. Stereo driver not installed?000000.348| Adapter: RDPDD Chained DD000000.348| nvd3dum.dll 8.17.13.142000000.348| Monitor: \\.\DISPLAY1 (1440x900)000000.349| ERROR: Can't find ARGB format000000.350| r3dRenderLayer::SetMode(x=1440,y=900,bpp=32,windowed=0,hz=60)000000.353| Creating d3d device000000.354| Error: Invalid Call000000.354| Failed to create d3d device (error=-2005530516), falling back to software vertex processing000000.354| Failed to init D3D Device with SW processing!000000.354| SetMode failed, trying to set windowed flag and trying again000000.355| Adapter: RDPDD Chained DD000000.355| nvd3dum.dll 8.17.13.142000000.355| Monitor: \\.\DISPLAY1 (1440x900)000000.355| res adjusted 1440x900->1434x894000000.355| r3dRenderLayer::SetMode(x=1434,y=894,bpp=32,windowed=4,hz=60)000000.358| Creating d3d device000000.407| NVApi: failed to create stereo handle!000000.407| GPU supports D3DQUERYTYPE_TIMESTAMP000000.407| GPU supports D3DQUERYTYPE_TIMESTAMPFREQ000000.407| D3D hack support = NullRT: 1, hwPCF: 1, IntZ: 0, ResZ: 0000000.408| We have 2275 MB texture memory000000.445| r3dFont: Creating Verdana 10pt000000.445| r3dFont: Finished creating Verdana 10pt000000.446| Loading shaders...000002.191| Finished loading shaders (1.744789 sec)!000002.440| r3dFont: Creating Tahoma 12pt000002.440| r3dFont: Finished creating Tahoma 12pt000002.440| r3dFont: Creating Verdana 10pt000002.440| r3dFont: Finished creating Verdana 10pt000002.688| Creating render targets000002.694| r3dFont: Creating Verdana 8pt000002.698| r3dFont: Finished creating Verdana 8pt000004.264| Loaded 12 of 12 grass settings locations from the glist file000004.273| Loaded 12 grass settings files000004.390| SetHomeDir: Levels\WorkInProgress/Editor_Physics000004.390| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\Constants.var000004.390| Loading SWF Data\Menu\LoadingScreen.swf000004.482| r3dScaleformMovie::Load() 'Data\Menu\LoadingScreen.swf' ok000004.482| We have 2174 MB texture memory000004.929| !!!!!!!!! Localization: Failed to find string id='TipOfTheDay9'000004.929| r3dFile: can't open levels/workinprogress/editor_physics/loadingscreen1.dds000004.963| !!!!!!!!! Localization: Failed to find string id='TipOfTheDay'000005.971| r3dFile: can't open Levels\WorkInProgress/Editor_Physics/MeshProperties.xml000005.971| r3dFile: can't open Levels\WorkInProgress/Editor_Physics/wind.cfg000005.971| Loading 'Levels\WorkInProgress/Editor_Physics/LevelSettings.xml'000005.985| r3dFile: can't open data/shaders/texture/cclut3d/editor_01.dds000006.028| r3dFile: can't open data/skydome/cr_newsdoome_01.dds000006.032| Unloaded 0.0 MB STATIC decal textures000006.032| Unloaded 0.0 MB DYNAMIC decal textures000006.032| Loading decal library Data\Decals\library.xml.000006.034| Loading decal library Levels\WorkInProgress/Editor_Physics\decals.xml.000006.036| Loaded 0.0 MB STATIC decal textures000006.054| Loaded 0.8 MB DYNAMIC decal textures000006.055| LoadLevel_MatLibs...000006.055| LoadLevel_Objects...000006.097| LoadLevel_Groups...000006.108| LoadGrassLib()...000006.108| Warning: couldn't find grass settings 'BM_Grass_Far.xml'000006.108| Warning: couldn't find grass settings 'BM_Grass_Med.xml'000006.108| Warning: couldn't find grass settings 'BM_Grass_Near.xml'000006.109| g_pGrassMap->Load...000006.109| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\grass\GrassSettings.xml000006.109| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\grass\grasscells.bin000006.110| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\grass\grassplanes.bin000006.110| gAutodeskNavMesh.Load...000006.110| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\navigation\autodesk\build_config.xml000006.110| LoadLevel_MatLibs...000006.110| r3dFile: can't open Levels\WorkInProgress/Editor_Physics/LightProbes/Settings.xml000006.111| r3dFile: can't open Levels\WorkInProgress/Editor_Physics/LightProbes/probes.bin000006.111| Building skeleton cache..000006.235| InitializeSkeletonCache=0.124272000006.235| Building obstacles cache..000006.236| done.000006.236| Do_Collection_Editor_Init...000006.236| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\collections\collections.xml000006.236| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\collections\elements.bin000006.236| COLLECTIONS: Could not open 'Levels\WorkInProgress/Editor_Physics\collections\elements.bin'000006.236| r3dFile: can't open Levels\WorkInProgress/Editor_Physics\collections\quadtree.bin000006.236| Do_Collection_Editor_Init ok. (0.00 seconds)000006.237| World loaded000006.237| Total load time: 1.31000006.658| writeGameOptionsFile: Saving settings to C:\Users\Administrator\Documents\Liberty\Liberty\gameSettings.ini000006.730| Warning: skipped frames between GameWorld().Update() and SceneBox::TraverseAndPrepareForOcclusionQueries000007.081| WARNING: current script "Data\ObjectsDepot\DepotConfig.cfg" need called Script_c::CloseFile()000007.837| Time between load end and game start: 1.60000013.944| LoadWeaponTable 000017.452| Loaded weapon animations: 3.507804 sec, 870 anims