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

CS Flags (dod like) - 1.194 [2013-11-09]


Post New Thread Reply   
 
Thread Tools Display Modes
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-09-2010 , 21:57   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #501

Thanks for clarifying that, vittu.

Quote:
Originally Posted by vittu View Post
I also hope Wickedclown is not writing cvars in his config files like this (either comment it out or place a value and comment out the comments):
amx_csflags_max_points – determines how many points must be taken so a team wins
amx_csflags_capturefrags - number of frags to be added to a player who captures a flag
amx_csflags_freeze [0|1] - defines if players should freeze when a match is won
Haha, I hadn't noticed that it would be possible.

Last edited by commonbullet; 06-09-2010 at 21:59.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Sinner_V1
New Member
Join Date: Jul 2010
Old 07-09-2010 , 17:24   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #502

Hi man,

CS Flags is a Great mod, especially with bf2...

I was just wondering how we can enable it to use to 2 flags, like MEC and US for terrorists and counter terrorists, it appears there's only one flag model in the code.

Any help would be great, thanks heaps.

~Sinner
Sinner_V1 is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 07-09-2010 , 22:48   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #503

The plugin actually uses 3 bodies for each flag state (neutral, ct, t) in one unique model (mdl) file.
I guess I could add an option, maybe in config files (I guess other than those ones used for setting up flags position), for setting a flag model per map. Do you think it would help?
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Sinner_V1
New Member
Join Date: Jul 2010
Old 07-10-2010 , 05:18   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #504

Yes, that may help out, is there anything we can do about it now?
Sinner_V1 is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 07-10-2010 , 22:09   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #505

Try the attached sma. In order to setup, do the following:
- Place all flags models into cstrike/models/csflags, as usual
- Add a maps.cfg file into this same directory (cstrike/models/csflags)

You must setup the maps.cfg like this:
Code:
de_aztec csflags_mec
de_dust csflags_us
In the example above, you should have inserted csflags_mec.mdl and csflags_us.mdl into the cstrike/models/csflags folder, so the first model would be used when de_aztec map is loaded, the second would be used in de_dust map. Note that the models in cfg file are written without the ".mdl" extension.

At last, you should keep the csflags.mdl file, so it can be used as the default model - it will be loaded when no flag is specified for the map in maps.cfg or the specified model could not be found.

Tell me how it works.
Attached Files
File Type: sma Get Plugin or Get Source (csflags.sma - 731 views - 70.6 KB)

Last edited by commonbullet; 07-10-2010 at 22:12.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Lenfitz
Senior Member
Join Date: Jan 2007
Old 07-11-2010 , 05:49   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #506

Howdy commonbullet. I'll be doing this for Sinner V1 on his server. What Sinner wants is when a ct owns the flag it becomes a US flag, When it becomes owned by a T it becomes a MEC flag. He wishes this to happen on the same map much the same way it changes from one flag to another depending on who has aquired the flag. The map itself is irrelevant.

Probably what is needed is either a flag model that changes from neutral to MEC to US on the same map or the code changed so it selects one of the 3 flags depending on whether its neutral, T or CT owned.

Ok update. We managed to edit the csflags.mdl file to get it to show custom CT & T flags.

Thank you very much Commonbullet for your effort.

Cheers

Last edited by Lenfitz; 07-11-2010 at 09:35. Reason: We managed to edit the csflags.mdl file to get it to show custom flags.
Lenfitz is offline
Sinner_V1
New Member
Join Date: Jul 2010
Old 07-11-2010 , 18:14   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #507

Thanks commonbullet, as Lenfitz said we managed to put the flags in.

Thanks for your quick responses and assisting help.

I'd also like to publicly thank Lenfitz, cheers heaps!
Sinner_V1 is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 07-12-2010 , 16:28   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #508

wonder if the fix has already been done, when the team manages to capture the flags
occur by the end of round "end_round"

L 03/02/2010 - 16:57:23: World triggered "Round_End"
the last time I tried it still did not exist

and if the mod captured the flag is generating logs. txt?
possible to generate stats for players and rank.


translated text to English by google.
__________________

Last edited by rx1983; 07-12-2010 at 16:29. Reason: translate
rx1983 is offline
Send a message via MSN to rx1983
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 09-02-2010 , 09:17   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #509

great work !
platzpatrone is offline
krededk99
Senior Member
Join Date: Nov 2007
Old 09-03-2010 , 14:26   Re: CS Flags (dod like) - 1.193 [2009-07-09]
Reply With Quote #510

Love the plugin, works like a charm.

However, when your're capturing the flag, and the timer is going, when an enemy gets near you, the timer resets.

1: Would it be possible for the timer to keep going, no matter if an enemy is standing near you? So it doesnt reset all the time

2: Would it be possible to add a CVAR for x numbers of players before the plugin activate?

Last edited by krededk99; 09-04-2010 at 06:47.
krededk99 is offline
Reply



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 18:06.


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