Page 1 of 1
Gang logo on cars
Posted: 25 Feb 2010, 23:26
by Jozodezokokotar
Hi folks.
Does anyone know how to put gang logo on their respective car?
CREATE_GANG_CAR command doesn't work (car is created without logo).
thanks
Re: Gang logo on cars
Posted: 26 Feb 2010, 00:15
by Lantyz
Welcome, Jozodezokokotar. CREATE_GANG_CAR only works properly if the script contains gangs. To create a Zaibatsu Z-Type, use this:
Code: Select all
SET_GANG_INFO ( zonename , 8 , pistol , pistol , pistol , 3 , 1.0 , 1.0 , 2.0 , 1 , VTYPE , 2 )
CAR_DATA ztype
LEVELSTART
ztype = CREATE_GANG_CAR ( 113.5 , 123.5 , 2.0 ) 2 0 VTYPE END
LEVELEND
The gang ID in SET_GANG_INFO determines which icon the gang cars should have. CREATE_GANG_CAR automatically checks which icon belongs on the car, so it's impossible to create a gangcar with the icon of a rival gang. You can, however, use different icons by using other gang IDs in SET_GANG_INFO, but most icons only work well on one car model.
Don't forget to add a gangzone to your map!
Gang IDs:
- Loonies
- Yakuza
- Zaibatsu Corporation
- Rednecks
- SRS Scientists
- Hare Krishna
- Russian Mafia
- 'Invisible' gang without arrow, icon or respect-o-meter
Re: Gang logo on cars
Posted: 26 Feb 2010, 14:56
by Jozodezokokotar
well, i thought it would be possible to do this without actually creating any gang. never mind
thanks
Re: Gang logo on cars
Posted: 26 Feb 2010, 15:31
by Razor
you can put declared cars and without gangsters... i mean you have to declare gang but you can set 0 for them spawn in MAP_ZONE command
to spawn declared car
try:
Code: Select all
car_data gangcar1
LEVELSTART
gangcar1= CREATE_GANG_CAR ( x.5 , y.5 , z.0 ) 20 270 ISETTA END
Re: Gang logo on cars
Posted: 26 Feb 2010, 16:57
by Gustavob
Razor wrote:you can put declared cars and without gangsters... i mean you have to declare gang but you can set 0 for them spawn in MAP_ZONE command
Or you can put a 1 block sized gang zone in your map on top of a building (since the top of buildings are set to field, no peds spawn there) and create the car anywhere on map.
Re: Gang logo on cars
Posted: 26 Feb 2010, 18:52
by Jozodezokokotar
Yea, i get the point.
thanks