PDA

View Full Version : Implementing Vehicles



kevinman4404
09-22-2007, 05:51 PM
Is it possible to add vehiclefactories for downloaded vehicles in UED? Is this even possible?

From what I've seen it is, but I still have no idea how to get it onto the map, or how to import or assemble it, if I have to, again I have no idea on what is required. I hope it doesn't require a class?

Thanks for any advice

{TARD}-C3nT
10-02-2007, 12:58 AM
You should find the member "rumple". Find one of his thread and reply to it. I know he adds custom vehicle factories to his maps.

jsterj
10-02-2007, 01:46 PM
There's a couple of things I think you could do. You could code your own factory class, there's not much to one.

Example


class ONSTankFactory extends ONSVehicleFactory;

DefaultProperties
{
Mesh=Mesh'ONSVehicles-A.HoverTank'
VehicleClass=class'Onslaught.ONSHoverTank'
RedBuildEffectClass=class'ONSTankBuildEffectRed'
BlueBuildEffectClass=class'ONSTankBuildEffectBlue'
RespawnTime=30.0
}


Or you could simply use a different vehicle factory in your map (e.g. ONSTankFactory), open it's properties up and change the MESH and VEHICLE CLASS fields to match your custom vehicle. I didn't try this, but I believe it should work just fine.