Stunt Tubes

Started by MEGAMIND, Oct 02, 2018, 10:20 AM

Previous topic - Next topic

MEGAMIND

Content Type: Object
Original Author: therainycat (SA-MP)
Source Link: https://dev.prineside.com/en/gtasa_samp_model_id/category/stunt-tubes/
Modifications:: Changed Textures/Converted To VCMP & Created XML Files
Modified By: Megamind
Authorized By Original Author?: (Couldn't get in touch with him!)
Content Screenshots




store/objects/objects.xml
[noae][noae]<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="12">
<model path="Tube50m90Bend1.dff" distance="300" />
<texture path="MatTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
<object id="13">
<model path="Tube100m2.dff" distance="300" />
<texture path="MatTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
<object id="14">
<model path="RB50mBend90Tube.dff" distance="300" />
<texture path="MickyTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
<object id="15">
<model path="RBFunnel.dff" distance="300" />
<texture path="MickyTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
<object id="16">
<model path="RT50mBend180Tube1.dff" distance="300" />
<texture path="MickyTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
<object id="17">
<model path="Tube50mGlassBulge1.dff" distance="300" />
<texture path="MatTextures.txd" />
<collision type="autogenerate" />
<flags value="0" />
</object>
</objectlist>
[/noae][/noae]

server/scripts/main.nut
[noae][noae]function onScriptLoad()
{
    dofile("scripts/tubes.nut");
}
[/noae][/noae]

server/scripts/tubes.nut
[noae][noae]//============================ Crazy tube ===================================
CreateObject(6013,1,Vector(-1736.63, -771.474, 18.868),255).RotateToEuler(Vector(0, 0, 0),1);
CreateObject(6013,1,Vector(-1736.7, -871.13, 21.2782),255).RotateToEuler(Vector(-0.00339236, -0.0498846, 8.46159e-05),1);
CreateObject(6013,1,Vector(-1736.62, -970.173, 28.7132),255).RotateToEuler(Vector(0.000867779, -0.0997809, 0.000120437),1);
CreateObject(6013,1,Vector(-1736.79, -1064.31, 52.5367),255).RotateToEuler(Vector(-0.0258391, -0.399074, 0.00522566),1);
CreateObject(6012,1,Vector(-1727.97, -1131.81, 72.1844),255).RotateToEuler(Vector(0.881488, 1.24671, 0.507345),1);
CreateObject(6012,1,Vector(-1692.31, -1156.65, 64.2484),255).RotateToEuler(Vector(-1.73378, -0.399427, 0.0750025),1);
CreateObject(6014,1,Vector(-1656.17, -1163.19, 90.8956),255).RotateToEuler(Vector(1.89521, -1.08779, 1.05909),1);
CreateObject(6013,1,Vector(-1622.74, -1099.13, 99.5885),255).RotateToEuler(Vector(0, 0, -0.4),1);
CreateObject(6016,1,Vector(-1586.55, -1040.94, 99.2485),255).RotateToEuler(Vector(2.62117, 0.975284, -1.44568),1);
CreateObject(6017,1,Vector(-1572.37, -1079.63, 104.805),255).RotateToEuler(Vector(0.00808995, 1.25003, 0.00621665),1);
CreateObject(6013,1,Vector(-1572.2, -1150.92, 127.314),255).RotateToEuler(Vector(0.00233752, -0.29999, -0.000353269),1);
CreateObject(6014,1,Vector(-1564.94, -1220.38, 147.552),255).RotateToEuler(Vector(0.288838, 1.21894, 0.641443),1);
CreateObject(6015,1,Vector(-1501.64, -1238.56, 132.177),255).RotateToEuler(Vector(0, 0, 0),1);
CreateObject(6014,1,Vector(-1493.2, -1239.17, 98.3727),255).RotateToEuler(Vector(-0.749423, -0.0249137, 0.00979856),1);
CreateObject(6013,1,Vector(-1421.34, -1238.71, 88.2757),255).RotateToEuler(Vector(0, 0, -1.55),1);
CreateObject(6017,1,Vector(-1347.46, -1236.9, 83.8218),255).RotateToEuler(Vector(-1.39895, 0.0337192, -0.0283715),1);
CreateObject(6016,1,Vector(-1309.85, -1236.09, 77.6991),255).RotateToEuler(Vector(2.44814, -0.00746748, -0.0352396),1);
CreateObject(6017,1,Vector(-1333.84, -1236.38, 55.9735),255).RotateToEuler(Vector(1.54996, 0.00658971, 0.00645413),1);
CreateObject(6017,1,Vector(-1382.77, -1234.78, 49.6675),255).RotateToEuler(Vector(-1.79273, -0.0585342, 0.128975),1);
CreateObject(6016,1,Vector(-1423.29, -1246.4, 45.9716),255).RotateToEuler(Vector(0.191935, -1.46532, -0.172786),1);
CreateObject(6013,1,Vector(-1365.21, -1277.91, 42.102),255).RotateToEuler(Vector(3.14159, 3.14159, -1.29159),1);
CreateObject(6013,1,Vector(-1268.86, -1302.35, 36.963),255).RotateToEuler(Vector(0.0132791, 0.0870008, 1.35013),1);
CreateObject(6017,1,Vector(-1197.15, -1310.46, 31.3525),255).RotateToEuler(Vector(1.58583, -0.0973558, -0.0901966),1);
CreateObject(6013,1,Vector(-1123.65, -1304.52, 23.1159),255).RotateToEuler(Vector(0.0820606, -0.0680322, -1.5002),1);
CreateObject(6014,1,Vector(-1056.47, -1300.32, 29.1329),255).RotateToEuler(Vector(-2.54095, -3.1267, -0.0538024),1);
CreateObject(6012,1,Vector(-1070.38, -1303.94, 63.5125),255).RotateToEuler(Vector(1.87052, -0.185655, -0.104672),1);
CreateObject(6017,1,Vector(-1115.05, -1310.08, 64.1291),255).RotateToEuler(Vector(-1.65225, 0.0811583, -0.0492312),1);
CreateObject(6013,1,Vector(-1188.56, -1318.05, 61.9588),255).RotateToEuler(Vector(0, 0, -1.45),1);
CreateObject(6013,1,Vector(-1287.15, -1322.51, 61.8223),255).RotateToEuler(Vector(3.14159, 3.14159, -1.5416),1);
CreateObject(6012,1,Vector(-1354.79, -1308.26, 62.1545),255).RotateToEuler(Vector(-0.217251, -1.36477, 0.733058),1);
CreateObject(6017,1,Vector(-1366, -1263.77, 64.6008),255).RotateToEuler(Vector(0.007288, -1.5499, -0.00854527),1);
CreateObject(6013,1,Vector(-1365.7, -1189.14, 65.0555),255).RotateToEuler(Vector(0, 0, 0),1);
CreateObject(6013,1,Vector(-1365.61, -1090.6, 72.4774),255).RotateToEuler(Vector(0.0133786, 0.149393, 0.00100122),1);
CreateObject(6012,1,Vector(-1352.69, -1019.91, 85.4313),255).RotateToEuler(Vector(0.226591, -1.27598, -0.511771),1);
CreateObject(310,1,Vector(-1363.73, -1041.58, 75.0483),255).RotateToEuler(Vector(-1.53366, 0.129359, -0.124654),1);
CreateObject(310,1,Vector(-1375.19, -1041.23, 84.6394),255).RotateToEuler(Vector(1.59822, 0.0111175, 0.161289),1);
CreateObject(310,1,Vector(-1370.71, -1040.69, 75.4237),255).RotateToEuler(Vector(-1.52034, -0.214482, -0.101798),1);
CreateObject(310,1,Vector(-1355.22, -1039.21, 76.5612),255).RotateToEuler(Vector(-1.57943, 0.143588, -0.144829),1);
CreateObject(310,1,Vector(-1357.77, -1039.42, 75.6242),255).RotateToEuler(Vector(-1.54592, 0.390481, -0.137614),1);
CreateObject(6016,1,Vector(-1324.41, -984.508, 86.4134),255).RotateToEuler(Vector(-3.06592, -1.51221, -0.230613),1);
CreateObject(6016,1,Vector(-1415.43, -992.753, 87.3116),255).RotateToEuler(Vector(0.00126956, 1.6, 0.00130744),1);
CreateObject(6015,1,Vector(-1372.86, -974.95, 66.3932),255).RotateToEuler(Vector(0, 0, 0),1);
CreateObject(6014,1,Vector(-1381.13, -974.176, 33.2354),255).RotateToEuler(Vector(-2.37784, 3.04972, 0.131483),1);
CreateObject(6013,1,Vector(-1450.49, -964.945, 27.9704),255).RotateToEuler(Vector(3.09031, 2.99096, -1.44109),1);
CreateObject(6013,1,Vector(-1548.92, -946.943, 33.0642),255).RotateToEuler(Vector(3.14159, 3.14159, -1.34159),1);
CreateObject(6015,1,Vector(-1588.1, -938.062, 32.7163),255).RotateToEuler(Vector(1.52896, 0.269308, 0.263501),1);
CreateObject(6015,1,Vector(-1611.25, -931.69, 33.1052),255).RotateToEuler(Vector(1.6688, -2.83994, -0.251683),1);
CreateObject(6014,1,Vector(-1622.67, -922.865, 33.5135),255).RotateToEuler(Vector(0.0214364, -1.56102, 0.673423),1);
CreateObject(6013,1,Vector(-1629.31, -848.649, 31.2349),255).RotateToEuler(Vector(-0.0042261, -0.0498208, 0.000105288),1);
CreateObject(6013,1,Vector(-1629.29, -748.946, 26.2102),255).RotateToEuler(Vector(0.00233275, -0.0499455, -5.82636e-05),1);
CreateObject(6012,1,Vector(-1380.12, -1021.14, 83.8079),255).RotateToEuler(Vector(2.66119, 1.17715, -0.54691),1);
CreateObject(310,1,Vector(-1370.76, -1039.42, 74.3962),255).RotateToEuler(Vector(-1.49415, 0.300391, -0.241268),1);
CreateObject(310,1,Vector(-1378.12, -1040.46, 73.7759),255).RotateToEuler(Vector(0, 0, 0),1);
CreateObject(310,1,Vector(-1399.74, -1008.04, 81.5586),255).RotateToEuler(Vector(0.350515, -1.06228, -0.0386513),1);
CreateObject(310,1,Vector(-1396.03, -1001.23, 78.7681),255).RotateToEuler(Vector(-1.55905, 1.48579, -0.035627),1);
CreateObject(310,1,Vector(-1396.53, -1004.48, 81.7681),255).RotateToEuler(Vector(-1.50521, -0.0530895, 0.0174186),1);
CreateObject(310,1,Vector(-1399.44, -1005.93, 82.8063),255).RotateToEuler(Vector(0.381509, -0.956245, -0.0411209),1);
CreateObject(310,1,Vector(-1396.32, -1006.2, 78.2348),255).RotateToEuler(Vector(0, 0, 1.55),1);
CreateObject(310,1,Vector(-1396.33, -1006.55, 77.3269),255).RotateToEuler(Vector(-1.86721, -0.993057, -0.766526),1);
CreateObject(310,1,Vector(-1399.48, -1010.91, 82.6097),255).RotateToEuler(Vector(-1.47616, 1.31438, 0.00190103),1);
[/noae][/noae]

Download:

Goto airport and enjoy, or even create your own stunt / funland..!

Video: Clicky

!

Client side creation of objects is better than creating from server side, better use XML

Discord: zeus#5155

MEGAMIND

Quote from: ! on Oct 02, 2018, 11:06 AMClient side creation of objects is better than creating from server side, better use XML
depends on people, i use both xml or serverside

Xmair

It doesn't depend on people, nor is one side better. Both have their separate features.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD