Raised This Month: $ Target: $400
 0% 

Middle map fireworks.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 12-27-2015 , 15:19   Middle map fireworks.
Reply With Quote #1

Hey, i saw fireworks plugin but it's complicated
I just want to call function for example : set_fireworks() and this function sets and launches fireworks in the middle of the map so that both cts and ts could see fireworks from their spawn places.

Is it possible? And who can give me concrete code? Because i don't understand advanced scripting.

Last edited by siriusmd99; 12-27-2015 at 15:28.
siriusmd99 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-08-2016 , 17:56   Re: Middle map fireworks.
Reply With Quote #2

Does anyone know how to do this?
siriusmd99 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-08-2016 , 18:12   Re: Middle map fireworks.
Reply With Quote #3

You just have to save their spawn points, as the CSDM do, then spawn them when your call you function. Look at the Gun Game Mod code, it uses spawn points.

But a better code to look is, the Just Capture The Flag Mod, where you can learn how to create spawn points and save them. Its because, there you can configure where to spawn the flags and save their location using commands to move the flag to you location and save that location to the file.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 01-08-2016 at 18:20. Reason: spelling fix
addons_zz is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-09-2016 , 08:31   Re: Middle map fireworks.
Reply With Quote #4

Quote:
Originally Posted by siriusmd99 View Post
Ok, then manually. I just play on 3 maps. How can i get?
Quote:
Originally Posted by addons_zz View Post
You just have to save their spawn points, as the CSDM do, then spawn them when your call you function. Look at the Gun Game Mod code, it uses spawn points.

But a better code to look is, the Just Capture The Flag Mod, where you can learn how to create spawn points and save them. Its because, there you can configure where to spawn the flags and save their location using commands to move the flag to you location and save that location to the file.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 01-09-2016 at 08:32.
addons_zz is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-09-2016 , 07:39   Re: Middle map fireworks.
Reply With Quote #5

Ohh..
How to get coordinates manually to set fireworks?

For example i use noclip go on certain part of the map and write get_coord and a function from amxx gets coordination from my possition.

But it will be better if i could make amxx get middle map coordinates automaticaly.
siriusmd99 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-09-2016 , 07:51   Re: Middle map fireworks.
Reply With Quote #6

Quote:
Originally Posted by siriusmd99 View Post
Ohh..
But it will be better if i could make amxx get middle map coordinates automaticaly.
Automaticaly? The only way I know to do this automatically is to create an AI (Artificial Intelligence), which knows what is that "middle map coordinates" you wants it to get.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-09-2016 , 08:09   Re: Middle map fireworks.
Reply With Quote #7

Quote:
Originally Posted by addons_zz View Post
Automaticaly? The only way I know to do this automatically is to create an AI (Artificial Intelligence), which knows what is that "middle map coordinates" you wants it to get.
Ok, then manually. I just play on 3 maps. How can i get?
siriusmd99 is offline
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

Forum Jump


All times are GMT -4. The time now is 17:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode