convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
kc - 08.06.2009
Some of you may remember I once had a tool called kVehicles, or kc's vehicle organizer. Now, that went down forever ago.
Due to a mix of demand for it, and me being bored, its back, under its new name -
convertFFS Vehicles!
Now, its pretty self explanatory, but let me explain some of the stuff you can do with the options bar...
- By changing any of the colour fields blank, it will leave it alone - the colour will come out as it came in.
- The array field is optional. But can be very useful. whatever you enter into that box will be assumed to be an array...
e.g. if you enter in "hai" then your vehicles will come out as hai[numhere] = vehicle(stuff,here);
- The indentation drop down changes whether the parameters will be indented. e.g. vehicle(1, 2, 3, 4); setting it to no will remove any indentation on the params. e.g. vehicle(1,2,3,4);
- The comments drop down is pretty self explanatory. The outcome of the options would be...
vehicle(411,2,3,4); //hai
-> "Replace with vehicle name" -> vehicle(411,2,3,4); //Infernus
vehicle(411,2,3,4); //hai
-> "Merge current with vehicle name" -> vehicle(411,2,3,4); //hai - Infernus
vehicle(411,2,3,4); //hai
-> "Remove any comments" -> vehicle(411,2,3,4);
vehicle(411,2,3,4); //hai
-> "Leave comments alone" -> vehicle(411,2,3,4); //hai
Okay? Ok, good. Have fun with it!
_________________________________________________
WHAT DOES THIS DO?!??!
Ok, say you have some vehicles. like these...
pawn Код:
AddStaticVehicleEx(468,806.189,845.013,9.330,112.0,32,5, 10);
AddStaticVehicleEx(468,806.639,843.937,9.330,112.0,53,5, 10);
AddStaticVehicleEx(468,807.064,843.136,9.330,112.0,12,4, 10);
AddStaticVehicleEx(468,807.640,841.985,9.330,112.0,32,3, 10);
AddStaticVehicleEx(468,808.166,841.109,9.330,112.0,43,4, 10);
AddStaticVehicleEx(468,808.716,840.159,9.330,112.0,12,5, 10);
AddStaticVehicleEx(468,809.267,839.108,9.330,112.0,21,1, 10);
AddStaticVehicleEx(468,808.916,837.958,9.330,112.0,32,2, 10);
convertFFS Vehicles! with a quick change of the settings would turn that code into...
pawn Код:
AddStaticVehicleEx(468, 806.189, 845.013, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 806.639, 843.937, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 807.064, 843.136, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 807.640, 841.985, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 808.166, 841.109, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 808.716, 840.159, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 809.267, 839.108, 9.330, 112.0, -1, -1, 10); //Sanchez
AddStaticVehicleEx(468, 808.916, 837.958, 9.330, 112.0, -1, -1, 10); //Sanchez
//8 vehicles processed. 1 unique models!
You can see that they have all been named, and the colors have changed. And with the settings you can bulk change vehicles in to all sorts of combinations.
Got it? ok, good! just post if you have any further questions
Re: [WEB] convertFFS Vehicles! [Yup, kc's vehicle organizer is back!] -
smallo - 08.06.2009
Nice work, very useful. Maybe all the abuse isn't nessecary :P.
Re: [WEB] convertFFS Vehicles! [Yup, kc's vehicle organizer is back!] -
Karlip - 08.06.2009
It's really awesome kc,good job.
Re: [WEB] convertFFS Vehicles! [Yup, kc's vehicle organizer is back!] -
mysan - 08.06.2009
a very useful thing
Re: [WEB] convertFFS Vehicles! [Yup, kc's vehicle organizer is back!] -
kc - 08.06.2009
Quote:
Originally Posted by [DRuG
Smallo ]
Nice work, very useful. Maybe all the abuse isn't nessecary :P.
|
Yeah, I know. They were just dummy buttons and they havent gone away yet =P Thanks!
Quote:
Originally Posted by Karlip
It's really awesome kc,good job. 
|
Thanks!
Quote:
Originally Posted by mysan
a very useful thing 
|
Thanks!
_________________________________________________
Quick update - Shows a comment at the end with the number of vehicles converted, and the number of unique models converted! Thanks to RoBo.
Update #2 - Fixed a bug that stopped vehicles that already had an array from being converted.
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
Jese - 09.06.2009
Nice kc, good job!
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
whooper - 09.06.2009
yes indeed nice job
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
BMUK - 09.06.2009
Very nice!
O/T: Is there any
www.****ffs.com domains left in the universe?
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
BP13 - 09.06.2009
what exactly is this? A vehicle streamer or something
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
Weirdosport - 09.06.2009
Maybe an opstion for CreateVehicle, and an option so you don't have to use a giving colour values (maintain current values sorta thing)
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
kc - 09.06.2009
Quote:
Originally Posted by Weirdosport
Maybe an opstion for CreateVehicle, and an option so you don't have to use a giving colour values (maintain current values sorta thing)
|
CreateVehicle, AddStaticVehicleEx, AddStaticVehicle and CreateStreamVehicle are supported.
And yes, you can do that too - just clear colour input boxes.
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
Reamis - 10.06.2009
it's very useful thing
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
NeRoSiS - 10.06.2009
Really tidy and has that nice urban look to it.
What you talking about man?
THE ABUSE ROCKS!!
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
SiJ - 10.06.2009
You rock man! Respect!
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] - Double-O-Seven - 10.06.2009
Very nice
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
sampplayer - 14.06.2009
Can you make it so that, you can convert AddStaticVehicle to AddStaticVehicleEx or Create Vehicle, and an option for the respawn time?
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
vermillioN25 - 14.06.2009
I'm gettin 'loose identation' errors
what can I do?
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
6tynine - 14.06.2009
Quote:
Originally Posted by vermillioN25
I'm gettin 'loose identation' errors
what can I do?
|
use delux
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
BP13 - 15.06.2009
Quote:
Originally Posted by sampplayer
Can you make it so that, you can convert AddStaticVehicle to AddStaticVehicleEx or Create Vehicle, and an option for the respawn time? 
|
Yay Respawn TimE! I want this
Re: convertFFS Vehicles! [Awesome tools to speed up working with vehicles] -
kc - 15.06.2009
Quote:
Originally Posted by vermillioN25
I'm gettin 'loose identation' errors
what can I do?
|
I don't see how thats related to this in any way. You could highlight the vehicles and press tab to bring them into line with the others?
Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by sampplayer
Can you make it so that, you can convert AddStaticVehicle to AddStaticVehicleEx or Create Vehicle, and an option for the respawn time? 
|
Yay Respawn TimE! I want this
|
Yes, I am planning on adding respawn time shortly.