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

[TF2] Glass Attack (0.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 08-26-2011 , 05:06   Re: [TF2] Glass Attack (0.4)
Reply With Quote #11

Quote:
Originally Posted by Leonardo View Post
is this plugin (or something similar) installed?
yes! Is that causing it?
__________________

Last edited by Mecha the Slag; 08-26-2011 at 05:19.
Mecha the Slag is offline
XaxaXoxo
Senior Member
Join Date: Feb 2011
Old 08-26-2011 , 06:03   Re: [TF2] Glass Attack (0.4)
Reply With Quote #12

please,post the source code for NoSMG.smx
XaxaXoxo is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 08-26-2011 , 06:24   Re: [TF2] Glass Attack (0.4)
Reply With Quote #13

Quote:
Originally Posted by Mecha the Slag View Post
yes! Is that causing it?
I do believe it is, because after decompiling I didn't find any viewpoints
Leonardo is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 08-26-2011 , 07:07   Re: [TF2] Glass Attack (0.4)
Reply With Quote #14

Fender would you mind adding a viewpoint? :>
__________________
Mecha the Slag is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-26-2011 , 12:20   Re: [TF2] Glass Attack (0.4)
Reply With Quote #15

Quote:
Originally Posted by XaxaXoxo View Post
please,post the source code for NoSMG.smx
I removed it from the post since source was not included.

Before removal, I grabbed it for disassembly to make sure it wasn't doing anything funny.

It's a simple plugin. Here's the rough source:
Code:
#include <sourcemod> #include <sdkhooks> public OnClientPutInServer(client) {     SDKHook(client, SDKHook_WeaponCanSwitchTo, OnWeaponSwitch); } public Action:OnWeaponSwitch(client, weapon) {     decl String:classname[32];     GetEdictClassname(weapon, classname, sizeof(classname));     if (StrEqual(classname, "tf_weapon_smg"))         return Plugin_Handled;         return Plugin_Continue; }
psychonic is offline
Fenderic
Junior Member
Join Date: Sep 2009
Old 08-26-2011 , 13:30   Re: [TF2] Glass Attack (0.4)
Reply With Quote #16

edit: new version of axis is uploaded, http://www.gamebanana.com/maps/159268



Quote:
Originally Posted by Mev View Post
Looks good, I like the concept and when its working I will probably set up a server with this! Though it looks like a fair bit needs doing just yet.
Thank you! Yeah, it really is a lot of fun when you get a good group of people playing.
Quote:
Originally Posted by Mecha the Slag View Post
Fender would you mind adding a viewpoint? :>
Hey yeah, I'll get right on that. I don't know how i forgot to add any to it in the first place!
Quote:
Originally Posted by psychonic View Post
I removed it from the post since source was not included.

Before removal, I grabbed it for disassembly to make sure it wasn't doing anything funny.

It's a simple plugin. Here's the rough source:
Code:
#include <sourcemod> #include <sdkhooks> public OnClientPutInServer(client) {     SDKHook(client, SDKHook_WeaponCanSwitchTo, OnWeaponSwitch); } public Action:OnWeaponSwitch(client, weapon) {     decl String:classname[32];     GetEdictClassname(weapon, classname, sizeof(classname));     if (StrEqual(classname, "tf_weapon_smg"))         return Plugin_Handled;         return Plugin_Continue; }
Yeah, sorry about that, I'm pretty new to this coding, so its pretty simple, and I wasn't really boosting it because you can't turn off the plugin.

Last edited by Fenderic; 08-26-2011 at 17:14.
Fenderic is offline
j0sh77
Senior Member
Join Date: Jan 2010
Old 08-28-2011 , 10:14   Re: [TF2] Glass Attack (0.4)
Reply With Quote #17

It worked fine for me, I tried the map on a listen and dedicated server.
__________________

j0sh77 is offline
Fenderic
Junior Member
Join Date: Sep 2009
Old 08-28-2011 , 10:24   Re: [TF2] Glass Attack (0.4)
Reply With Quote #18

Quote:
Originally Posted by j0sh77 View Post
It worked fine for me, I tried the map on a listen and dedicated server.
ok cool! thank you for testing!
__________________
Fenderic is offline
Fenderic
Junior Member
Join Date: Sep 2009
Old 09-13-2011 , 16:26   Re: [TF2] Glass Attack (0.4)
Reply With Quote #19

updated the main post with more maps and a link to the prefab for making your own (also found here: http://www.gamebanana.com/prefabs/5765)
__________________
Fenderic is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 09-18-2011 , 06:50   Re: [TF2] Glass Attack (0.4)
Reply With Quote #20

The only issue I noticed was that the sniper rifle doesn't break glass, which is due to a Valve bug where the sniper rifles does not impact damage on entities (including things like the pumpkin bomb)

awfully fun
__________________
Mecha the Slag 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 10:10.


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