Raised This Month: $ Target: $400
 0% 

Mod Information (Folder Names & Team Numbers)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Antithasys
Moderator
Join Date: Apr 2008
Old 09-27-2009 , 05:41   Mod Information (Folder Names & Team Numbers)
Reply With Quote #1

Figured we could start a thread that would provide information on the different mods based on the source engine.

The initial idea is to supply game folder information and team numbers. I, and I am sure others, would like to make my plugins work with most mods, but I am lacking information. Here is what I already know.

Counter Strike: Source:

Game Folder
cstrike

Team Numbers
Spectator: 1
Counter-Terrorist: 2
Terrorist: 3

Team Fortress 2:

Game Folder
tf

Team Numbers
Spectator: 1
Red: 2
Blue: 3

Insurgency:

Game Folder
insurgency

Team Numbers
Insurgents: 1
Marines: 2
Spectator: 3

Left 4 Dead:

Game Folder
left4dead

Team Numbers
Spectator: 1
Survivors: 2
Infected: 3

Half-Life 2: Team Deathmatch

Game Folder
hl2mp

Team Numbers
Spectator: 1
Rebels: 2
Combines: 3

Notes:

If you wish to help out and supply more mods to the list but don't know the information, install the attached plugin and run the following commands:

sm_modfolder - Can be done at any time
sm_teamnumber - Do once per team. Even spectator.

Write down the info and post it here. I will add it to the list for everyone to use. Additionally, if you think the list should include more information, post it up!
Attached Files
File Type: sp Get Plugin or Get Source (simple-modinformation.sp - 445 views - 2.0 KB)
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-27-2009 at 17:12.
Antithasys is offline
Frus
Senior Member
Join Date: Aug 2009
Old 09-27-2009 , 06:36   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #2

Left 4 Dead:

Game Folder
left4dead

Team Numbers
Spectator: 1
Survivors: 2
Infected: 3
Frus is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 09-27-2009 , 07:10   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #3

Half-Life 2: Team Deathmatch

Game Folder
hl2mp

Team Numbers
Spectator: 1
Rebels: 2
Combines: 3
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Frus
Senior Member
Join Date: Aug 2009
Old 09-27-2009 , 07:19   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #4

It also might be worthwhile to list what engine the mod uses, moreso for third party mods.
Frus is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 09-27-2009 , 09:54   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #5

engine, team colors, available chat colors...
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-27-2009 , 11:09   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #6

Quote:
Originally Posted by Antithasys View Post
Insurgency:

Game Folder
insurgency

Team Numbers
Insurgents: 1
Marines: 2
Spectator: 3
Note that team names are per map in Insurgency. Marines and Insurgent's indexes are switched on ins_karam and ins_baghdad (and maybe non-stock maps).
psychonic is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-27-2009 , 11:13   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #7

Also, might this type of info be better on a wiki page, rather that in a string of forum posts?
psychonic is offline
antihacker
Member
Join Date: Feb 2009
Old 09-27-2009 , 12:59   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #8

I cant currently test the code, but would it be better to make a function like that:
PHP Code:
new teamcount GetTeamCount();
new 
String:TeamName[30];
for (new 
0teamcounti++)
{
   
GetTeamName (iTeamNamesizeof (TeamName));
   
ReplyToCommand(client"#%d : %s"iTeamName);

antihacker is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-27-2009 , 17:11   Re: Mod Information (Folder Names & Team Numbers)
Reply With Quote #9

Quote:
Originally Posted by psychonic View Post
Also, might this type of info be better on a wiki page, rather that in a string of forum posts?
I thought about that, and I will most likely eventually turn this all into a wiki, but I just needed more info first. Hard to get others to contribute to the wiki. Its much easier to gather the info here.

Quote:
Originally Posted by antihacker View Post
I cant currently test the code, but would it be better to make a function like that:
PHP Code:
new teamcount GetTeamCount();
new 
String:TeamName[30];
for (new 
0teamcounti++)
{
   
GetTeamName (iTeamNamesizeof (TeamName));
   
ReplyToCommand(client"#%d : %s"iTeamName);

Hehe, ya, that is probably better. I did mine at like 3am after 5 beers.

EDIT:
By all means include the game engine as well!
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-28-2009 at 10:52.
Antithasys 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 13:46.


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