Adding a boat to Double-O-Ships
#1

Hello i need help with adding a boat to Double-O-Ships
Its a ferry, i got the objects and everything BUT... i have no clew on how to add an new boat
I realy need this sow if anyone knows how to make this i'd realy apreciate it!
Thanks in advance!
Objects:
pawn Код:
CreateDynamicObject(3626, -3933.79, -2191.01, -0.68,   0.00, -90.00, 2.27);
CreateDynamicObject(3626, -3933.63, -2195.17, -0.68,   0.00, -90.00, 2.27);
CreateDynamicObject(3626, -3933.45, -2199.34, -0.68,   0.00, -90.00, 2.27);
CreateDynamicObject(3626, -3933.29, -2203.46, -0.68,   0.00, -90.00, 2.27);
CreateDynamicObject(3626, -3933.10, -2207.65, -0.68,   0.00, -90.00, 2.27);
CreateDynamicObject(3626, -3932.30, -2207.79, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3928.14, -2207.59, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3924.13, -2207.40, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3920.04, -2207.22, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3915.99, -2207.04, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3907.42, -2205.77, -0.68,   0.00, -90.00, 182.72);
CreateDynamicObject(3626, -3911.90, -2206.84, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3907.74, -2206.64, -0.68,   0.00, -90.00, 92.72);
CreateDynamicObject(3626, -3907.59, -2201.62, -0.68,   0.00, -90.00, 182.72);
CreateDynamicObject(3626, -3933.57, -2190.14, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3929.42, -2189.95, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3925.29, -2189.75, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3921.19, -2189.55, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3917.04, -2189.35, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3912.92, -2189.14, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3907.80, -2197.42, -0.68,   0.00, -90.00, 182.72);
CreateDynamicObject(3626, -3907.99, -2193.23, -0.68,   0.00, -90.00, 182.72);
CreateDynamicObject(3626, -3908.17, -2189.23, -0.68,   0.00, -90.00, 182.72);
CreateDynamicObject(3626, -3909.04, -2188.96, -0.68,   0.00, -90.00, 272.72);
CreateDynamicObject(3626, -3911.12, -2190.01, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3911.02, -2194.21, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3910.78, -2198.39, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3910.67, -2202.59, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3910.49, -2205.80, 2.20,   0.00, 0.00, 182.87);
CreateDynamicObject(3626, -3919.13, -2206.24, 2.20,   0.00, 0.00, 182.87);
CreateDynamicObject(3626, -3928.08, -2206.58, 2.20,   0.00, 0.00, 182.87);
CreateDynamicObject(3626, -3932.30, -2204.73, 2.20,   0.00, 0.00, 92.87);
CreateDynamicObject(3626, -3932.66, -2195.77, 2.20,   0.00, 0.00, 92.87);
CreateDynamicObject(3626, -3930.73, -2190.99, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3921.85, -2190.59, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3920.03, -2190.50, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3920.04, -2194.64, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3926.54, -2195.00, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3919.68, -2198.85, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3928.00, -2199.07, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3926.91, -2203.04, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(3626, -3918.76, -2202.85, 2.20,   0.00, 0.00, 2.87);
CreateDynamicObject(11431, -3908.78, -2204.73, 5.25,   0.00, 0.00, 2.02);
CreateDynamicObject(11431, -3932.53, -2191.99, 5.25,   0.00, 0.00, 182.02);
CreateDynamicObject(1468, -3932.74, -2188.59, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3927.58, -2188.36, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3922.43, -2188.12, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3917.28, -2187.87, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3912.12, -2187.63, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3909.37, -2187.52, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3908.44, -2208.09, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3913.59, -2208.34, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3918.75, -2208.56, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3923.91, -2208.80, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3929.06, -2209.05, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3931.91, -2209.19, 4.84,   0.00, 0.00, 2.61);
CreateDynamicObject(1468, -3934.64, -2206.71, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(1468, -3935.25, -2191.29, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(1468, -3934.99, -2196.45, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(1468, -3906.72, -2189.97, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(1468, -3906.03, -2205.40, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(1468, -3906.26, -2200.24, 4.84,   0.00, 0.00, 92.61);
CreateDynamicObject(996, -3910.23, -2201.80, 4.21,   0.00, 0.00, 1.85);
CreateDynamicObject(996, -3930.98, -2195.97, 4.21,   0.00, 0.00, 1.85);
CreateDynamicObject(3578, -3935.01, -2193.93, 2.89,   90.00, 0.00, 272.44);
CreateDynamicObject(3578, -3934.60, -2203.89, 2.89,   90.00, 0.00, 272.44);
CreateDynamicObject(3578, -3906.21, -2202.78, 2.89,   90.00, 0.00, 92.44);
CreateDynamicObject(3578, -3906.63, -2192.81, 2.89,   90.00, 0.00, 92.44);
CreateDynamicObject(3287, -3923.75, -2191.42, 7.06,   0.00, 0.00, 271.51);
CreateDynamicObject(3287, -3914.44, -2205.00, 7.06,   0.00, 0.00, 272.73);
CreateDynamicObject(1461, -3918.16, -2188.29, 4.53,   0.00, 0.00, 0.51);
CreateDynamicObject(1461, -3912.05, -2188.03, 4.53,   0.00, 0.00, 0.51);
CreateDynamicObject(1461, -3907.05, -2192.29, 4.53,   0.00, 0.00, -90.51);
CreateDynamicObject(1461, -3906.76, -2198.04, 4.53,   0.00, 0.00, -90.51);
CreateDynamicObject(1461, -3922.81, -2208.43, 4.53,   0.00, 0.00, 180.51);
CreateDynamicObject(1461, -3930.13, -2208.76, 4.53,   0.00, 0.00, 180.51);
CreateDynamicObject(1461, -3934.28, -2204.51, 4.53,   0.00, 0.00, 90.51);
CreateDynamicObject(1461, -3934.52, -2198.83, 4.53,   0.00, 0.00, 90.51);
CreateDynamicObject(1280, -3926.82, -2208.57, 4.00,   0.00, 0.00, 274.18);
CreateDynamicObject(1280, -3915.16, -2188.27, 4.00,   0.00, 0.00, 93.05);
Reply
#2

Try to find where it say AddStaticVehicle or CreateVehicle?
Reply
#3

You do know what Double-O-Ships is right?
Reply
#4

The topic says:

pawn Код:
CreateShip(modelid,Float:x,Float:y,Float:a);
Reply
#5

Yes but i need a whole NEW boat, with the objects that i've given sow not one thats included with the include.
Reply
#6

Well you could try altering the include a bit, but I don't know if that will work or if it is even allowed. But I don't think multiple objects is possible in this include.
Reply
#7

Well i tried that but its in german and my german is rusty as hell>.>"
Reply
#8

Inside Double-O-Seven's INC, there is ShipModelObjectPositions and ShipModelObjects, you can make a new model or replacing an old one using your objects ID and their position, if you look inside the INC, you might find it easy to replace or add.
Reply
#9

Hmm i'll try thanks!

EDIT:
I now got this:
pawn Код:
new ShipModelObjects[MAX_SHIP_MODELS][MAX_SHIP_OBJECTS]=
{
    {
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
        3626,
            11431,
            11431,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            1468,
            996,
            996,
            3578,
            3578,
            3578,
            3578,
            3287,
            3287,  
            1461,    
            1461,
            1461,
            1461,
            1461,
            1461,
            1461,
            1461,
            1280,
            1280      

{
But i do not understandt this:
pawn Код:
new ShipModelData[MAX_SHIP_MODELS][e_ShipModelData]=
{
    {
        20.0,
        0.2,
        0.07,
        {5.0,5.0,37.0,40.0},
        {2000.4471,1522.5204,8.0682,45.0,22.0,18.0},
        0.0,
        3,
        2000.0,
        "Brown Pearl"
    },
    {
        45.0,
        0.05,
        0.1,
        {16.5,16.5,112.0,112.0},//Breite, Mitte nach Vorne, Mitte nach Hinten
        {-1327.9342,493.8543,21.2500,200.0,35.0,30.0},
        (-90.0),//um 90° drehen
        10,
        10000.0,
        "USS Patriarch"
    },
    {
        40.0,
        0.04,
        0.1,
        {18.0,18.0,116.0,114.0},
        {-2472.1042,1549.3270,33.2273,80.0,50.0,42.0},
        (-90.0),
        14,
        6000.0,
        "Cargonoob"
    },
    {
        30.0,
        0.1,
        0.09,
        {13.0,13.0,60.0,60.0},
        {-1377.6116,1490.0973,11.2031,65.0,25.0,20.0},
        90.0,
        7,
        5000.0,
        "Shitanic"
    },
    {
        50.0,
        0.15,
        0.09,
        {4.75,4.75,50.0,50.0},
        {-1878.6157,1455.9819,8.3681,105.0,10.0,8.0},
        180.0,
        1,
        3500.0,
        "USS Nixnutz"
    },
    {
        40.0,
        0.05,
        0.1,
        {5.0,21.0,75.0,155.0},
        {2838.1492,-2373.5569,31.0021,80.0,50.0,42.0},
        (-90.0),
        14,
        6000.0,
        "Miami Shice"//Das Schiffe ist echt scheisse
    },
    {
        30.0,
        0.08,
        0.08,
        {20.0,20.0,115.0,115.0},
        {-1588.8120,38.7244,17.3281,80.0,50.0,42.0},
        (-90.0),
        3,
        6000.0,
        "Export 7777"
    }
};
How does that work?

And how does this work:
pawn Код:
new Float:ShipModelObjectPositions[MAX_SHIP_MODELS][MAX_SHIP_OBJECTS][6]=// x y z rx ry rz - Erste Objekt ist Hauptobjekt
{
    {
        {2001.14,1555.1,15.875,0.0,0.0,0.0},
        {2001.14,1555.1,15.875,0.0,0.0,0.0},
        {2000.59,1548.91,15.4375,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    },
    {
        {-1357.7,501.297,5.44531,0.0,0.0,0.0},//Muss um 90° gedreht werden...
        {-1356.35,501.117,17.2734,0.0,0.0,0.0},
        {-1354.47,493.75,38.6797,0.0,0.0,0.0},
        {-1354.42,493.75,38.6797,0.0,0.0,0.0},
        {-1363.77,496.094,11.9844,0.0,0.0,0.0},
        {-1366.69,501.852,12.2891,0.0,0.0,0.0},
        {-1420.58,501.297,4.25781,0.0,0.0,0.0},
        {-1418.41,501.297,5.07812,0.0,0.0,0.0},
        {-1366.69,501.297,12.8828,0.0,0.0,0.0},
        {-1363.77,496.094,11.9844,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    },
    {
        {-2409.84,1544.95,7.0,0.0,0.0,0.0},
        {-2485.08,1544.95,26.1953,0.0,0.0,0.0},
        {-2473.59,1543.77,29.0781,0.0,0.0,0.0},
        {-2411.39,1544.95,27.0781,0.0,0.0,0.0},
        {-2474.36,1547.24,24.75,0.0,0.0,0.0},
        {-2474.62,1545.09,33.0625,0.0,0.0,0.0},
        {-2470.45,1551.12,33.1406,0.0,0.0,0.0},
        {-2470.27,1544.96,33.8672,0.0,0.0,0.0},
        {-2470.94,1550.75,32.9062,0.0,0.0,0.0},
        {-2412.12,1544.95,17.0469,0.0,0.0,0.0},
        {-2475.13,1559.07,31.3125,0.0,0.0,0.0},
        {-2403.51,1544.95,8.71875,0.0,0.0,0.0},
        {-2401.14,1544.94,23.5938,0.0,0.0,0.0},
        {-2404.21,1544.94,7.58594,0.0,0.0,0.0}
    },
    {
        {-1421.62,1490.86,6.96875,0.0,0.0,0.0},
        {-1406.91,1489.8,7.125,0.0,0.0,0.0},
        {-1421.88,1489.45,5.82031,0.0,0.0,0.0},
        {-1376.75,1490.63,12.0234,0.0,0.0,0.0},
        {-1377.23,1491.62,6.21094,0.0,0.0,0.0},
        {-1422.54,1489.35,8.45312,0.0,0.0,0.0},
        {-1411.98,1489.72,5.78906,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    },
    {

        {-1899.16,1476.79,5.74219,0.0,0.0,315.0},//Winkel im Uhrzeigersinn laut Map Editor...
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    },
    {
        {2829.95,-2479.57,5.26562,0.0,0.0,90.0},
        {2829.95,-2479.57,5.26562,0.0,0.0,90.0},
        {2838.03,-2371.95,7.29688,0.0,0.0,90.0},
        {2838.04,-2423.88,10.9609,0.0,0.0,90.0},
        {2838.2,-2488.66,29.3125,0.0,0.0,-90.0},
        {2838.2,-2407.14,29.3125,0.0,0.0,90.0},
        {2838.04,-2532.77,17.0234,0.0,0.0,90.0},
        {2838.14,-2447.84,15.75,0.0,0.0,90.0},
        {2838.03,-2520.19,18.4141,0.0,0.0,0.0},
        {2838.02,-2358.48,21.3125,0.0,0.0,90.0},
        {2837.77,-2334.48,11.9922,0.0,0.0,180.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    },
    {
        {-1550.83,75.9297,7.0,0.0,0.0,315.0},//Winkel im Uhrzeigersinn laut Map Editor...
        {-1604.04,22.7266,35.5703,0.0,0.0,315.0},
        {-1552.44,74.3203,17.0469,0.0,0.0,315.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0},
        {0.0,0.0,0.0,0.0,0.0,0.0}
    }
};
Reply
#10

Glad to help you, if you still need help then tell me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)