SA-MP Forums Archive
[FilterScript] [MV]_SinkingShips - Awesome ships that can sink ! [REALISTIC !] - 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] [MV]_SinkingShips - Awesome ships that can sink ! [REALISTIC !] (/showthread.php?tid=227091)

Pages: 1 2


[MV]_SinkingShips - Awesome ships that can sink ! [REALISTIC !] - Michael@Belgium - 16.02.2011



[MV]_SinkingShips
Current version: 3.0
In Development: -
Development : -
Код:
- See next quotes (if there are)
Features: Information:
Hi everyone ! This is my first FilterScript. Great for (T)DM and RP servers !
In this filterscript there are 2 ships that can sink ... ofcourse.

Commands:
==> New commands !

/shipcmds - Show all the command for the ship

Reset ships: (added in 2.1)
/resetship1 - This cmd can you always use after /godown1, /titanic1 and /move1. It resets the ship
/resetship2 - Also like above ^
/resetship3 - Also like above ^ (added in 3.0)

Go to the ship:
/gotoship1 - Go to the smallest ship
/gotoship2 - Go to the biggest ship
/gotoship3 - Go to the third ship (added in 3.0)

Sink cmds (method 1):
/godown1 - Sink ship 1 normal to the bottum (same in V1.1 / V1.0 but other cmd)
/goup1 - Set ship 1 normal on the water (in V1.1 / V1.0 : /unsinkship1 -> cmd changed)

/godown2 - Sink ship 2 normal to the bottum
/goup 2 - Set Ship 2 normal on the water

/godown3 - Sink ship 3 realistic. (added in 3.0)

Sink cmds (method 2) (added in 2.0)
/titanic1 - Sink ship 1 like the titanic
/untitanic1 - Set ship 1 normal on water
/titanic2 - Sink ship 2 like titanic
/untitanic2 - Set ship 2 normal on water

Sink cmds (method 3) (added in 2.1)
/move1 - Move the ship forward untill it hit a searock, and sinks.
/move2 - Same like above ^

pawn Код:
#define Sinkingspeed 0.1 //Define the sinking speed (default: 0.1)
Bugs:
- Sort of 'glitch': when you sink a ship (whatever what method) AND there are other ppl on the ship you'll see them moving/under the ship/flying/... LOL ! :S

Changelog:
Код:
V3.0
- Added a third ship
- Added cmds about the third ship.

V2.1
- Ship 1 is now floating on the sea and not in the air
- New sinking method /move <1/2>
- Added a few rocks (objects)
- 2 new cmds: /resetship1 /resetship2

V2.0
- only RCON admin can sink those ships
- unnessecary objects deleted from ship 1
- new include
- CMDs edited and added + weather change
- OnFilterScriptExit() added (yes it's important)

V1.1:
- ZCMD used
- sinkingspeed defined (easy to edit)

V1.0: First Release
Video's/pics:
In the video (of V1.0) the sinking speed is changed to 1 so x10. In the .pwn it is 0.1

V1.0:
[ame]http://www.youtube.com/watch?v=2gxsmbZJKqU[/ame]

V2.0:
[ame]http://www.youtube.com/watch?v=Df3-HPWrPNo[/ame]

V2.1:


V3.0
[ame]http://www.youtube.com/watch?v=V2VAP_xT1Ls[/ame]

Note's
pawn Код:
/*
  ___ __  ____      _____       _____ _       _    _              _____ _     _
 |  _|  \/  \ \    / /_  |     / ____(_)     | |  (_)            / ____| |   (_)
 | | | \  / |\ \  / /  | |    | (___  _ _ __ | | ___ _ __   __ _| (___ | |__  _ _ __
 | | | |\/| | \ \/ /   | |     \___ \| | '_ \| |/ / | '_ \ / _` |\___ \| '_ \| | '_ \
 | | | |  | |  \  /    | |     ____) | | | | |   <| | | | | (_| |____) | | | | | |_) |
 | |_|_|  |_|   \/    _| |    |_____/|_|_| |_|_|\_\_|_| |_|\__, |_____/|_| |_|_| .__/
 |___|               |___|______                            __/ |              | |
                         |______|                          |___/               |_|

Free to use on the following conditions:

    *Do not re-release edited versions without my permision
    *Do not and NEVER clame this as your own, not even an edit!
    *Say thanks on the sa-mp forums if you like ;)
    *A very thank you to Virtual1ty (http://forum.sa-mp.com/member.php?u=53564)
    (Did the most things with ship 3)

IMPORTANT:
When using 'oldversion' is 'true'. Then the ships sinks smoother,
there are some objects bugs when using it as 'false' (Due the 0.3d MoveObject-parameters)*/
Credits:
Код:
- ****** - sscanf
- zeex - zcmd 
- Virtual1ty - Making ship 3 (by converting this )
SUGGESTIONS WELCOME !!!

Download


Re: [MAP] 2 sinking ships ! - Tenshi - 16.02.2011

Not trying to be a dick,
But you cannot just releases .amx (just compiled) version of the file.
You must both Release .pwn and the .amx is optional
Who knows what things you added- Who knows what you're hiding behind this code

And why share something with the community if all you're going to do is NOT share with the community.

I hope this just gives you a bit of shame, not trying to stomp on your post.

*plus there used to be a rule about YOU MUST RELEASE .PWN WITH YOUR .AMX'S
But that was in the old SMF Forum header


Re: [MAP] 2 sinking ships ! - Fre$hKidd - 16.02.2011

Simple and Very Nice

KEEP IT UP "CHEER"


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 17.02.2011

Quote:
Originally Posted by Tenshi
Посмотреть сообщение
Not trying to be a dick,
But you cannot just releases .amx (just compiled) version of the file.
You must both Release .pwn and the .amx is optional
Who knows what things you added- Who knows what you're hiding behind this code

And why share something with the community if all you're going to do is NOT share with the community.

I hope this just gives you a bit of shame, not trying to stomp on your post.

*plus there used to be a rule about YOU MUST RELEASE .PWN WITH YOUR .AMX'S
But that was in the old SMF Forum header
Ok, tonight im going to upload the .pwn file .................Now i can't because im at school xD


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 17.02.2011

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
Ok, tonight im going to upload the .pwn file .................Now i can't because im at school xD
(New) .pawn and .amx file UPLOADED !


Re: [MAP] 2 sinking ships ! - justsomeguy - 17.02.2011

i like it but i dont like the way they sink(not a problem as its almost inpossible t do t realistic) but anyway nice!!!


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 17.02.2011

Quote:
Originally Posted by justsomeguy
Посмотреть сообщение
i like it but i dont like the way they sink(not a problem as its almost inpossible t do t realistic) but anyway nice!!!
Yeah :S first i've tried to let the ships falling over ... to overturn them :S (i don't know to say that in english xD (****** translate used ) ) but it's didn't work. So i've let them just drowning to the bottom of the ocean ...


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 19.02.2011

UPDATE TOPIC: UPLOADED THE VIDEO !!!!


Re: [MAP] 2 sinking ships ! - Nick_Oostrum - 11.05.2011

Mapping: 1 2 3 4 5
Scripting: 1 2 3 4 5
________________________+
6

About the mapping: There are some stupid things in it, while the rest is awesome..
About the scripting: Good!


Re: [MAP] 2 sinking ships ! - Millionaire - 12.05.2011

Nice work


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 12.05.2011

Quote:
Originally Posted by Nick_Oostrum
View Post
Mapping: 1 2 3 4 5
Scripting: 1 2 3 4 5
________________________+
6

About the mapping: There are some stupid things in it, while the rest is awesome..
About the scripting: Good!
About the mapping: Like what ?
About the scriping: thanks

Quote:
Originally Posted by park4bmx
View Post
hah awsome could use it for DM
Thanks I use it for my TDM server too

Quote:
Originally Posted by Millionaire
View Post
Nice work
Thanks


PS FOR ALL: Lol i didn't know i released this ... i have updates ! UPDATES COMING SOON !


Re: [MAP] 2 sinking ships ! - Phanto90 - 12.05.2011

By the way, the ship is floating in the air D: And i could not find any reason to put that "thin concrete object arount the ship.
Mapping: 5/10
Scripting: 6/10
You can improve it a lot


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 13.05.2011

Quote:
Originally Posted by Phanto90
View Post
By the way, the ship is floating in the air D: And i could not find any reason to put that "thin concrete object arount the ship.
Mapping: 5/10
Scripting: 6/10
You can improve it a lot
Yes i know as i said: i didn't know i released this xD Well i updated alot


Re: [MAP] 2 sinking ships ! - BRoDUck - 30.06.2011

awesome !


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 09.07.2011

Quote:
Originally Posted by BRoDUck
View Post
awesome !
Thanks


-> UPDATED !


Hmm, maybe suggestions ?!


Re: [MAP] 2 sinking ships ! - [GTA]AmericanGangster - 09.07.2011

:O you realeased it? :P nice!


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 09.07.2011

Quote:
Originally Posted by TAGproduction
View Post
:O you realeased it? :P nice!
Yeah a few months ago xD But i need suggestion, i want more ... x)


Re: [MAP] 2 sinking ships ! - [GTA]AmericanGangster - 09.07.2011

scripts:9/10
maps:9/10


suggestion

add a loop object into the 2 ships?


Re: [MAP] 2 sinking ships ! - Michael@Belgium - 09.07.2011

Quote:
Originally Posted by TAGproduction
View Post
scripts:9/10
maps:9/10


suggestion

add a loop object into the 2 ships?
WTF ? xD For what ?


Re: [MAP] 2 sinking ships ! - [GTA]AmericanGangster - 09.07.2011

add a loop!