Thread: [L4D/L4D2] Cars
View Single Post
Author Message
alexandrovich
New Member
Join Date: Apr 2012
Old 04-20-2012 , 10:01   [L4D/L4D2] Cars
Reply With Quote #1

Hello world!

I was thinking about a simply thing:
Without requiring any jeep model that must be downloaded from a server url, isn't it possible to create a prop_vehicle, that uses, for example a car l4d car model that has the same origins than the buggy.mdl model.
And to add more cars, just create the prop_vehicle_jeep with an alpha value = 0, (invisible) and parent the prop_vehicle to a prop_dynamic that isn't corresponding to the origins.
For example:

prop_vehicle --- using: models\props_vehicles\cara_95sedan.mdl (Name: Jeep)
prop_dynamic ---- using: models\props_vehicles\humvee.mdl · · · Parented to ---> Jeep (Prop_vehicle) (Name: carmodel)
Fires:
Jeep SetColor "0 0 0 0"
Carmodel SetParent Jeep
Carmodel DisableCollision

Changing origins like:
Rotation: -90 (The cara_95sedan.mdl Is like this: | and the humvee.mdl is like this -, but they have to be | and |)
And perfect it with Z, Y, X. For the elevation and the rest.


Maybe you don't know what I mean, lol...
alexandrovich is offline