SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 02/01/2014, 09:50 AM   #11
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,707
Reputation: 1176
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Quote:
Originally Posted by iBeast View Post
This is effin' awesome. Though, I have my own scripted S-A-M system but this is very nice. Keep up the good job! +Rep for you man !
Thanks! :- )

v1.2 update!
I've added following missiles system. It works fine when I've tested, but I'd like to know it from others too in case if they're testing. Also, each SAM's missile radar icon's color can be now set.

Further information in regarding the include and update can be found on the main topic, please refer it. :- )
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 02/01/2014, 01:31 PM   #12
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,707
Reputation: 1176
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

I've included a video, thanks to GamingJoker for creating the whole video. There's two main scenes, first on a base which belongs to the gang RD. So if a non RD member gets in, the missiles will be fired. And on the second main scene, the missiles are fired only to restricted vehicles in case if it's occupied by a driver. <The video was taken with the 1st version of the include, so there's no following missiles included in it. However, I'll post a video of following missiles soon enough.>

Once again, I'd like to remind you all to use #define FILTERSCRIPT in case if it's a filterscript. I spent many hours in knowing what mistake I've done, but then realized that I forgot to keep that define on my filterscript while using my own include. -_-

There was a small mistake on the Pastebin code I've given, the links are updated too!
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 02/01/2014, 02:27 PM   #13
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,856
Reputation: 1292
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

The indentation off of pastebin is all fucked up you should know actually just checked and also fucked up on solidfiles as well whats up with that Lordz? It's a pain in the ass to try and read this code.

Another couple of things, why bother using this LordzSAMTimer() if using the streamer ? Dynamic areas make a lot more sense.

You create dynamic objects but don't use the MoveDynamicObject() function I would recommend removing dynamic objects completely since you use an acceleration type of function when moving the object the streamer is too slow to keep up with frames.
Pottus is offline   Reply With Quote
Old 02/01/2014, 02:47 PM   #14
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,707
Reputation: 1176
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Quote:
Originally Posted by [uL]Pottus View Post
The indentation off of pastebin is all fucked up you should know actually just checked and also fucked up on solidfiles as well whats up with that Lordz? It's a pain in the ass to try and read this code.

Another couple of things, why bother using this LordzSAMTimer() if using the streamer ? Dynamic areas make a lot more sense.

You create dynamic objects but don't use the MoveDynamicObject() function I would recommend removing dynamic objects completely since you use an acceleration type of function when moving the object the streamer is too slow to keep up with frames.
1) About Indentation : Hah, I always got that problem while coding. I've been used to my own style, I'll do it in an Allman style with good indentation when I'm free.

2) About the timer : I've kept a define called USE_STREAMER. If it's defined, it'll use Dynamic object just for the S-A-M launcher. Thanks for reminding me about the DynamicAreas, when I'm updating the code, I'll add the dynamic area code if required.

3) Missiles are the only ones which are moving in this code and nope, I haven't used DynamicObjects on those missiles.
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 02/01/2014, 03:02 PM   #15
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,856
Reputation: 1292
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Ahh I see that makes sense I probably overlooked it and thought it was the actual missile instead of the S-A-M launcher
Pottus is offline   Reply With Quote
Old 03/01/2014, 05:15 AM   #16
Swedky
Banned
 
Join Date: Jun 2013
Location: Argentina.
Posts: 2,043
Reputation: 827
Default Respuesta: L_S-A-M : Lordz's Surface to Air Missile system!

I used his include to prove some things in my GM COD, did not see any mistake in the programming. (Though of all forms I will continue proving it to see if I find some failure).

Really brilliant Lordz, would kiss it if it was near me , but unfortunately it it is not.

Sorry my bad english and regards .
Swedky is offline   Reply With Quote
Old 03/01/2014, 05:48 AM   #17
GamingJoKeR
Little Clucker
 
GamingJoKeR's Avatar
 
Join Date: Jan 2014
Location: Earth,The Universe.
Posts: 9
Reputation: 9
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Great job,Lordz!
Well done bro,I like this system alot..

Last edited by GamingJoKeR; 03/01/2014 at 12:26 PM. Reason: Removing ( Mistake )
GamingJoKeR is offline   Reply With Quote
Old 03/01/2014, 08:55 AM   #18
Sojo12
Banned
 
Join Date: Jul 2013
Location: Search and you'll find it...
Posts: 444
Reputation: 43
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Nice Work Lordz!
Btw Joka you can't +rep :\
+rep is for big cluckers
Sojo12 is offline   Reply With Quote
Old 03/01/2014, 11:32 AM   #19
HeLLeR
Little Clucker
 
HeLLeR's Avatar
 
Join Date: Jan 2014
Location: Romania
Posts: 19
Reputation: 8
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Good job buddy, but I knew this was good even before you started working at it :P
Good luck with further releases, Lordz
HeLLeR is offline   Reply With Quote
Old 03/01/2014, 04:44 PM   #20
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,707
Reputation: 1176
Default Re: L_S-A-M : Lordz's Surface to Air Missile system!

Thanks everyone! :- )
@Pottus, Ah yeah, it do happen.
@EnzoMetlc, well in case if you find any troubles from the include, please let me know about it.
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] SA:MP Surface-to-Air-Missile - SAM v0.4 pagie1111 Includes 151 28/06/2014 07:29 PM
Lordz Leaving :( LeGGGeNNdA Everything and Nothing 36 29/11/2012 05:18 PM
[FilterScript] Easy Weapon By [xB]Lordz Lordzy Filterscripts 33 13/11/2012 02:17 PM
Missile system farris Help Archive 0 04/10/2010 01:52 AM


All times are GMT. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.