Raised This Month: $ Target: $400
 0% 

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: CodeMonkey
Forum: Scripting 01-23-2011, 16:27
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Yeah, If you checked a few pages back I tried to use something similar to that code. But you can't parent anything to clients in TF2 so I'm using a fake model.

What exactly is prethink?
Forum: Scripting 01-19-2011, 00:39
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Thanks to some much welcomed help from Luke via steam chat I finally figured it out.

I needed to create a prop_dynamic and place it then parent the sprite to it then in my ongameframe move the...
Forum: Scripting 01-18-2011, 23:44
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

SetTransmit is not being called.
Forum: Scripting 01-18-2011, 23:29
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Yes I have been using ongameframe to reposition the sprite.

I can get the sprite to display and follow people using the ongameframe method, however I am still having issues with the SetTransmit.
Forum: Scripting 01-18-2011, 22:53
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Just tried the code from that, and it would appear as if I have the same problem. As soon as I parent the sprite to anything it disappears whether I use env_sprite or env_sprite_oriented
Forum: Scripting 01-18-2011, 22:02
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

I am using env_sprite_oriented, just check my code a few pages back.
Forum: Scripting 01-18-2011, 20:05
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Ok so to understand my problem here, what I need to do in order for SetTransmit to be called is to make my sprite parent to a networked entity. then the sprite will call the SetTransmit method and...
Forum: Scripting 01-17-2011, 21:14
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Ok so how would I go about creating a prop_physics_multiplayer to parent something to it without a model (I believe it generates an error without one.)
Forum: Scripting 01-17-2011, 19:46
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Hmm it would seem like I need to attach a model to "prop_physics_multiplayer." Even so, this would have the same affect as me parenting this to a client right? When I do the following:...
Forum: Scripting 01-17-2011, 16:48
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

I am seeing the sprites, however the SetTransmit function is not being called.

How would I go about parenting it to a networked entity.
Forum: Scripting 01-17-2011, 16:32
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Perhaps I do not understand the useage of Set_Transmit. Perhaps an example for my situation.
Forum: Scripting 01-17-2011, 16:08
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Alright so after I've gotten my sprites spawned and their (somewhat) attached to their parent. How do I get this SetTransmit to work.

I've been trying this

stock CreateSprite(iClient,...
Forum: Scripting 01-12-2011, 17:18
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

I think he's right, when I don't put this code in


public OnGameFrame()
{
new ent, Float:vOrigin[3], Float:vVelocity[3];

for(new i = 1; i <= MaxClients; i++)
{
if...
Forum: Scripting 01-12-2011, 04:41
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Yeah I was looking into that. Don't suppose you've got a link to a fancy tutorial on sprite making. Looks like I got the donator code to work but it's offset a little.

Thanks for your suggestions!
Forum: Scripting 01-12-2011, 03:29
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Ahh, yes thank you.

That answered part of my question. What I'm look for now is a way to add the sprite above their head.

Perhaps there is a tutorial somewhere on this or maybe even an example...
Forum: Scripting 01-12-2011, 03:14
Replies: 52
Views: 19,682
Posted By CodeMonkey
Re: Showing sprites above players head

Could you possibly post an example?
Forum: Scripting 01-12-2011, 02:37
Replies: 52
Views: 19,682
Posted By CodeMonkey
Showing sprites above players head

Hey, I've been working on a plugin that would want to place a icon above a player's head to be seen by a few other players (something along the lines of the domination icon.) I was wondering if I...
Forum: Scripting 02-18-2010, 15:51
Replies: 5
Views: 1,722
Posted By CodeMonkey
Re: [TF2] Sudden Death Boxing

I spose lol. Thanks for the help
Forum: Scripting 02-18-2010, 15:10
Replies: 5
Views: 1,722
Posted By CodeMonkey
Re: [TF2] Sudden Death Boxing

Thanks it worked.
So theres no way to do that without using TF2Items?
Forum: Scripting 02-18-2010, 02:30
Replies: 5
Views: 1,722
Posted By CodeMonkey
[TF2] Sudden Death Boxing

So I've been struggling through sourcemod scripting, and I gotta say it isn't the most fun I've ever had coding. What I am attempting to do is give out boxing gloves. My attempts at just using...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT -4. The time now is 19:39.


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