December 05, 2008, 03:31:56 AM
 

News : Welcome to the Mercenaries Guild Forums!

+  Mercenaries Guild
|-+  Public
| |-+  Tremulous
| | |-+  Adding a painsaw crosshair
Topic: Adding a painsaw crosshair  (Read 1126 times)

YourMama
Private
*

Karma: -2
Offline Offline

Posts: 4


View Profile

« on: March 08, 2008, 04:15:53 AM » First post

Hey there, it's been awhile since I came here.

So anyway I'm trying to figure out how to add a crosshair to the painsaw. This is for unpure servers only, so it should be possible. I got (read: stole) the tga from the mgdev-textures-02.pk3 file I downloaded off of MG Dev server. I put it in gfx/2d inside of a new pk3, and added this  line to crosshairs.shader in scripts -

Code:
1  gfx/2d/crosshair-psaw
2  {
3   {
4   map gfx/2d/crosshair-psaw.tga
5   blendfunc blend
6   rgbgen const ( 0.0 0.8 1.0 )
7   alphagen const 0.35
8   }
9  }
10 

But still nothing  Shocked Undecided
I've checked a few other files to see if I had to change something else, but I didn't see anything related except for the actual painsaw model.

So PLEASE can I have some help with this?!


Thanks,
-YourMama
Logged

Go Up

liskey
Private
*

Karma: 0
Offline Offline

Posts: 5


View Profile

« on: March 10, 2008, 07:12:23 AM » Reply #1

That seems a bit complicated (although shader hacking is fun too). You can use existing crosshair images simply by editing UI scripts - most HUDs have crosshairs for all aliens either enabled or switchable (I use a hybrid of Comp's and Oticz HUDs with some homebrew menu enhancements).  Haven't tested a painsaw crosshair specifically, but I don't see why it wouldn't follow the same pattern.
Logged

Go Up

YourMama
Private
*

Karma: -2
Offline Offline

Posts: 4


View Profile

« on: March 10, 2008, 05:36:56 PM » Reply #2

I know how to do that, linking to an existing cross hair in data-1.1.0 is easy. I just can't get it to use a cross hair that's not in data.


(I just realized that "cross hair" is 2 words  Grin )
Logged

Go Up

vamprah
Private First Class
**

Karma: 0
Offline Offline

Posts: 29


View Profile

« on: June 01, 2008, 09:30:20 PM » Reply #3

something I would like to point out is, why would want a painsaw cross hair?
actually, I pretty sure Comp would know, because I believe his HUD changes most cross hairs to a dot..
actually I am not certain because I haven't used it....
Logged

Go Up

Rend
Member
Lieutenant Colonel
*

Karma: 27
Offline Offline

Posts: 358


}MG{


View Profile

« on: June 02, 2008, 07:40:33 AM » Reply #4

something I would like to point out is, why would want a painsaw cross hair?
actually, I pretty sure Comp would know, because I believe his HUD changes most cross hairs to a dot..
actually I am not certain because I haven't used it....
I'm going to warn you now. Please don't start necroing dozens of topics around here, or your chances of getting into MG will be even slimmer then I expect. You've done it on ZR, and it isn't cute, nor does it make you a person we want to have around.

Please take your time, and post reasonably. There is a month wait for a reason, we want to get to know you, but it doesn't mean you post as much as possible over the course of the month.

Try getting an irc client, I personally use xchat, and you can talk all you want there Smiley
(Or you can do what most recruits do, and just click the "Chat" link on the front page.)
Logged

Go Up

Garoth
Member
here be dragoons
*

Karma: 22
Offline Offline

Posts: 2368


Mercenary


View Profile WWW

« on: June 02, 2008, 06:55:09 PM » Reply #5

Or, well, if you do, please do so when you have something mostly worthwhile to say.
Logged

Garoth of Garoth.com

Go Up

Pages 1 Go Up
Print
Jump to: