Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 35375

[Request] how to fix rear wheel to control the car (and add new model)

$
0
0
a good time was poblema with new car model, when I turned to invez turn the front wheel, which was turned traserai
like this aki> http://prntscr.com/3w3ogw FIX > ( http://prntscr.com/3x6256 )
And below this download to fix this bug plain and boring.

Download including new infestation model: https://mega.co.nz/#!WhIxXSTB!MGRA5R3eF0Zv5OMnw5KU7LmDf_N77yqFI8cC2Sv96_8

go to C:\WarZ\bin\Data\ObjectsDepot\Vehicles (this is my directory, if their is another go to the vehicle and replace the xml folder you downloaded):wink:





I will teach you how to harness and switch to the new model infestation
Open your Warz.sln

Search: const char* cpMeshName = "Data\\ObjectsDepot\\Vehicles\\drivable_buggy_02.sco";
Change to: const char* cpMeshName = "Data\\ObjectsDepot\\Vehicles\\Zombie_killer_car.sco";





In WarZ_Server.sln
Search:
if(strncmp(cmd, "/vehicle", 4) == 0)
{
obj_Vehicle* obj = (obj_Vehicle*)srv_CreateGameObject("obj_Vehicle", "obj_Vehicle", plr->GetPosition());
sprintf(obj->vehicle_Model,"Data\\ObjectsDepot\\Vehicles\\drivable_buggy_02.sco");
obj->SetNetworkID(GetFreeNetId());
obj->NetworkLocal = true;
obj->bOn = false;
obj->OnCreate();
}
Change to:

if(strncmp(cmd, "/vehicle", 4) == 0)
{
obj_Vehicle* obj = (obj_Vehicle*)srv_CreateGameObject("obj_Vehicle", "obj_Vehicle", plr->GetPosition());
sprintf(obj->vehicle_Model,"Data\\ObjectsDepot\\Vehicles\\Zombie_killer_car.sco");
obj->SetNetworkID(GetFreeNetId());
obj->NetworkLocal = true;
obj->bOn = false;
obj->OnCreate();
}
else if(strncmp(cmd, "/vehicle2", 4) == 0)
{
obj_Vehicle* obj = (obj_Vehicle*)srv_CreateGameObject("obj_Vehicle", "obj_Vehicle", plr->GetPosition());
sprintf(obj->vehicle_Model,"Data\\ObjectsDepot\\Vehicles\\Zombie_killer_car.sco"); //Or model of driveable vehicle)
obj->SetNetworkID(GetFreeNetId());
obj->NetworkLocal = true;
obj->bOn = false;
obj->OnCreate();
}




//---------------------------------------------------------------------------------------------------
// no need to duplicate the above code but okay.

these files were obtained from Iss
Credits:
to me and to all of ragezone: D
I have helped!
Sorry my english.

Viewing all articles
Browse latest Browse all 35375

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>