SA-MP Forums Archive
[Map] San andreas ships - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [Map] San andreas ships (/showthread.php?tid=287324)



San andreas ships - JernejL - 02.10.2011

For use with new 0.3D functionality, so you can animate ships going around.

pawn Code:
// San fierro ship (parked in harbour near AP)
CreateObject(10794, 1.22, -3.76, 0.00,   0.00, 0.00, 0.00);
CreateObject(10795, -1.01, -3.74, 10.04,   0.00, 0.00, 0.00);
CreateObject(10793, -74.04, -3.72, 29.40,   0.00, 0.00, 0.00);

// North san fierro ship (with a lot of cargo containers)
CreateObject(9584, -41.97, -2.50, 5.77,   0.00, 0.00, 0.00);
CreateObject(9586, 30.98, -2.50, -3.39,   0.00, 0.00, 0.00);
CreateObject(9585, 33.27, -2.50, -13.43,   0.00, 0.00, 0.00);
CreateObject(9590, 39.60, -2.50, -11.71,   0.00, 0.00, 0.00);
CreateObject(9698, -30.48, -3.68, 8.65,   0.00, 0.00, 0.00);
CreateObject(9819, -27.34, 3.67, 12.70,   0.00, 0.00, 0.00);
CreateObject(9818, -27.16, -2.49, 13.43,   0.00, 0.00, 0.00);
CreateObject(9820, -31.52, -2.36, 12.63,   0.00, 0.00, 0.00);
CreateObject(9822, -27.83, 3.30, 12.48,   0.00, 0.00, 0.00);
CreateObject(9761, 31.72, -2.50, 6.65,   0.00, 0.00, 0.00);
CreateObject(9587, 41.97, -2.51, 3.16,   0.00, 0.00, 0.00); // cargo containers
CreateObject(9588, 38.90, -2.51, -12.85,   0.00, 0.00, 0.00);   // cargo containers

// da nang north ship
CreateObject(10231, -20.98, 1.87, -0.45,   0.00, 0.00, 180.00);
CreateObject(10230, -21.98, 0.37, -1.94,   0.00, 0.00, 180.00);
CreateObject(10229, -21.74, 1.79, -3.09,   0.00, 0.00, 180.00);
CreateObject(10227, -66.93, 0.56, 3.12,   0.00, 0.00, 180.00);
CreateObject(10226, -66.38, -0.38, -2.70,   0.00, 0.00, 180.00);
CreateObject(10140, -36.71, 1.42, -1.78,   0.00, 0.00, 180.00);
CreateObject(10228, -22.83, 1.29, -3.13,   0.00, 0.00, 180.00);

// los santos big cargo ship
CreateObject(5154, 24.07, 11.60, 10.44,   0.00, 0.00, 0.00);
CreateObject(5155, -66.36, 11.42, 16.03,   0.00, 0.00, 0.00);
CreateObject(5167, -52.24, 11.23, 2.05,   0.00, 0.00, 0.00);
CreateObject(5156, -0.33, 11.27, 5.71,   0.00, 0.00, 0.00);
CreateObject(5160, 55.35, 3.17, 0.00,   0.00, 0.00, 0.00);
CreateObject(5166, 55.34, 3.18, 0.00,   0.00, 0.00, 0.00);
CreateObject(5157, 108.55, 11.27, 11.75,   0.00, 0.00, 0.00);
CreateObject(5158, -90.36, 11.19, 6.77,   0.00, 0.00, 90.00);
CreateObject(3724, -17.06, 11.43, 24.01,   0.00, 0.00, 0.00); // cargo - can be removed.
CreateObject(3724, 58.17, 11.39, 23.99,   0.00, 0.00, 0.00); // cargo - can be removed.

// Pirate ship
CreateObject(8493, 0.00, 0.00, 0.00,   0.00, 0.00, 270.00);
CreateObject(9159, 0.00, 0.00, 0.00,   0.00, 0.00, 270.00);
CreateObject(8981, -6.01, 0.38, -0.32,   0.00, 0.00, 270.00);

// submarine
CreateObject(9958, -2.26, 6.51, 2.08,   0.00, 0.00, 90.00);

// aircraft carrier
CreateObject(10770, 2.06, -2.56, 17.21,   0.00, 0.00, 0.00);
CreateObject(10771, -1.16, 4.99, -16.02,   0.00, 0.00, 0.00);
CreateObject(10772, 0.18, 4.81, -4.20,   0.00, 0.00, 0.00);
CreateObject(11145, -64.05, 4.99, -17.21,   0.00, 0.00, 0.00);
CreateObject(11146, -10.16, 5.54, -9.18,   0.00, 0.00, 0.00);
CreateObject(11147, -61.88, 4.99, -16.39,   0.00, 0.00, 0.00);
CreateObject(11148, -10.16, 4.99, -8.59,   0.00, 0.00, 0.00);
CreateObject(11149, -7.24, -0.21, -9.48,   0.00, 0.00, 0.00);
CreateObject(11150, 64.05, -5.54, -9.55,   0.00, 0.00, 0.00);
CreateObject(11237, 2.11, -2.56, 17.21,   0.00, 0.00, 0.00);
CreateObject(11334, 9.63, -3.51, -10.51,   0.00, 0.00, 180.00);
CreateObject(11374, -7.24, -0.21, -9.48,   0.00, 0.00, 0.00);
CreateObject(3800, 6.55, -0.48, -11.28,   0.00, 0.00, 0.00);
CreateObject(3884, 32.20, -2.50, -0.41,   0.00, 0.00, 0.00);
CreateObject(3884, -38.27, -2.91, -3.42,   0.00, 0.00, 0.00);
CreateObject(3885, 32.20, -2.50, -0.45,   0.00, 0.00, 0.00);
CreateObject(3885, -38.27, -2.91, -3.46,   0.00, 0.00, 0.00);
CreateObject(955, 6.41, -4.02, -10.88,   0.00, 0.00, 90.00);
CreateObject(956, 6.41, -2.45, -10.88,   0.00, 0.00, 90.00);
CreateObject(3114, -57.91, 20.15, -4.78,   0.00, 0.00, 0.00);
CreateObject(3115, -100.18, 4.98, -11.58,   0.00, 0.00, 0.00);
All ships are meant to be attached to a single object with 0 rotation, the ships are all modified to face EAST on the map & be placeable at 0,0,0 coordinates.


Re: San andreas ships - davve95 - 02.10.2011

Sounds cool Good job


Re: San andreas ships - BlackStones - 02.10.2011

nice but this is only for 0.3d?
edit: 0.3d is not released yet..


Re: San andreas ships - Double-O-Seven - 02.10.2011

I've already done such a thing 2 years ago.
See my signature.


Re: San andreas ships - Issam - 02.10.2011

Nice,only for 0.3D
Have some turtles,aka rep.


Re: San andreas ships - Hal - 02.10.2011

Quote:
Originally Posted by BlackStones
View Post
nice but this is only for 0.3d?
edit: 0.3d is not released yet..
0.3d is currently in a beta testing phase.


Re: San andreas ships - Prates - 02.10.2011

Nice =D


Re: San andreas ships - Flake. - 03.10.2011

haha thanks so good! nice work


Re: San andreas ships - OKStyle - 03.10.2011

Quote:
Originally Posted by BlackStones
View Post
nice but this is only for 0.3d?[/b]
No, it's just objects. If you want replace your ships for that ships, RemoveBuildingForPlayer from 0.3d & GO.


Re: San andreas ships - [RLG]Zepp - 03.10.2011

Works on 0.3c ?


Re: San andreas ships - Rachael - 27.10.2011

The createobjects in the first post will create the ships, but if you use the data for AttachObjectToObject, you can then move the ships around by moving the control object.