AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Create Flag on Map 3.2 (https://forums.alliedmods.net/showthread.php?t=317401)

quLeryuzz 07-11-2019 05:44

Create Flag on Map 3.2
 
2 Attachment(s)
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
https://i.imgur.com/IlkPUml.png
https://i.imgur.com/nNbVe1y.jpg
https://i.imgur.com/OCLd6OO.png

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

.

DON KHAN 1 07-11-2019 09:56

Re: Create Flag on Map [ReAPI]
 
Nice Plugin Like It

But Can You Add More Flags Like Pakistan?

Thank You

mousesports 07-11-2019 10:03

Re: Create Flag on Map [ReAPI]
 
Romania flag please?
Thank you !

Godofwar 07-11-2019 10:13

Re: Create Flag on Map [ReAPI]
 
Looks funny but for sure, you should add more Flags, the important countries like Germany, Romania, Russia, Serbia, France etc.

OciXCrom 07-11-2019 14:04

Re: Create Flag on Map [ReAPI]
 
Quote:

Originally Posted by Godofwar (Post 2658762)
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.

thEsp 07-11-2019 14:50

Re: Create Flag on Map [ReAPI]
 
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?
https://i.imgur.com/PlSPXGH.png

quLeryuzz 07-11-2019 14:58

Re: Create Flag on Map [ReAPI]
 
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.

HamletEagle 07-11-2019 17:56

Re: Create Flag on Map [ReAPI]
 
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)

quLeryuzz 07-12-2019 12:13

Re: Create Flag on Map 2.0
 
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.


OciXCrom 07-12-2019 13:14

Re: Create Flag on Map 2.0
 
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.


All times are GMT -4. The time now is 06:30.

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