View Full Version : Vehicle use in DM-map
Calippo_Tecks
7th Apr 2006, 11:24 AM
I'm quite new to UT 2004 and was wondering if it is able to put the vehicles from the onslaught.u into DM-maps, I tried doing this but when I launch the map the vehicles are simply not there. I'm totally not an expert in level editing but I just want to put vehicles in normal deathmatch maps(if that's possible). Can u tell me how to do it?
Greetings & thnx already.
The_Head
7th Apr 2006, 12:00 PM
Did you pu the cehicles directly in or did you put in the Vehicle Spawner (pretty sure its called *vehiclename*factory)
I have a hunch that you need some extra code for the vehciles to natively work in Deathmatch though, although that may of just been UT2003.
Calippo_Tecks
7th Apr 2006, 01:36 PM
I tried to find what u were meaning and maybe u mean this one:
Onslaught.u -> Actor -> *SVehicleFactory -> *ONSVehicleFactory -> *ONSAttackCraftFactory
The one I used was:
Onslaught.u ->Actor -> *Pawn -> *Vehicle -> *SVehicle -> *ONSVehicle
-> ONSChopperCraft -> *ONSAttackCraft
I tried the one mentioned above too but they both don't work. I guess there'll be needed some coding for it too, but thanks already!
SlipStreams_65
7th Apr 2006, 02:45 PM
Just go Here (http://wiki.beyondunreal.com/wiki/AllMapVecFactory) and copy it in.
Calippo_Tecks
8th Apr 2006, 07:43 AM
thnx! but where do I have to put that? I never used scripting in Unreal Editor so I totally know nothing about that, I tried a few times to find out where I had to put it but I always failed.:rolleyes:
SlipStreams_65
8th Apr 2006, 09:53 AM
Im not a coder, but I do know how to implement new classes.
Select "ASvehiclefactory" in the actor class browser, go to file->new and a code window should pop up. Copy the code into there. You will have to compile it-use the button that has the 3 pieces of paper on it. The new class should be in the class browser, try adding it to your map. If it doesnt show up, edit the lines of code to say
class AllMapVecFactory Extends asvehiclefactory; placeable
That should make it placeable into the map.
billy240clint@hotmail
8th Apr 2006, 11:45 PM
e-mail me your e-mail and I will send you a script that does jsut this, I know cuz I am curently using this script. billy240clint@hotmail.com. All you have to do is copy it right into your level and then thats it
reguards
BILLYc.
Calippo_Tecks
9th Apr 2006, 09:01 AM
I tried to place it where u said I must place it but I received an error:
I tried it both without and with 'placeable' but they both don't seem to work.
When I add the script to my map I simply right click a wall and I select add 'MyASVehicleFactory' here. (I changed the script line to: class MyASVehicleFactory Extends asvehiclefactory; placeable , because that's actually the name it got)
UT2004 Build UT2004_Build_[2004-03-03_02.42]
OS: Windows XP 5.1 (Build: 2600)
CPU: AuthenticAMD Unknown processor @ 2218 MHz with 1023MB RAM
Video: NVIDIA GeForce 6600 (7772)
Failed to enter Autoplay.ut2?NumBots=0: Can't find file for package 'MyPackage'
History: UGameEngine::Init <- InitEngine
SlipStreams_65
9th Apr 2006, 02:47 PM
I should have mentioned this before; when you subclass, enter the package as "MyLevel"
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.