Raised This Month: $32 Target: $400
 8% 

Just Capture the Flag (CTF) v1.32c (26 jun 2012)


Post New Thread Reply   
 
Thread Tools Display Modes
satelitegames
Member
Join Date: Nov 2010
Old 12-21-2011 , 19:54   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #371

Hello Excuse my bad English, I wonder how do I get off at the same event two different types of sound, a time for the team to another TR CT

I would be changing the event: EVENT_TAKEN

say the Blue Team gets flag of the Red Team, Blue Team leaves for a sound, and at the same time another sound out but only for the red team


EX:

Red Team: BRGaMes! CS / CAPTUREFLAG_GOOD.wav
Blue Team: BRGaMes! CS / CAPTUREFLAG_BAD.wav



Thank you all
__________________




satelitegames is offline
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 12-22-2011 , 20:33   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #372

hm i don't understand you? anyone is having problem with sounds? because i don't it's all ok for me, i just wish to add cvars for the buymenu and for spawn protection time
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 12-23-2011 , 22:17   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #373

Hi again, I was busy this past few months :} now I'm gonna reply to what I can...



Quote:
Originally Posted by RTG View Post
please where can i find some translations? is there any translations topic? if it is not, it should be good to create it, i want to make my server multilingual, not only english or romanian or whatever (sry if my english is bad) thanks for answer
I didn't make a sepparate thread for languages since I accept them posted here aswell.
In the main thread there's the jctf.txt file which contains a few langs, I myself can do only EN and RO, other people should volunteer to do the rest if they want to, it's in the community's interest, not mine



Quote:
Originally Posted by SGT View Post
Is there a way to give players a Primary and a Secondary weapon while still disabling the /buy feature?
Not by default, if you have some scripting experience you could do it relatively easy tough
I'll see if I can add it to the possible future release.


Quote:
Originally Posted by RTG View Post
also i think it is possible to disable any of the weapons here, but you have to be careful, if you disable some entity in one place, you have to disable it everywhere you will find it, to prevent bugs (i think it should cause bugs if it is not disabled properly)
Code:
new const g_szWeaponEntity[][24] =
hope it helps
Those are just information for weapon entity names, changing anything could result in serious errors.
But I'll see if I can add restricting specific weapons to the possible future release.


Quote:
Originally Posted by nightstalker View Post
anyone got the "Get XP for flags" or the other addons plugin to work with ctf? It ask me for <superheromod> when I compile it..
I already wrote about it in the thread, it's a plugin that conencts superhero and jctf plugins, not made by me.



Quote:
Originally Posted by RTG View Post
Hunter-Digital please can you include to plugin, and add cvar for it, feature: automatically show buy menu after player spawn? thank you for reply
I'll add it to the possible future release.



Quote:
Originally Posted by satelitegames View Post
Hello Excuse my bad English, I wonder how do I get off at the same event two different types of sound, a time for the team to another TR CT

I would be changing the event: EVENT_TAKEN

say the Blue Team gets flag of the Red Team, Blue Team leaves for a sound, and at the same time another sound out but only for the red team


EX:

Red Team: BRGaMes! CS / CAPTUREFLAG_GOOD.wav
Blue Team: BRGaMes! CS / CAPTUREFLAG_BAD.wav



Thank you all
You want to make a sub-plugin for jctf to add some sounds ?
Download the example I posted, remove what you don't need and place your code in the sections that you do need.
If you can't get it to work, post the code.



Quote:
Originally Posted by RTG View Post
i just wish to add cvars for the buymenu and for spawn protection time
Those stuff are already there
Quote:
tf_protection (reset to 5) - players spawn protection time
Quote:
...you can find settings that I didn't made as CVars inside the source file (jctf.sma)....
Code:
// This hooks the buy system of the game and changes it, allowing everybody to buy all weapons.
// If set to false, it will disable all buy related stuff like: buy menu, spawn weaopns, special weapons, even C4!
// Disable this if you want to use another plugin that manages buy or doesn't use buy at all (like GunGame)
#define FEATURE_BUY		true
It's more efficient with source editing for buy menu and stuff, if you don't use it you'll save some resources... and I don't think anyone would need to toggle buy menu all day so a cvar won't be required.
__________________

Last edited by Hunter-Digital; 12-23-2011 at 22:46.
Hunter-Digital is offline
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 12-25-2011 , 20:17   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #374

ok thank you for replies, anyway, could you make a thread named "translations" or whatever.. and add a link into the main post? it could be empty, people will post there, that's not problem i think... you won't need to manage jctf.txt any more, people could do it on themselves with this thread (just post there, into that translations thread, which translations have been made, just for info) thx ;)
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 12-27-2011 , 00:55   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #375

Well, I did that already

http://forums.alliedmods.net/showthread.php?t=174697

Also, jctf.txt updated, added spanish.
__________________

Last edited by Hunter-Digital; 12-27-2011 at 01:00.
Hunter-Digital is offline
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 01-10-2012 , 14:58   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #376

i have a little problem, it still shows debug messages to me, can you help me?
Code:
[debug] 2 dropped team 2 flag
[debug] 11 dropped team 1 flag
[debug] 7 returned team 1 flag
[debug] 6 returned team 2 f
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
M@estro
Junior Member
Join Date: Dec 2011
Location: Romania
Old 01-11-2012 , 11:19   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #377

Wow, awsome, i will test this!
__________________
  • shut up
M@estro is offline
Send a message via Yahoo to M@estro
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 01-12-2012 , 06:53   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #378

Quote:
Originally Posted by RTG View Post
i have a little problem, it still shows debug messages to me, can you help me?
Code:
[debug] 2 dropped team 2 flag
[debug] 11 dropped team 1 flag
[debug] 7 returned team 1 flag
[debug] 6 returned team 2 f
That's what you get for not reading the install instructions.
Those messages are from the sub-plugin example (jctf_addon_example.sma) from jctf_api.zip file which you only need to download if you want to make sub-plugins for this plugin.
__________________

Last edited by Hunter-Digital; 01-12-2012 at 06:53.
Hunter-Digital is offline
RTG
Senior Member
Join Date: Aug 2010
Location: CZ
Old 01-12-2012 , 09:27   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #379

yes i'm using jctf_addon_example which you posted, it gives adrenaline for assistances, isn't it? I'd like to give people adrenaline for assistances (because of learn(force) them to teamplay), but i don't want those debug messages

Last edited by RTG; 01-12-2012 at 09:29.
RTG is offline
Send a message via ICQ to RTG Send a message via AIM to RTG
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 01-13-2012 , 09:28   Re: Just Capture the Flag (CTF) v1.32b
Reply With Quote #380

No, it doesn't, it's a freaking example ! It shouldn't be used in a server, expecially if someone knows you're using it they can spam the "test" command and get full adrenaline... jeez.

It's *only* for people that know how to make plugins and are interested in understanding the event hooking of this plugin, that's it.

The main plugin has assisting only for capturing (the flag is beeing passed on by dropping it) and returning flags (if someone kills the flag carrier and someone else returns it, the killer gets adrenaline bonus).
__________________

Last edited by Hunter-Digital; 01-13-2012 at 09:30.
Hunter-Digital 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 02:31.


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