Having trouble logging in? Password not accepted? Recently some bad apples caused a bit of a ruckus around here and a few accounts had to be reset.
Please, drop Toshiba, Errol or n3wton a line and they'll sort you right out! We apologise for any inconvenience this may cause :(


Making & Adding Drones
User avatar
Mad_Maxine created Making & Adding Drones on Sat Apr 12, 2014 11:39 pm
Post
Hello! Welcome to a tutorial.. about drones.

Lets imagine you just made a really cool map! Or, just want to add some movement to an old one, Ill tell you how to make a drone, set it up, and create paths.

So im going to assume you know how to model things? Well if not go back to the Cared tutorial, then come back eh :P Probly best making a car first tho.

Ok so You have your new drone model, Make sure its not too high poly, Ive never had it myself. But I have heard of droens with a coupel thousend polys crashing the game when you touch them.

So here is a drone, as you can see its built just like a car,
Image

Now, All the wheels should be named as usual.. FLWHEEL, FRWHEEL, RLWHEEL, RRWHEEL. or the same for however many wheels you want ( works the same as wheel actors for cars)
The first thing we want to do before compiling the car is move the wheels directly to the center of XYZ
Image

Heres a little something I do with my drones (you purists may not like this) But since the rear wheels only spin, and therefore allways stay in the same place I usually dont move them horizontally, This way I can jsut drag it into place in Plaything easyer.
Image

Totally up to you if you want to put ALL the wheels exactly in the center, but to me it really makes no diffrence unless the wheel is steerable.

So Now compile the model. and you have the usual files.
Image

Now take the car folder (in this case it is DEV_DRO1) and coppy it into your carmageddon folder DATA/DRONES

Then you can go ahead and delete the .WAM .TXT Shell and other stuff that is not needed.
Image

I know we just deleted the car.txt file, But Its pretty much useless here, I usually use a template one that started out as an orignal C2 drone, I will also provide you one. jsut click THIS LINK

So lets do the Text first, First, pointing out the odbvius, Rename the BLANKDRONE.TXT To the same as your car, so in this case. DEV_DRO1.TXT

Now open the txt file and change the name of the drone to the same, Like so. -
Image

Now we need plaything!. Load up plaything and import the drone just like any car or map, using the Act file.
I probly dont need to show you.. But just incase..
Image
Image
Image

So now we have the model loaded, go ahead and make whatever changes you need to for the cars textures, chrome bits, double sided textures, (if you are not sure on any of that check the Car making tutorial I made)

After all your little bits are done go to the cars main .ACT file (the one with the same name as the car)
Image

go to Options, Change object name, Rename
Image

Ive had some case sensative issues here before, so one rule I allways stick to with drones is keep it in CAPS, I have had drones refuse to work with lower case names.

Now just arange the wheels into place, Like you would with a C1 car, or car with more than 4 wheels.

Like so.
Image

Now just save the car and you should have a working drone there.

Last thing to making a drone is you need to add it to DRONE.TXT in the drones folder.

VERSION 1

EST02YEL
EST02BLU
EST02RED
CABLECAR
ROLLERCAR
747
HATCH01
ESTATE01
MOVER01
SEDAN01
F14
SPAMTRAK
LOGFLUME
GRUNDON
JAMS
DR_FORDC2
DR_FORDC4
DR_DELIV2
DR_CARAVAN1

END OF DRONES

As you can see they are all in caps, so just add yours to the end making sure the drone name is the same name as the model, and file name of your drone, Wich should be the same if you were listning
So in this case we will add. DEV_DRO1 to the end of the drones. so it will look like this

VERSION 1

EST02YEL
EST02BLU
EST02RED
CABLECAR
ROLLERCAR
747
HATCH01
ESTATE01
MOVER01
SEDAN01
F14
SPAMTRAK
LOGFLUME
GRUNDON
JAMS
DR_FORDC2
DR_FORDC4
DR_DELIV2
DR_CARAVAN1
DEV_DRO1

END OF DRONES

Now save, and thats that, Done working.

But now we need a place to put it?
Well you can put droens in your own maps, existing C2, maps, Converted C1 maps, Or anything you like really.

So here is a map.. of some sort.
Image
Image

So ok the next step is to add the drone to the map right? Well You can get the coordinates from eaither Plaything, or Cared, For the purpus of this im just going to show you me doing it in cared.

Now I just want for now a drone to drive around the inner lane there, so I placed down 4 points in cared (in a seprate component) And chose wich order they should go in.
Image

Make sure your points are level with the ground, Drones will follow the points no matter where they are,

Im sure you know that when you select jsut one point, cared tells you in the component windo what the coordinates of that point are,
Image

So my points for the drone paths I set are. as marked on the map.

1: -2.568, 0.135, -2.580
2: 2.4909, 0.135, -2.580
3: 2.4909, 0.135, 2.472
4: -2.568, 0.135, 2.472

So now to add this to the map go to your maps folder. and open the txt file, now find the drone paths section wich will look like this.

START OF DRONE PATHS

2 // Version
0 // The number of path points

END OF DRONE PATHS

If you look into another map, the drone paths should look something like these.

// 0:
-2.568, 0.135, -2.580
DEV_DRO1
0
1
1, 0, 0, 0

The rest of the stuff I have no idea about.. but.

The coordinate of the drone path
The name of the drone that spawns here
I dont know what its called, but this number tells the drone wich point to folow.

Now, here is what it looks like with the 4 points, Note that some of the points say none in where the drone name goes, This just means that the drone will folow this point, but nothing will spawn there.

START OF DRONE PATHS

2 // version
4 // n_nodes

// 0:
-2.568, 0.135, -2.580
DEV_DRO1
0
1
1, 0, 0, 0

// 1:
2.4909, 0.135, -2.580
none
0
1
2, 0, 0, 0

// 2:
2.4909, 0.135, 2.472
none
0
1
3, 0, 0, 0

// 3:
-2.568, 0.135, 2.472
none
0
1
0, 0, 0, 0

END OF DRONE PATHS

So you can kinda see how that works right? You my have spotted how the path numebrs go..

1, 0, 0, 0
2, 0, 0, 0
3, 0, 0, 0
0, 0, 0, 0

It allways needs to start at 1, and end at 0, with all the other correct numbers inbetwene, Easy right?

Here I put it in game.
Image

I know.. Its too low, dont freak out, just tweek your settings untill it looks right.

For the purpus here ive sped up the drone faster than I would normally have them.


As you can see it will happily go around all day untill you, an opponent, or other drone comes into contact with it, Please note that parts of the map, and noncars will not affect drones, they will simply drive through it.

See wasent that fucking simple!?

But I can hear ya, One drone is not enough, Well I usually make multiple skins of drones for variaty, This is simple. just rename all the parts of your drone, the model, and the text files, to something slightly diffrent. like... DEV_DRO1 becomes DEV_DRO2 Simple!

and added to the map should look something like this.
wich Ill teach you how to do now.


Now, for setting a second drone path, its much like the first but carried on. Ill show ya,

START OF DRONE PATHS

2 // version
8 // n_nodes

// 0:
-2.568, 0.203, -2.580
DEV_DRO1
0
1
1, 0, 0, 0

// 1:
2.4909, 0.203, -2.580
none
0
1
2, 0, 0, 0

// 2:
2.4909, 0.203, 2.472
none
0
1
3, 0, 0, 0

// 3:
-2.568, 0.203, 2.472
none
0
1
0, 0, 0, 0


// 4:
-3.672, 0.203, 3.545
DEV_DRO2
0
1
5, 0, 0, 0

// 5:
3.563, 0.203, 3.545
none
0
1
6, 0, 0, 0

// 6:
3.563, 0.203, -3.618
none
0
1
7, 0, 0, 0

// 7:
-3.672, 0.203, -3.618
none
0
1
4, 0, 0, 0


END OF DRONE PATHS

Drone1
Drone2

So back to the numbers,

1,0,0,0 -First drone starts at 1
2,0,0,0 -On to 2
3,0,0,0 -3
0,0,0,0 -Final point of drone, back to the number Before the first point.
5,0,0,0 -Drone number 2 starts by skipping 4, or whatever the last was
6,0,0,0 -6
7,0,0,0 -7
4,0,0,0 -8 Last point of the second drone goes back to the point replaced by 0,0,0,0 in the first, This can be done as many times as you like to my knowlage, Just rember the next drone allways ends with the number the last should have ended on, Make sence?

Why stop there? Now you know drones you can make anything, Including busy citys!


Hope this helped, any questions, problems, random errors, dont hesitate to ask, pm me, contact me in any way and such, Enjoy! and I hope the big images did not get in your way.. But if I shrunk them well the text wouldent be as visable.

Incase ya missed it, Heres the link for the blank drone text file.
http://maxine.toshiba-3.com/TutorialStu ... DroTxt.zip

And heres a link for the test map, Its easy to start in a small area, But go ahead and dive into a map if you want. I first put droens on econobricks nukleen
http://maxine.toshiba-3.com/TutorialStu ... oneMap.zip

And this concludes another idiot tutorial, wrote by a self taught idiot.
Image
Wheels Outside All Shapes
User avatar
QTZ on Sun Apr 13, 2014 2:06 pm
Post
Idiot? Why? I really like reading your posts :)

Hint for the future: to capture focused window only - press Alt+PrintScreen (then paste to your graphic program).
User avatar
Mad_Maxine on Sun Apr 13, 2014 2:31 pm
Post
Ah ok, Yeah I just tried that,
Thanks I dident know that,
Image
Wheels Outside All Shapes
User avatar
coffeycup on Sun Apr 13, 2014 5:42 pm
Post
Nice tutorial. I really like drones, they can add a lot to a level. Too bad there won't be any in C:R. They add a lot of randomness and busy-ness to the maps. You don't get extra points when a drone you hit kills a ped but I'd try to knock them into crowds just for the mayhem. Plus the train and planes were cool in their own way even when they did weird things...
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Tue Apr 15, 2014 9:22 am
Post
Nice one, Maxy! I'm saving this for future reference.

Love the "Benny Hill-speed" drones! :lol:
***When I die may I be surrounded by scattered chrome and burning gasoline***
Pages: 1



cron
Extra information
It is currently Sun Nov 19, 2017 10:22 am,

Please Register a username.
In total there are 0 users online :: 0 registered, 0 hidden and 0 guests
Users browsing this forum: No registered users and 0 guests
Moderator: coffeycup

Powered by phpBB :: Hosted by n3wton :: Molested by goats
CWA Links
Facebook