Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
Posted 15.02.2012, 19:19
Hey I've been trying to follow this tutorial, however when I go to save the max file or open the HMMWV script file, there are only a few folders in the game folder. There was no objects or scripts folder. I tried to make my own folder, and extracted the script from the .pak file in the game folder via winrar, however when I tried to hit reload scripts inside the editor, and even restarting the editor, the entity did not show up. I am using the latest available version of CE3 SDK.
Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
Posted 15.02.2012, 21:29
Quote by Havoc89:
Hey I've been trying to follow this tutorial, however when I go to save the max file or open the HMMWV script file, there are only a few folders in the game folder. There was no objects or scripts folder. I tried to make my own folder, and extracted the script from the .pak file in the game folder via winrar, however when I tried to hit reload scripts inside the editor, and even restarting the editor, the entity did not show up. I am using the latest available version of CE3 SDK.
Any ideas?
not a hundred percent sure without seeing your setup but this is most likely caused by your scripts not finding your car model (.cga) you need to have your script file in: "YOURCRYENGINEROOTDIR\Game\Scripts\Entities\Vehicles\Implementations\Xml\yourscriptname.xml" and your model (yourcarname.cga) any where in the "Game" folder or subfolders of GAME. But the script (YOURSCRIPT.xml) has to tell the engine where to find the model(YOURCARNAME.cga) for example: if my Model (YOURCARNAME.cga) is in "MyCryengineRootDir\Game\My_Files\Objects\Vehicles\" then my script will look like this: <Animated filename="My_Files/Objects/Vehicles/mycar.cga" filenameDestroyed="objects/vehicles/mycar/mycar_damaged.cga"/>
Your "CryengineRootDir" And "Game" are already known to the scripts so you need to put just the filepath to (YOURCARNAME.cga) after the "Game" folder and they need to be forward slashes "/" not back slashes"\" so "folder1\folder2\folder3\YourCarName.cga" would be written "folder1/folder2/folder3/YourCarName.cga"
Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
Posted 16.02.2012, 05:40
I am not sure what happened, I did a fresh install, copied all the old files over, and it worked for some odd reason.
However now I have a weird problem... After I get into my vehicle, it doesn't drive at all (and yes I'm in the driver seat). It just turns very very very very slowly in the same spot. Any ideas?
Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
Posted 12.03.2012, 19:04
Quote by Havoc89:
I am not sure what happened, I did a fresh install, copied all the old files over, and it worked for some odd reason.
However now I have a weird problem... After I get into my vehicle, it doesn't drive at all (and yes I'm in the driver seat). It just turns very very very very slowly in the same spot. Any ideas?
Thanks
Open your Vehicle in the Vehicle editor and check for errors and make it more fast.^^
Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
Posted 29.03.2013, 20:40
Quote by firewall200:
I like your tutorial, but is there a way to do it with a pre-made model, since I want a nice looking one but can't quite make it myself
Yes it is posibile but you must modify the model (with blender or 3dmax) to the same parameters like this tutorial(rename the model add the wheels). if you habe no idee to handels this programmes there is no chance.