logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,537

Administrators:
DeeZire, Redemption

There are currently 43 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Tiberium Wars Editing Discuss any modding related issues to do with Tiberium Wars here.

Reply
 
LinkBack Thread Tools
Old 02-14-2008, 11:35 AM   #1 (permalink)
Junior Member
 
General_Subway's Avatar
 
Join Date: Apr 2007
Location: Dresden, Germany
Posts: 15
Send a message via ICQ to General_Subway
Post How to create trucks with trailers

Do you remember the "Big Rig"-Truck in good old CnC Generals? Its not difficult to create a truck with trailer in TW.

First, create a model of a truck with a trailer and texture it. Truck and trailer must be own meshes.
Thats my truck, not the best, but its just an example 4 this thread:



Then select your truck and name it CAB (or whatever you choose)
After this, select the trailer and name it TRAILER.

Now its time to set up the pivots. The pivot's coordinates of truck and trailer must be the same. Place them at the hitch position:



Export your model.

In the xml-File of your model, go to the "TruckDraw"-Module and add this (above "LeftFrontTireBone=..."):

CabRotationMultiplier ="1.0"
TrailerRotationMultiplier ="1.0"
CabBone="CAB"
TrailerBone="TRAILER"
RotationDamping ="0.7"

Last, create the needed entries in LogicCommand.xml etc.
Compile your mod and start it.

Works fine 4 me, but "don't drive over hills" ;-) .... that looks a little bit ugly
Attached Images
File Type: jpg pivotpoint.jpg (7.4 KB, 11 views)
File Type: jpg truckexample.jpg (9.5 KB, 11 views)
General_Subway is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:48 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.