Raised This Month: $12 Target: $400
 3% 

Create Flag on Map 3.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
quLeryuzz
Member
Join Date: May 2010
Location: Istanbul
Old 07-11-2019 , 05:44   Create Flag on Map 3.2
Reply With Quote #1

Create Flag on Map v3.2

Description
You can create flag on map with this plugin and you can save it to map.
I made a model for this plugin. Model has got 2 bodies; small flagpole and large flagpole. And model has got 3 skins.

Command
amx_flagmenu - Flag settings menu "ADMIN_RCON"

How to add more flags
You can add maximum 30 flags with ini file.
Code:
//"ModelFile" "Skin1Name" "Skin2Name" "Skin3Name"
"models/YourTeamFlag.mdl" "CT" "TE" "CTandTE"
"models/TRFlag.mdl" "Turkiye" "Ataturkiye" "Ataturk"
"models/RUFlag.mdl" "Russia"
"models/DEFlag.mdl"

Pictures




Video


Change Log
HTML Code:
2.0 (12 July 2019); 
-Has added ini file
-Has changed from reapi to fakemeta
-Has added support AmxModx 1.8.1 and 1.8.2 too.

2.1 (15 July 2019); 
- Fixed ";" problem.

3.0 (18 July 2019); 
- You can change animation
- You can select flag on map.
- You can turn the flag.
- Has added multilingual support for menu

3.2 (19 July 2019); 
-Has added support every Half-Life mods.

- (26 July 2019)
Had added this flags to models folder.
SERBIA - XS.mdl
BOSNIA  & HERZEGOVINA - BA.mdl
MACEDONIA - MKFlag.mdl
MONTENEGRO - MEFlag.mdl
.
Attached Files
File Type: sma Get Plugin or Get Source (FlagsOnMap.sma - 722 views - 11.3 KB)
File Type: zip CreateFlagOnMap.zip (614.2 KB, 358 views)
__________________

csduragi.com

Last edited by quLeryuzz; 07-26-2019 at 11:51. Reason: New Flags
quLeryuzz is offline
DON KHAN 1
Senior Member
Join Date: Mar 2019
Location: Pakistan
Old 07-11-2019 , 09:56   Re: Create Flag on Map [ReAPI]
Reply With Quote #2

Nice Plugin Like It

But Can You Add More Flags Like Pakistan?

Thank You
__________________
Facebook
My YouTube
Ro{Y}aL WarLanD CommuniTy
Selling Zombie CSO 4.3 Money System Mod
DON KHAN 1 is offline
mousesports
Senior Member
Join Date: Oct 2010
Old 07-11-2019 , 10:03   Re: Create Flag on Map [ReAPI]
Reply With Quote #3

Romania flag please?
Thank you !
mousesports is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 07-11-2019 , 10:13   Re: Create Flag on Map [ReAPI]
Reply With Quote #4

Looks funny but for sure, you should add more Flags, the important countries like Germany, Romania, Russia, Serbia, France etc.
Godofwar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-11-2019 , 14:04   Re: Create Flag on Map [ReAPI]
Reply With Quote #5

Quote:
Originally Posted by Godofwar View Post
Looks funny but for sure, you should add more Flags, the important countries like Germany, Romania, Russia, Serbia, France etc.
Why is one country more important than another one?

I think you should attach the .bmp file for the model here and let others create their own countries' flags, just like they would translate a lang file.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
thEsp
BANNED
Join Date: Aug 2017
Old 07-11-2019 , 14:50   Re: Create Flag on Map [ReAPI]
Reply With Quote #6

Needs a lot of improvements, custom flags is the most needed as others said.
I have an "experimental" idea, if you get too close flag a message may be displayed to you. For example mixing this ability with U.S flag "You entered big dog's yard!". All from a configuration file obviously.

p.s What's this, lol?

Last edited by thEsp; 07-11-2019 at 15:02.
thEsp is offline
quLeryuzz
Member
Join Date: May 2010
Location: Istanbul
Old 07-11-2019 , 14:58   Re: Create Flag on Map [ReAPI]
Reply With Quote #7

Guys, you can change model, I published sma file.
If you open sma file, there are some lines;
Code:
#define FLAGMODEL "models/TurkBayragi.mdl"
#define SKIN1NAME "Turk Bayragi"
#define SKIN2NAME "Ataturkiye"
#define SKIN3NAME "Ataturk"
You just will open model file with paranoia 2 model viewer or Jed's Half Life model viewer. You will come to "textures" and u will change skins. After, you will change model's name in sma file. And you will compile.
If you say "I can't", just send me what do you want country's flag picture.

And I will update this plugin in a very short time. You will change country flag with cfg file.


Added:
And I didn't just for country flag. If a person wants own team flag, who can change with model and sma.

Added2:
@thEsp
If you are saying about blackening on model, it's happened with extend model. I don't know very doing model. I couldn't correct.
__________________

csduragi.com

Last edited by quLeryuzz; 07-11-2019 at 15:12. Reason: Added2
quLeryuzz is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-11-2019 , 17:56   Re: Create Flag on Map [ReAPI]
Reply With Quote #8

There is no point in using reapi as a fakemeta replacement because you are just restricting the availability of your plugin for no gain.
To elaborate, if you used fakemeta, both hlds and rehlds/regamedll owners would be able to use your plugin. Right now only people than run rehlds/regamedll can use the plugin.

It's okay to use reapi if the way without reapi would be complicated(like needing orpheu), but in this case you can simply use fakemeta's set_pev native and make the plugin available to everyone.

(to be clear, this is required for approval)
__________________
HamletEagle is offline
quLeryuzz
Member
Join Date: May 2010
Location: Istanbul
Old 07-12-2019 , 12:13   Re: Create Flag on Map 2.0
Reply With Quote #9

HTML Code:
2.0 (12 July 2019); 
-Has added ini file
-Has changed from reapi to fakemeta
-Has added support AmxModx 1.8.1 and 1.8.2 too.
__________________

csduragi.com

Last edited by quLeryuzz; 07-12-2019 at 13:31.
quLeryuzz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-12-2019 , 13:14   Re: Create Flag on Map 2.0
Reply With Quote #10

Quote:
-Has supported AmxModx 1.8.1
I hope you mean 1.8.2., because 1.8.1 is an old and unsupported version for 5+ years.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 05:56.


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