Create new car help
#1

how can i do it ? i want to create this car - http://prntscr.com/4dfbzq
code:
CreateObject(3528, -15.76100, 1721.67712, 23.41717, -0.06000, -51.24000, -105.66010);
CreateObject(353, -15.28710, 1722.27014, 23.43830, 0.00000, 0.00000, -193.14000);
CreateObject(3534, -16.81879, 1724.54675, 23.13122, -19.26001, -88.62003, -27.96006);
CreateObject(3534, -12.97100, 1723.44275, 23.13122, -19.26001, -88.62003, -188.81995);
CreateObject(3524, -15.99339, 1719.20422, 22.85414, -91.32009, 8.28000, -190.32007);
CreateVehicle(404, -15.2871, 1722.2701, 23.4383, -193.1400, -1, -1, 100);
Reply
#2

Do you want to script those objects to the vehicle model or do you want to set objects on vehicles In Game ?
Reply
#3

Quote:
Originally Posted by AntonioStyles
Посмотреть сообщение
Do you want to script those objects to the vehicle model or do you want to set objects on vehicles In Game ?
to create new vehicle models
Reply
#4

help ?
Reply
#5

You want to use https://sampwiki.blast.hk/wiki/AttachObjectToVehicle but you just created objects around the vehicle. You need a vehicle object editor try searching here.

https://www.******.ca/?gws_rd=ssl#q=...+object+editor

Just to find the coordinates with what you have you would need subtract the vehicle x,y,z from every object then do a rotation translation calculation by rotating each object around 0,0,0 by -193.1400 degrees.


Keep in mind there is currently no public vehicle object editor that does object materials, object colors and object text.
Reply
#6

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You want to use https://sampwiki.blast.hk/wiki/AttachObjectToVehicle but you just created objects around the vehicle. You need a vehicle object editor try searching here.

https://www.******.ca/?gws_rd=ssl#q=...+object+editor

Just to find the coordinates with what you have you would need subtract the vehicle x,y,z from every object then do a rotation translation calculation by rotating each object around 0,0,0 by -193.1400 degrees.


Keep in mind there is currently no public vehicle object editor that does object materials, object colors and object text.
no man i want to create new models (id) .. how can i do it ?
Reply
#7

As stated above, you need to attach those objects to the car.
Reply
#8

noamch1997 just open the editor for mapinf find car you get codes and put it inGamemodeitn
Createvehicle(cords,ect,etc)
Reply
#9

Quote:
Originally Posted by Toxik
Посмотреть сообщение
noamch1997 just open the editor for mapinf find car you get codes and put it inGamemodeitn
Createvehicle(cords,ect,etc)
can you give example to this codes ?
CreateObject(3528, -15.76100, 1721.67712, 23.41717, -0.06000, -51.24000, -105.66010);
CreateObject(353, -15.28710, 1722.27014, 23.43830, 0.00000, 0.00000, -193.14000);
CreateObject(3534, -16.81879, 1724.54675, 23.13122, -19.26001, -88.62003, -27.96006);
CreateObject(3534, -12.97100, 1723.44275, 23.13122, -19.26001, -88.62003, -188.81995);
CreateObject(3524, -15.99339, 1719.20422, 22.85414, -91.32009, 8.28000, -190.32007);
CreateVehicle(404, -15.2871, 1722.2701, 23.4383, -193.1400, -1, -1, 100);

*can i make a new car model without delete this car model ? [CreateVehicle 404]
Reply
#10

can you give example to this codes ?
CreateObject(3528, -15.76100, 1721.67712, 23.41717, -0.06000, -51.24000, -105.66010);
CreateObject(353, -15.28710, 1722.27014, 23.43830, 0.00000, 0.00000, -193.14000);
CreateObject(3534, -16.81879, 1724.54675, 23.13122, -19.26001, -88.62003, -27.96006);
CreateObject(3534, -12.97100, 1723.44275, 23.13122, -19.26001, -88.62003, -188.81995);
CreateObject(3524, -15.99339, 1719.20422, 22.85414, -91.32009, 8.28000, -190.32007);
CreateVehicle(404, -15.2871, 1722.2701, 23.4383, -193.1400, -1, -1, 100);

*can i make a new car model without delete this car model ? [CreateVehicle 404]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)