convertFFS Vehicles! [Awesome tools to speed up working with vehicles]
#1

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
Reply
#2

Nice work, very useful. Maybe all the abuse isn't nessecary :P.
Reply
#3

It's really awesome kc,good job.
Reply
#4

a very useful thing
Reply
#5

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.
Reply
#6

Nice kc, good job!
Reply
#7

yes indeed nice job
Reply
#8

Very nice!

O/T: Is there any www.****ffs.com domains left in the universe?
Reply
#9

what exactly is this? A vehicle streamer or something
Reply
#10

Maybe an opstion for CreateVehicle, and an option so you don't have to use a giving colour values (maintain current values sorta thing)
Reply
#11

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.
Reply
#12

it's very useful thing
Reply
#13

Really tidy and has that nice urban look to it.

What you talking about man?

THE ABUSE ROCKS!!
Reply
#14

You rock man! Respect!
Reply
#15

Very nice
Reply
#16

Can you make it so that, you can convert AddStaticVehicle to AddStaticVehicleEx or Create Vehicle, and an option for the respawn time?
Reply
#17

I'm gettin 'loose identation' errors
what can I do?
Reply
#18

Quote:
Originally Posted by vermillioN25
I'm gettin 'loose identation' errors
what can I do?
use delux
Reply
#19

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
Reply
#20

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)