Raised This Month: $ Target: $400
 0% 

[TF2][REQ]Monoculus!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 04-23-2014 , 05:04   [TF2][REQ]Monoculus!
Reply With Quote #1

Hello everyone, I'm looking for a way to stun monoculus, but I have no clue on how to do it, could you help me please?

Last edited by Benoist3012; 04-29-2017 at 04:37.
Benoist3012 is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 04-23-2014 , 11:35   Re: [TF2][REQ]Monoculus!
Reply With Quote #2

I got an idea, the plugin could create a prop dynamic with the Model Monoculus and its default animation are stun, the true Monoculus is teleported at the bottom of map, after the animation is done, the prop dynamic is destroyed and Monoculus! is teleported back at its last place.

I'm french, and sorry for my bad english!

Last edited by Benoist3012; 04-29-2017 at 04:29.
Benoist3012 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 04-25-2014 , 14:28   Re: [TF2][REQ]Monoculus!
Reply With Quote #3

You shouldn't bump your thread so often.

Thought about stun monoculus command, it shouldn't be hard to be done either way
By teleporting or by forcing stun

I might try to write some plugin for you in around a hour
Hopefully it will workout


A test version of plugin is done:
Put .smx in plugins folder
Put .txt in gamedata folder
Restart server

Commands:
sm_monostun
sm_monostun2

One of them might work
I was unable to test plugin yet so it might crash or not work at all
Attached Files
File Type: sp Get Plugin or Get Source (stun_monoculus.sp - 254 views - 1.2 KB)
File Type: txt tf2.stunmono.txt (295 Bytes, 164 views)
__________________
...

Last edited by Oshizu; 04-25-2014 at 15:25.
Oshizu is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 04-26-2014 , 08:02   Re: [TF2][REQ]Monoculus!
Reply With Quote #4

This plugin does not stun Monoculus! And how have you found this number => "SDKCall(hStunMono, entity, 1101004800)" ??

Last edited by Benoist3012; 04-26-2014 at 08:05.
Benoist3012 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 04-26-2014 , 08:20   Re: [TF2][REQ]Monoculus!
Reply With Quote #5

Quote:
Originally Posted by Benoist3012 View Post
This plugin does not stun Monoculus! And how have you found this number => "SDKCall(hStunMono, entity, 1101004800)" ??
TF2 Server Binary
__________________
...

Last edited by Oshizu; 04-26-2014 at 08:21.
Oshizu is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 04-26-2014 , 10:37   Re: [TF2][REQ]Monoculus!
Reply With Quote #6

I have a TF2 Server but i see just this: HALLOWEEN: "MySteamID<2><Blue>" eyeball_stunned with "widowmaker" <attacker_postion "-720 47 270">.

Monoculus is stun because i went i hell and i fired Monoculus!
I don't see your number.

Edit (from 2017): I must have been tired that day, and probably only read TF2 Server. lol

Last edited by Benoist3012; 04-29-2017 at 04:38.
Benoist3012 is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 04-26-2014 , 10:48   Re: [TF2][REQ]Monoculus!
Reply With Quote #7

Quote:
Originally Posted by Benoist3012 View Post
I have a TF2 Server but i see just this: HALLOWEEN: "MySteamID<2><Blue>" eyeball_stunned with "widowmaker" <attacker_postion "-720 47 270">.

Monoculus is stun because i went i hell and i fired Monoculus!
I don't see your number.
Server Binary is server.bin or server_srv.so
Simply said it's something like browsing Team Fortress 2 Source Code

__________________
...

Last edited by Oshizu; 04-26-2014 at 10:53.
Oshizu is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-27-2014 , 09:03   Re: [TF2][REQ]Monoculus!
Reply With Quote #8

Chances are that 1084227584 are actually a set of damage codes. Specifically, its 1 << 21 | 1 << 23 | 1 << 30... for damage codes, that would be DMG_SLOWBURN | DMG_PHYSGUN | an unknown damage type 1 higher than the last one in shareddefs.h

1101004800 is the same thing, but with bit 1 << 24 (DMG_PLASMA) also set.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-27-2014 at 09:10.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 04-28-2014 , 06:52   Re: [TF2][REQ]Monoculus!
Reply With Quote #9

Wtb windows symbols
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 04-29-2017 , 04:36   Re: [TF2][REQ]Monoculus!
Reply With Quote #10

!Bumping! Just answering my own request, I found how stun Monoculus last year, and I found this thread today, and I figured I would answer it, so perhaps it can help someone who also wants to stun monoculus

There's simply an hidden prop, that tells for how long you are "hell buffed" if you escaped the underworld on eyeaduct.

To locate it, just offset the m_iKartHealth prop by 20.
Code:
g_m_Hell_Buffed = LookupOffset("CTFPlayer","m_iKartHealth")+20;
Code:
SetEntDataFloat(iClient, g_m_Hell_Buffed, GetGameTime()+4.0, true);

With that code, after setting the prop if the client dmg monoculus in the 4 next seconds, monoculus will get stunned.

Code:
stock int LookupOffset(const char[] strClass, const char[] strProp) {     int iOffset = FindSendPropInfo(strClass, strProp);     if(iOffset <= 0)         SetFailState("Could not find offset for %s::%s. Use a different property name (and update your offsets).", strClass, strProp);     return iOffset; }

That's all
__________________
Benoist3012 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 22:47.


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