View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Database Support Database SupportMember since: 31.08.2011, 11:17Posts: 623 Likes: 354
 

 Post Topic: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 02.02.2012, 18:55 
My tutorial on the matter, enjoy!!! and a three minute update FIX

  Beginner BeginnerMember since: 18.08.2011, 21:33Posts: 5 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 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.

Any ideas?
User avatar   Database Support Database SupportMember since: 31.08.2011, 11:17Posts: 623 Likes: 354
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 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"

hope this helps :)
  Beginner BeginnerMember since: 18.08.2011, 21:33Posts: 5 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 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?

Thanks
User avatar   Uber Modder Uber ModderMember since: 21.10.2011, 23:50Posts: 1731 Likes: 8
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 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.^^

Maybe your missing script was in a PAK file?
  Beginner BeginnerMember since: 15.08.2012, 11:57Posts: 9 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 22.08.2012, 10:40 
how do you add texture/material to the vehicle?
  Beginner BeginnerMember since: 21.08.2012, 20:36Posts: 20 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 25.08.2012, 20:51 
Can you scripting this car in c++ ? Would be awesome when you can do this and then make a new tutorial for c++ :)
User avatar   Hardcore Modder Hardcore ModderMember since: 11.11.2011, 07:36Posts: 838Location: Asia Likes: 2
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 26.08.2012, 06:26 
I really needed this for my mod :))Can you make a tut on how to make a drivable Boat ?


Image
Role :Texture artist
My skills : Level Designer|Game Designer|Sound Designer|3D Artist|2D Artist|
  Beginner BeginnerMember since: 27.08.2012, 13:36Posts: 1 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 27.08.2012, 13:40 
Richmar1 Thanks man.

Your tutorial helped me with some projects I have. Maybe in the future you will do some more.

Quote by xHochex:
Can you scripting this car in c++ ? Would be awesome when you can do this and then make a new tutorial for c++ :)


C++ isn't a scripting language. :P

Thanks.


Conduc bestii pe 4 roti pe cel mai frumos site de jocuri cu masini de pe internet, gaseste-ti pe cujocuri ocupatie.
  Beginner BeginnerMember since: 21.08.2012, 20:36Posts: 20 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 27.08.2012, 14:53 
Sorry. It's a programming language but is it possible?
User avatar   Database Support Database SupportMember since: 31.08.2011, 11:17Posts: 623 Likes: 354
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 27.08.2012, 20:20 
Quote by xHochex:
Sorry. It's a programming language but is it possible?


to program a whole new vehicl class? yes it is . BUT it is very complex to do this :)
  Beginner BeginnerMember since: 21.08.2012, 20:36Posts: 20 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 28.08.2012, 00:56 
good to know
  Beginner BeginnerMember since: 29.06.2012, 03:16Posts: 37Location: Ontario, Canada Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 28.08.2012, 07:56 
Used this tutorial to bring my LAV III model into CE3, great tut Rich!
  Beginner BeginnerMember since: 26.03.2013, 18:51Posts: 10 Likes: 0
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 27.03.2013, 21:53 
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
  Beginner BeginnerMember since: 30.01.2013, 21:40Posts: 81Location: Germany Likes: 1
 

 Post Topic: Re: Creating a custom vehicle and script in Cryengine 3 SDK
PostPosted 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.