SA-MP Forums Archive
[FilterScript] Ship & Dock (with movable ship) - 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)
+--- Thread: [FilterScript] Ship & Dock (with movable ship) (/showthread.php?tid=231470)

Pages: 1 2


Ship & Dock (with movable ship) - Kwarde - 25.02.2011

Hi there!
I've made a dock and a ship in Los Santos. You can move the ship with some commands (not really good yet: Watch the video).
I'd just made it for fun. You can let the ship (un)sink. A bit a titanic idea :P

Commands
/shiphelp
/gotoship
/moveship
/moveshipback
/sinkship
/unsinkship
/moveshipex
/moveshipbackex
/sinkshipex
/unsinkshipex
/resetship

Installation
Make a file in your SAMP/filterscripts (with .pwn extension). Put the content from the pastebin in that file and hit F5 to compile it to the .amx
You can change two things (that are noob-friendly): The
pawn Code:
#define USE_STREAMER    false
#define RCON_ONLY       true
Use incognito's streamer: USE_STREAMER must be 'true'. For the standard CreateObject, leave it to 'false'
To make all the commands (except /shiphelp and /gotoship) for RCON admins only: Leave the RCON_ONLY on 'true'. Otherwise change it to 'false'.
Incognito's streamer avaible in the "Download" part

Download
The script (source only [pwn]): http://kwarde.pastebin.com/upPQzJCX
The script (source + executable [pwn+amx]): http://rpdsamp.nl/get/gta/sa/mp/serv...hipAndDock.zip
Incognito's streamer: https://sampforum.blast.hk/showthread.php?tid=102865

Preview
[ame]http://www.youtube.com/watch?v=P0rwFIj_lhg[/ame]

NOTE: Quality'll be better later
BIG FAIL: 5:40

Music in the video:
Removed by *******

Regards,
Kevin


PS: The best titanic (sinking ship) mod I've ever seen XD: https://sampforum.blast.hk/showthread.php?tid=204662



Re: Ship & Dock (with movable ship) - justsomeguy - 25.02.2011

haha kwarde you did it again!


Re: Ship & Dock (with movable ship) - Mean - 25.02.2011

Nice. Cool. Epic.


Re: Ship & Dock (with movable ship) - Kwarde - 25.02.2011

Ej you guys didn't see it yet.
There is one stupid moment :P - Some little fails that doesn't really care (for me) but one BIG fail. You'll see it when video uploading is done.


Re: Ship & Dock (with movable ship) - justsomeguy - 25.02.2011

sow it only goes forward and bakward?(nice enough!)


Re: Ship & Dock (with movable ship) - Typhome - 25.02.2011

Very nice! =D


Re: Ship & Dock (with movable ship) - khaqatar - 25.02.2011

Cool Thanks Man


Re: Ship & Dock (with movable ship) - Ironboy - 26.02.2011

wow nice work! i will use it


Re: Ship & Dock (with movable ship) - alanhutch - 26.02.2011

°з° EPIC.


Re: Ship & Dock (with movable ship) - TheArcher - 26.02.2011

Awesome, it's epic. Keep it up


Re : Ship & Dock (with movable ship) - Varkoll_ - 26.02.2011

Good work


Re: Ship & Dock (with movable ship) - sherlock - 26.02.2011

nice work


Re: Ship & Dock (with movable ship) - SergioBr - 26.02.2011

god fs


Re: Ship & Dock (with movable ship) - VT - 26.02.2011

but how you can fix it? object is not solid when it moves


Re: Ship & Dock (with movable ship) - Maftaca - 26.02.2011

shh... didn't i say it before? i need the pwn and amx or a tutorial for how to get amx filterscripts


Re: Ship & Dock (with movable ship) - Michael@Belgium - 26.02.2011

Looks nice


Re: Ship & Dock (with movable ship) - wizzi - 27.02.2011

really nice !


Re: Ship & Dock (with movable ship) - Kwarde - 27.02.2011

@VT: The objects are solid... You can walk on it, even when it's moving. The only problem is, is that it goes through land.
@Maftaca:
1. Download pawno and open it (www.sa-mp.com -> Downloads -> SAMP 0.3c Windows server) (pawno's located in 'pawno'. Extract the folder 'pawno' to your desktop (or all the maps for a whole server)).
2. Go to the pastebin, the download. Copy the code from pastebin to pawno
3. Hit CTRL+S and save the file
4. Press F5
5. In no time, you'll have the .amx and .pwn (the .pwn is the code, the .amx is the compiled code after the compiling with F5)

And to the others:
Thanks all ^^


Re: Ship & Dock (with movable ship) - Misha_Konsta - 27.02.2011

nice


Re: Ship & Dock (with movable ship) - BASITJALIL - 27.02.2011

Nice work but i have a suggestion
can you make a system to move boat
left and right?