vehicle question

This is the place to go if you need help creating a map.

Moderator: Forum Moderators

Post Reply
User avatar
drew00
Private
Private
Posts: 17
Joined: Thu Mar 09, 2006 7:29 pm
Location: Baltimore, Md

vehicle question

Post by drew00 » Fri Apr 07, 2006 7:12 pm

i was wondering if its possible to put a vehicle or a v factory in a regular dm map. i have tried many variations, but can only get vehicles to appear if i change level info gametype to ons or assault.
Taking your keys and -:all:- shiny objects

Current Projects: _________
Image

User avatar
drew00
Private
Private
Posts: 17
Joined: Thu Mar 09, 2006 7:29 pm
Location: Baltimore, Md

Post by drew00 » Fri Apr 07, 2006 8:38 pm

forgot to mention, i do know about Vehicle Setting Override actor. is there another way ? :D
Taking your keys and -:all:- shiny objects

Current Projects: _________
Image

milk
Posts: 3
Joined: Tue May 02, 2006 9:03 pm

Post by milk » Tue May 02, 2006 10:48 pm

You would have to call super(Pawn).PreBeginPlay(); inside the PreBeginPlay() function (in both the vehicle and the vfactory) in order to allow the vehicle and the vehicle factory to appear in a DM map...or there is always the other option you mentioned. Doing either would require adding custom script to your MyLevel.u package for each vehicletype you wish to spawn.

Code: Select all

function PreBeginPlay()
{
	//skipping ONSVehicle,SVehicle,Vehicle:PreBeginPlay is the only way!!11
	super(Pawn).PreBeginPlay();
}
Good Luck,

milk

User avatar
drew00
Private
Private
Posts: 17
Joined: Thu Mar 09, 2006 7:29 pm
Location: Baltimore, Md

Post by drew00 » Wed May 10, 2006 5:49 pm

ok thanks i will try that
Taking your keys and -:all:- shiny objects

Current Projects: _________
Image

Post Reply

Return to “Map Development”