Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: Timon5022
Forum: Scripting 05-15-2016, 07:49
Replies: 5
Views: 1,528
Posted By Timon5022
Re: OnPlayerRunCmd and Timestamp not working

I actually was thinking about using the event weapon_fire at first, but I was told that the events are just notifications and I cannot rely on when they are being received, so that is why I started...
Forum: Scripting 05-14-2016, 18:54
Replies: 5
Views: 1,528
Posted By Timon5022
Re: OnPlayerRunCmd and Timestamp not working

Is there a major difference between GetGameTime and GetEngineTime?

But I guess I could use what I already have to set a global bool and then store the event_fired.

I'm guessing that the issue I...
Forum: Scripting 05-14-2016, 18:27
Replies: 5
Views: 1,528
Posted By Timon5022
OnPlayerRunCmd and Timestamp not working

Hey guys,

I have some code that tries to detect whether or not a player is spraying and how many shots has been fired:



public Action OnPlayerRunCmd(int client, int &buttons, int &impulse,...
Forum: General 05-10-2016, 13:26
Replies: 3
Views: 993
Posted By Timon5022
Re: Stats - Missing CS:GO servers.

I see, that makes a lot of sense.

Consequently, because no servers exists on the stats page for CS:GO, does that mean that no one has added "sourcemod_version" to their whitelist?

Even if...
Forum: General 05-10-2016, 11:37
Replies: 3
Views: 993
Posted By Timon5022
Stats - Missing CS:GO servers.

I was looking at the stats page.

It says that CS:GO servers can no longer be queried due to some engine change?.

So is there any way of knowing on how many servers SourceMod is installed?
...
Forum: Scripting 04-26-2016, 15:55
Replies: 6
Views: 1,883
Posted By Timon5022
Re: How to parent an entity to a bone?

That is actually a very good idea. I did not think of this because firstly, I did not know about bonemerging at the time I began, and secondly I don't know how to edit models :D

Also, the players...
Forum: Scripting 04-26-2016, 14:44
Replies: 6
Views: 1,883
Posted By Timon5022
Re: How to parent an entity to a bone?

Actually, my current implementation uses said approach. I parent my entity to the weapon_hand_L and R. I then teleport to entity to said attachment with a specific offset. However, the problem with...
Forum: Scripting 04-26-2016, 06:50
Replies: 6
Views: 1,883
Posted By Timon5022
How to parent an entity to a bone?

So I have gotten down the basics of creating and parenting an entity to the attachments of a model. However, I would like to get the position of a player's elbows, and there are no attachments that...
Forum: General 04-25-2016, 14:01
Replies: 276
Views: 211,852
Posted By Timon5022
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Dynamic Autocomplete/Is

I am not sure if this is compiler specific or if it has something to do with spedit, but if I write if("something") the compiler will crash when I try to compile, as evident by the following...
Forum: Plugins 04-25-2016, 10:54
Replies: 19
Views: 16,963
Posted By Timon5022
Re: [CSGO] Weapon Attachment API

I see in your plugin that you do not add a delay between setting parent and then calling SetParentAttachment, as suggested by https://developer.valvesoftware.com/wiki/Entity_Hierarchy_(parenting).
...
Forum: Scripting 04-21-2016, 09:23
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

I have tried switching around the vectors, I've tried using angle vector and points as well.. I mean, if I draw a glow sprite at the location, it is shown correctly. Even so, the Endpoint ray trace...
Forum: Scripting 04-20-2016, 11:35
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

I am sorry for not being clear enough.

For now I am simply doing this on a command for testing, but later I want to do it every time a player fires a bullet.
What I do is I perform a traceray...
Forum: Scripting 04-20-2016, 10:31
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

Sorry for not being clear.

The point is that I would like it to be blocked by a ray trace between one point and the muzzle_pos / info_target. So basically I want the ray trace to stop at that...
Forum: Scripting 04-19-2016, 10:40
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

As an aside, when defining such attachment points, would it be possible to determine if a ray trace hits them? The way they are implemented in your library I'm pretty sure that a trace would simply...
Forum: Scripting 04-18-2016, 10:10
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

Hey Mitchell, sorry for the late reply.

Great work with the API. You really helped me more than I could ask for. It is greatly appreciated.

This might meant that I won't have to use signatures...
Forum: Scripting 04-13-2016, 07:44
Replies: 14
Views: 3,613
Posted By Timon5022
Re: [CS:GO] Get weapon model end position

Okay, so if I understand correctly, I am to use the following functions on the player class:


GetAttachment( int attachment, Vector &origin, QAngle &angles );: Returns the position of an...
Forum: Plugins 04-12-2016, 07:42
Replies: 217
Views: 122,617
Posted By Timon5022
Re: [CS:GO] Hats (with editor menu and 3rd person) v3.3.1

I looked through your plugin for hats and saw that you out-commented some code regarding virtual calls to the function lookupAttachment.

Why did you revert from using game configs? And what are...
Forum: Scripting 04-11-2016, 10:27
Replies: 14
Views: 3,613
Posted By Timon5022
[CS:GO] Get weapon model end position

Dear modders,

Do you know if it is possible to get the absolute position of the gun barrel of a player?

I have seen some attempts for this for other games, but it seems very game-dependent....
Forum: Scripting 03-10-2016, 18:52
Replies: 2
Views: 883
Posted By Timon5022
Nested Queries MySQL

I would love to use a nested query for MySQL by it is correct that the SM MySQL extension does not support this? As according to this thread:

https://forums.alliedmods.net/showthread.php?t=165140...
Forum: Source Servers (SRCDS) 03-10-2016, 07:36
Replies: 3
Views: 2,028
Posted By Timon5022
Re: [CS:GO] Playback demo server-side?

Thank you for the response, I was afraid that would be the answer. I am not aware of how much data you can extract from .dem files, but I was interested in more than simple statistics than death, but...
Forum: Source Servers (SRCDS) 03-07-2016, 15:24
Replies: 3
Views: 2,028
Posted By Timon5022
[CS:GO] Playback demo server-side?

Hi guys,

I am interested in gathering some data from player demo's in CSGO. So if I have a simple SourceMod plugin running on my server, which hooks into the "player_death" event, counting the...
Forum: Scripting 02-22-2016, 09:18
Replies: 11
Views: 6,103
Posted By Timon5022
Re: Structs in SourceMod

Can you explain to me then, how structs are used in terms of the plugin info? That is a struct, is it not?
Forum: Scripting 02-21-2016, 13:43
Replies: 11
Views: 6,103
Posted By Timon5022
Structs in SourceMod

Hi, I am new to SourceMod, and I am trying to make a simple plugin where I store damage information (a log) for each player.

Thus I have the following global variable (amongst many others):

int...
Forum: Approved Plugins 07-25-2005, 10:21
Replies: 196
Views: 173,972
Posted By Timon5022
i cant add bots... how do i do.... in the...

i cant add bots... how do i do....

in the menu it says add bot # and remove bot #

what does that mean???
Forum: Trash 07-22-2005, 18:39
Replies: 69
Views: 53,708
Posted By Timon5022
can you change the lenght of the traceline?...

can you change the lenght of the traceline? shorter maybe?
Showing results 1 to 25 of 31

 
Forum Jump

All times are GMT -4. The time now is 05:15.


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