Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Adding >requiredextras/> in vehicles.meta


1Fugitive

Recommended Posts

This line is used to add extras like lightbar, spots, antennas..you know, so theyre  always ON the car in vehicles.meta.

I want police, and police2 to always have extras because left for game to decide, one of ten will have a lightbar, an one in 20 or so will have a pushbar or Anything else.

 I want all my cop cars to have these things-(I think they should) -lightbar/pushbar/spotlight(s) minimum.)

 In police2 charger author gives line with >EXTRA_2< in there for you to copy to vehicles.meta for lightbar if you want it to ALWaYS spawn with it.

 I was wondering what is the line if you wanted other EXTRAs in that requiredextras line, what it would look like..Example, would you just put a space like-

<EXTRA_2 EXTRA_3  or a comma or what?

Link to comment
Share on other sites

On ‎4‎/‎24‎/‎2017 at 0:38 PM, nixxx621 said:

There is a flag "EXTRAS_ALL" that you can try. Typically will make vehicles load with all extras. That and "EXTRAS_STRONG" are the two on have for every police vehicle.

yeah thx nixxx, tried EXTRAS_ALL, didn't do it.  FLAG for extras require is there too.

 

 this is bxbugs '14 charger, has like 11 extras, use as police.

 all id like to see is a high majority of them at least have lightbars, getting one to spawn with a pushbar is like never.

 thehurks '15 charger works with  the line- requiredextras EXTRA_2. that's its lightbar.

maybe i got the wrong vehicles.data, but police is in there.

maybe?...EXTRA_ALL  ?

 

21 chargers an a lightbar didn't appear till no. 13, then 19 an 21. out of 21 cars!

21Chargers.png

POLICE2META.png

POLICEMETA.png

 

I also tried EXTRA_ALL with no S on EXTRA. still didn't work, game loaded ok, cars spawned with Enhancer, but still not many lightbars or any extras. and yes, I did backup over that space after >  and before  EXTRAS.

 

EDIT, next day:  I found a car with FLAG line EXTRAS_ALL, and put that in other FLAG lines for ones I wanted to always have extras.

But that's just to enable all extras as possible options.

 Below flags is that line  '<requiredExtras>EXTRA_X'</requiredExtras>'  where you would have to put what EXTRAS you want to be on car always when spawned. And EXTRAS_ALL doesn't work to there.

 I don't know if its possible or how to word that requiredExtras>         </requiredExtras> line to have just the things you want when that car is spawned..

 I suppose I'll try listing EXTRA_2 EXTRA_3 ..etc.

 

Edited by 1Fugitive
update
Link to comment
Share on other sites

@1Fugitive This is what I meant. I was on my work PC and couldn't pull up the vehicles.meta:

 

 

 

 

Capture.PNG

Can you send me a link to the model and I'll download it and see if I can get it to work? I know I've been able to force all extras before because I had models that would spawn without the pushbar and it would drive me nuts. So I know it's possible.

Link to comment
Share on other sites



×
×
  • Create New...