[FilterScript] Submarine (Torpedo's, Lifeboat's ...)
#1

Introduction & Features
So, when I saw the "superman" script, I thought of creating an rather, unique submarine script.
Ofcourse there are other Submarine scripts, but those ones just have an object around a boat.


But in this one.. You can control the submarine, shoot torpedo's and deploy lifeboat's, if something happens to your submarine!
The code was fully made by me, but Virtual1ty helped me fix some bugs and optimize the script! It's stable enough for you to have fun.

Full feature list;
Up to 20 submarines(not tested), fully working torpedo's (4 per submarine), fully operational(movement, steering ...), deployable and "reloadable" lifeboats.
VERSION 1.7: Added a HUD to display about the Submarine's status!
VERSION 2.0.0(FINAL): Submarine is now DESTROYABLE!

Bugs/Downsides
All known bugs are FIXED!

To be added/fixed list
NONE, LAST VERSION RELEASED!

Changelog
Код:
2014, 23rd August. Version 2.0.0 - Final release
- The submarine now can be destroyed(when shooting at it!)
- Fixed some minor bugs in OnPlayerWeaponShot
- Damage dealt shower is now as accurate as it can get :p
Код:
2014, 18th August. Version 1.8.1
- Changed the way the HUD timer works
- Fixed minor HUD/TextDraw bugs
- HUD only updates in the Timer 
- Added "Direction" ( shows in which direction the sub is going )
Код:
2014, 18th August. Version 1.8
- Minor bug fixes with the HUD, such as:
 * Accidently used "TextDrawDestroy" instead of "TextDrawHideForPlayer", when the player exits/enters the submarine
- Fixed some bugs with the HUD timer, such as: ( not fully tested :l )
 * All players being teleported to the newest submarine, HUD giving false information ...
- Increased range check for the Torpedo's explosion
Код:
2014, 17th August. Version 1.7
- Added a HUD, to 'indicate'/display information about the submarine, such as:
 * Remaining Torpedo's
 * Has Lifeboat or not
 * Armour
 * Altitude
 * Speed(knots) - Not so accurate :p
- Did some other minor changes to the code..
Код:
2014, 16th August. Version 1.6
- Decreased forward speed
- Fixed a bug where the (next(2nd, 3rd and 4th)) torpedo would start It's "route" from the explosion/stop part.
- Fixed a bug with Max Height and Max Depth incorrectly showing( FULLY FIXED NOW! )
- Fixed a bug where If the filterscript was reloaded, It would spawn you in Blueberry 
- You can't load more than 1 torpedo now(to avoid some bugs)
Код:
2014, 15th August. Version 1.5
- Official release
- Fixed a bug with a false "Max Height Reached" (possibly, not tested yet)
- Fixed a bug with the Lifeboat not being "loaded back"( due to getting Players position, instead of submarines )
- Fixed a bug where "gPlayerState" wasn't correctly set, and caused you not being able to enter the submarine
- Fixed a bug where the Torpedo's wouldn't be shooting at the correct positions, nor the object creating (not tested yet)
- Decreased speed when going backwards
- Improved the Max Depth and Max Height detector
Video
[ame]http://www.youtube.com/watch?v=PKsr-IkxK0w[/ame]
1080p available!


Download links
Version 2.0.0
https://www.mediafire.com/?k8378p38jbxl51x


Version 1.8.1
https://www.mediafire.com/?23ss22h6bb7q5kv
Version 1.8
https://www.mediafire.com/?qnx1jzndd03m1ex
Verison 1.7
https://www.mediafire.com/?lg85bhfsjpkxtvk
Version 1.6
https://www.mediafire.com/?nxa9bg4w0m392yy

Version 1.5
http://pastebin.com/CcQxU6ti
https://www.mediafire.com/?5xeak9z0jlsy4gm
Any other information(such as the needed includes, plugins, how to install ...) can be found in the WinRar file.
Reply
#2

Interesting! Good job
Reply
#3

Unique, good job.
Reply
#4

Gonna give it a try
Reply
#5

Quote:
Originally Posted by Cannary2048
Посмотреть сообщение
Unique, good job.
Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Interesting! Good job
Thank you.
Quote:
Originally Posted by iNiko
Посмотреть сообщение
Gonna give it a try
I hope you will like it
Reply
#6

Nice job!
Reply
#7

Nice idea
But you should add like slowly ascending and descending the speed.
In the video your speed goes to top as soon as u press up arrow
and while moving forward as soon as you press down arrow the submarine immediately stops and start moving in opposite direction
Which looks very un-natural...
Reply
#8

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Nice idea
But you should add like slowly ascending and descending the speed.
In the video your speed goes to top as soon as u press up arrow
and while moving forward as soon as you press down arrow the submarine immediately stops and start moving in opposite direction
Which looks very un-natural...
It will look messy then( in the way I'm thinking to make it ), and I doubt that I would make it successfully.



Anyways, added Version 1.7.
Download link;
https://www.mediafire.com/?lg85bhfsjpkxtvk
Reply
#9

Very nice work indeed, thanks for adding my name to the credits: )

Just test the condition in "destroysubmarine" cmd as I didn't, should work I guess (the range check).
Reply
#10

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
Very nice work indeed, thanks for adding my name to the credits: )

Just test the condition in "destroysubmarine" cmd as I didn't, should work I guess (the range check).
No problem, you deserve it
Eh, I don't see any range check in there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)