Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $12
Target: $400
3%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 24 of 24
Search took
0.00
seconds.
Search:
Posts Made By:
Cieniu97
Forum:
Plugin/Gameplay Ideas and Requests
01-19-2022, 04:55
Replies:
0
[TF2] I will commision a plugin for tf2
Views:
638
Posted By
Cieniu97
[TF2] I will commision a plugin for tf2
I've been working on tf2 plugin that logs game events to txt file. Unfortunately I lack time and technical experience therefore I will commision finishing my project(its 70% done) or making a new...
Forum:
Scripting
10-15-2021, 11:36
Replies:
0
TF2 Hook local player events to server + medic overheals
Views:
782
Posted By
Cieniu97
TF2 Hook local player events to server + medic overheals
Hello there!
Still working on Advanced Logger Plugin :)
Context:
While programming player_healed event i noticed that medic/buffs don't trigger that event.
This is very unlucky since that's a...
Forum:
Scripting
10-14-2021, 13:03
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
Yeah and it can return multiple other things as well. Its a hot mess. You even have tf_projectile_sentryrocket. And it doesnt really returns weapon entity, more like player when it comes to hitscan...
Forum:
Scripting
10-14-2021, 05:07
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
Wouldn't OnEntityCreated fire hundreds of thousands times during the game? Using OnTakeDamage it fires only when I need the info, and its much simpler as u dont have to track the entities, you just...
Forum:
Scripting
10-13-2021, 16:21
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
Yes, and this is not uncommon for people to maniacally switch their weapons. Also there are other projectiles like for example sticky bomb which is not on slot 0.
OriginalLauncher works the best,...
Forum:
Scripting
10-13-2021, 11:10
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
Re: TF2 Get weapon generic name
Yo! That is lit. I had to use 9 lines of code in python to get list of all items with respected names.
import vdf
import json
d = vdf.parse(open('items_game.txt'))
items = {}
for l in...
Forum:
Scripting
10-13-2021, 05:55
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
Re: TF2 Get weapon generic name
You are absolutely correct. I am aware of this, but working on source has taken huge toll on my mental stability already xD. I have tried using econItemName and econLocalizedName. No mather what I...
Forum:
Scripting
10-12-2021, 06:26
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
Re: TF2 Get weapon generic name
I spent whole yesterday trying to convert items_game into json. But it turned out that Valve data structure has duplicated keys so its basically useless.
I settled on this solution.
I...
Forum:
Scripting
10-10-2021, 12:33
Replies:
3
[TF2] Projectile stuffs
Views:
1,559
Posted By
Cieniu97
Re: [TF2] Projectile stuffs
It can throw some errors since stickybomb launcher is secondary.
Solution with m_hLauncher - > https://forums.alliedmods.net/showthread.php?t=334639
Forum:
Scripting
10-10-2021, 12:32
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
@Bacardi
I was familiar with those workarounds, but this is just an overkill. I figured that tf2 has to know which weapon fired certain projectile, and it did :> . I had to do this with just blindly...
Forum:
Scripting
10-10-2021, 12:22
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
After digging into this hot mess of netprops i found this :)
SOLUTION:
int launcherEnt = GetEntPropEnt(projectileEnt, Prop_Send, "m_hLauncher");
int originalLauncherEnt =...
Forum:
Scripting
10-10-2021, 10:57
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
Re: TF2 Get entity of fired projectile
I have already tried that. It returns player entity.
Getting players active weapon also doesnt work for following reason:
If you shoot rocket from far and then change weapon before rocket hits,...
Forum:
Scripting
10-10-2021, 08:45
Replies:
14
Solved
TF2 Get entity of fired projectile
Views:
3,020
Posted By
Cieniu97
TF2 Get entity of fired projectile
Hello there!
Context:
I'm coding SDK OnTakeDamage event. There is provided inflictor and attacker.
Determining weapon for hitscan weapons is easy. Projectiles is where I am stuck. I have made...
Forum:
Scripting
10-05-2021, 12:04
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
Re: TF2 Get weapon generic name
Awesome plugin. That works perefctly for me. Thank you!
Do I need those files if I am gonna only use TF2Econ_GetItemName?
:tf_econ_data.smx
:tf2.econ_data.txt
Forum:
Scripting
10-05-2021, 07:14
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
Re: TF2 Get weapon generic name
How do I include that?
#include <tf_econ_data>
This does not appear to work.
I get "cannot read from file "tf_econ_data"
EDIT/SOLUTION:
Had to paste tf_econ_data.inc into spEdit include...
Forum:
Scripting
10-05-2021, 04:31
Replies:
12
TF2 Get weapon generic name
Views:
3,393
Posted By
Cieniu97
TF2 Get weapon generic name
Intro:
Hello there!
Still working on Advanced Logger Plugin. I am getting to the finish line :)
Context:
Ingame tf2 events provide a ton of useful information, but they are inconsistent.
I've...
Forum:
Scripting
10-04-2021, 08:36
Replies:
2
Solved
TF2 Entity properites
Views:
705
Posted By
Cieniu97
Re: TF2 Entity properites
I've figured out workaround.
SOLUTION:
int object_entindex = event.GetInt("object_entindex");
char entityName[128];
GetEntityClassname(object_entindex, entityName, sizeof(entityName));
...
Forum:
Scripting
10-04-2021, 06:45
Replies:
2
Solved
TF2 Entity properites
Views:
705
Posted By
Cieniu97
TF2 Entity properites
Intro:
Hello there!
I am writing Advanced Logger Plugin for tf2, that logs interesting ingame events into separate txt file.
I've already got much help here :)
Context:
I was programming...
Forum:
Scripting
10-02-2021, 14:08
Replies:
5
Solved
Identity crisis
Views:
1,845
Posted By
Cieniu97
Re: Identity crisis
You are the goat!
Thanks for clarification. Now I understand :)
It helped me dig deeper into documentation.
Summary of topic:
It turned out that in game TF2 events provide 2 types of user...
Forum:
Scripting
10-02-2021, 06:07
Replies:
5
Solved
Identity crisis
Views:
1,845
Posted By
Cieniu97
Re: Identity crisis
Thank you! I have no idea how did you came up with that :>
I am familiar with that function, but it only works with my first example with is userid. It does not work for the rest of them :(
...
Forum:
Scripting
10-01-2021, 13:55
Replies:
5
Solved
Identity crisis
Views:
1,845
Posted By
Cieniu97
Identity crisis
INTRO:
Hello there!
I've been working on plugin that logs ingame events into a txt file for tf2 competitive purposes.
I am new to sourcemod and sourcepawn.
CONTEXT:
While programming the...
Forum:
Scripting
10-01-2021, 11:19
Replies:
7
Solved
Get players medigun TF2
Views:
1,653
Posted By
Cieniu97
Re: Get players medigun TF2
I ended up using PC Gamer suggestion.
As for heavyisgps answer. The old syntax doesnt seem to work in spEdit compiler.
Naydef, your code looks super slick! But I dont understand why it works...
Forum:
Scripting
09-16-2021, 07:24
Replies:
7
Solved
Get players medigun TF2
Views:
1,653
Posted By
Cieniu97
Re: Get players medigun TF2
Thanks! That works excellent. You are awesome.
I just have few fallow up questions while we are on it.
Are there some advantages of using this
GetEventInt(event, "userid")
over this
...
Forum:
Scripting
09-15-2021, 19:26
Replies:
7
Solved
Get players medigun TF2
Views:
1,653
Posted By
Cieniu97
Get players medigun TF2
Intro:
Hello, I'm new here :>
Recently I started working on plugin for TF2 that logs events. I am completely new to sourcemod. Could use some help.
Context:
There is an event in TF2 called...
Showing results 1 to 24 of 24
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
09:40
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode