Getting cars working (123800)
Hello, i am trying to get cars working and i am stuck here
2014/05/22, 17:24:00 "SET MAX 100 CAR"
2014/05/22, 17:24:00 "total points: 24 "
2014/05/22, 17:24:00 "Spawn: true "
2014/05/22, 17:24:00 "N: 1 CAR"
2014/05/22, 17:24:00 Cannot create non-ai vehicle Skoda,
2014/05/22, 17:24:00 "SPAWNED CAR Skoda pos: [4054.18,11659.7,0]"
2014/05/22, 17:24:00 "CAR Napr = random "
2014/05/22, 17:24:00 "Spawn: true "
2014/05/22, 17:24:00 "N: 2 CAR"
2014/05/22, 17:24:00 Cannot create non-ai vehicle Skoda,
2014/05/22, 17:24:00 "SPAWNED CAR Skoda pos: [2840.71,5290.59,0]"
2014/05/22, 17:24:00 "CAR Napr = random "
2014/05/22, 17:24:00 "Spawn: false "
2014/05/22, 17:24:00 "Spawn: false "
2014/05/22, 17:24:00 "Spawn: true "
2014/05/22, 17:24:00 "N: 3 CAR"
Does it mean that i have wrong classname, or something else ?
Re: Getting cars working (123800)
From what I found there is a working system to spawn the cars already implemented. To get it to work you'll need to:
Add string in *Game*\MpMissions\dayzea.ChernarusPlus\init.sqf:
init_spawnCar = compile preprocessFileLineNumbers "\modulesDayZ\SpawnCar.sqf";
Call init_spawnCar;
This should spawn the cars but to actually make them work you'll need to:
go to vehicles_wheeled.pbo >> config.binChange the class CfgMovesBasic to class CfgMovesBasic2
and class CfgMovesMaleSdr: CfgMovesBasic to class CfgMovesMaleSdr2: CfgMovesBasic2
for the default driver \ passenger (cargo) animation i would recommend a default sit animation (f3), with this you will have pretty accurate head position that will allow you to use first person camera while in the car.
file="\dz\anims\data\anim\sdr\mov\sit\stp\non\non\CdzpAmovPsitMstpSnonWnonDnon.rtm";
Re: Getting cars working (123800)
Edited: I use this system, but i didnt use steps u write here.
As u can see up there, this is what is in RPT file
Re: Getting cars working (123800)
This are all of the classnames:
http://pwnoz0r.com/dayzstandalone/cl...es_wheeled.txt
From what I can see you're using the right classname, so it's something else.
Re: Getting cars working (123800)
Ehm, i was thinking and i had an idea
2014/05/22, 17:56:39 Cannot create non-ai vehicle KIA_Skodovka_Cargo01,
2014/05/22, 17:56:39 Cannot create non-ai vehicle ThisCarShouldNotSpawnBecauseItDoesNotExists,
It still can be bad classname, but it does not have to be :(
- - - Updated - - -
In config.bin i found this CfgNonAIVehicles so i am gonna try to find something
Re: Getting cars working (123800)
The vehicles_wheeled.pbo u have is it 52Kb ? , if so u dont have any cars
U need a 183 Mb file size of it (u can use the 1 in the DayzMP.tk versions 44 or 45)
Re: Getting cars working (123800)
Quote:
Originally Posted by
eikeltjeshier
The vehicles_wheeled.pbo u have is it 52Kb ? , if so u dont have any cars
U need a 183 Mb file size of it (u can use the 1 in the DayzMP.tk versions 44 or 45)
Thank you!! Gonna test it :)
e: Corrupted data detected, when starting server
Re: Getting cars working (123800)
Yes that happens with that v2 version (0.44.0000) i use the 044 123800 so then no problem
The v2 has the signing check on
Re: Getting cars working (123800)
What do you mean ? I use Version 0.44.123800
=====================================================================
== C:\Users\Bindik\Desktop\Server\DayZServer.exe
== DayZserver.exe -server -port=2405 -config=server.cfg -cfg=basic.cfg -profiles=DayZ_Auto.ChernarusPlus
=====================================================================
Exe timestamp: 2014/05/08 05:51:25
Current time: 2014/05/22 18:28:26
Version 0.44.123800
Cannot register unknown string STR_ACTION_THROW
Cannot register unknown string STR_CHANNEL_ITEM_RADIO
Item STR_ITEMS_CANNEDPEACHES listed twice
Item STR_ITEMS_CANNEDPEACHES_DESC listed twice
in my rpt
But still, i use official steam client, and i think it will be impossible, because in official steam client there is 52kb file too
Re: Getting cars working (123800)
hey man ! a noob question, how can i open config.bin ?
Re: Getting cars working (123800)
@bindik
DayZ-Server-123800.rar with the dayzserver123.exe , with the DayZServerV1.1.rar u get a dayzserver.exe that checks bisign files
It also deny u to alter any pbo file , wich i need (editted the server_dat.pbo so i dont need the Hosts altering)
But it also refuses the vehicles_wheeled from other dayz
Re: Getting cars working (123800)
Yup, i am already looking into it, i will edit the tutorial, and everything (Tomorrow), btw thanks for the info about server_dat.pbo
Re: Getting cars working (123800)
Quote:
Originally Posted by
waas
U need DeRap check this http://dev.withsix.com/projects/mikero-pbodll/files
look for Depbo Makepbo and Google for Extractpbo
Re: Getting cars working (123800)
For .pbo manipulation i am using CPBO (Usable in .bat (example cpbo -e mypbo.pbo -- extract or cpbo -p folder --- pack)
and what cant cpbo do will do pbomanager
Re: Getting cars working (123800)
used to use cpbo for Arma2(dayz) but not anymore
Depbo is a simple doubleclick on the .pbo file
Makepbo a simple drag/drop just pull the new-edit on Makepbo.exe
Extractpbo (a Gui-version depbo and derap for pbo-files)