View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:19 pm



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 Reticle sprite? 
Author Message
User avatar

Joined: Fri Dec 26, 2008 11:14 pm
Posts: 28
Reply with quote
Post Reticle sprite?
Hello,

Where might I find the sprite for the 3 dots used as the targeting reticle?

Cheers, Toasty


Fri Sep 25, 2009 2:04 pm
Profile
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: Reticle sprite?
I asked this question ages ago. I don't think its anywhere.


Fri Sep 25, 2009 2:09 pm
Profile YIM
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Reticle sprite?
Hard coded, pretty sure. Another thing to ask Data for.


Fri Sep 25, 2009 2:41 pm
Profile
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post Re: Reticle sprite?
Duh102 wrote:
Hard coded, pretty sure. Another thing to ask Data for.

And another for him to not see/care about. :P


Fri Sep 25, 2009 4:50 pm
Profile WWW
User avatar

Joined: Wed Sep 16, 2009 6:22 pm
Posts: 491
Location: Victoria, BC
Reply with quote
Post Re: Reticle sprite?
Oh pshaw. I am the batphone to data's desk. :P

He says they aren't moddable at all now, but he'll put it on the list for LUA scripting. It's at the very, very bottom of his to do list at this time. :)


Fri Sep 25, 2009 8:52 pm
Profile ICQ YIM WWW
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: Reticle sprite?
weasel wrote:
LUA


*cough* *cough*

I thought admins were supposed to be role models for us forum-ers, were they not?


Fri Sep 25, 2009 11:54 pm
Profile WWW
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post Re: Reticle sprite?
Since you probably have no idea what he's talking about weasel, Lua isn't an acronym. It's a proper noun. Lua, not LUA, or even worse, lua.


Sat Sep 26, 2009 2:16 am
Profile WWW
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Reticle sprite?
Or just use Sparkle Magic to denominate it. Simple, easy, and definitely funny.


Sat Sep 26, 2009 3:10 am
Profile YIM WWW
User avatar

Joined: Wed Sep 16, 2009 6:22 pm
Posts: 491
Location: Victoria, BC
Reply with quote
Post Re: Reticle sprite?
edit:

re: LUA: woops. Meant to say Lua. When I say acronyms I use periods though, like L.O.L.


Sat Sep 26, 2009 4:11 am
Profile ICQ YIM WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Reticle sprite?
weasel wrote:
Also, despite being a LUA coder, I didn't realize it wasn't an acronym. *Shrug* I didn't read up on the anatomy* of the word before using it. Gimme a break. :P

Some people uselessly make a big deal about it.
They're going to bother you into doing it right, whether you like it or not. I don't support it, I'm just telling you.
I personally think you should for the sake of correctness, but it's just another proper noun, no big deal.
http://www.lua.org/about.html#name

Anyways, being able to edit the reticule does sound cool. For example, one could implement that neat trajectory guide that's being made in the drawline function thread over in Lua Scripting to replace the current, much less useful, one. Or one could make a line for a sniper to see where their shot will land easier.


Sat Sep 26, 2009 4:25 am
Profile

Joined: Fri Aug 15, 2008 6:17 pm
Posts: 318
Reply with quote
Post Re: Reticle sprite?
Laser sight would be cool.


Sat Sep 26, 2009 4:54 pm
Profile
User avatar

Joined: Mon Sep 21, 2009 8:13 pm
Posts: 46
Location: Indiana
Reply with quote
Post Re: Reticle sprite?
Mmmmmm... sniper rifle with laser designator... <drool> Or better... Homing rocket launcher that homed in on the endpoint of the laser...

(EDIT: By endpoint of the laser, i mean dynamically as you move the laser the rocket changes direction and whatnot, just for clarification.)

I digress and agree... a general set of new aiming recticles based on the weapon in hand would be a boon methinks.


Last edited by Warlord2150 on Sat Sep 26, 2009 8:17 pm, edited 1 time in total.



Sat Sep 26, 2009 6:47 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Reticle sprite?
both of those are already possible.

Laser scopes have been done proplerly, can't remember where.


Sat Sep 26, 2009 6:51 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Reticle sprite?
Lizard wrote:
Laser scopes have been done proplerly, can't remember where.

Not done well though. That's the problem.

You either emit particles, (1) have an attachment, (2) or you use Lua to do it. (3)

1) Emitting particles has a directional problem, and an occasionally jagged, uneven line. The main contributing factor to the jaggedness is that emitters' emissions can't have velocity inheritance. The reason for the directional problem is that attached AEmitters don't inherit their parent object's flipping. This means when you turn left, the laser particles go in the opposite direction from where they should, hitting the gun or phasing out your back, or something stupid like that. The only way to constantly have a laser going the way you want is to also have a stupid laser shooting out of your back.

weasel, please mention these (emission velocity inheritance, attached emitter H-flip inheritance) to Data, it would greatly enhance the possibilities of emitters' use and appearance for not only mods, but also the official content. It's readily apparent and ugly on even the wounds of vanilla actors. Get shot, turn around, and your blood spurts at an inward direction from the wound. Dumb.

2) An attachment won't meet any resistances and will not stop on contact with a target. In an underground bunker? Attachment laser sight phases through the surface of the ground. This looks very, very crappy.

3) Lua solution. This could be many things, and most if not all of them would be very complex and potentially laggy, due to particle counts, rays cast every sim update, calculations, etc. If you can prove me wrong, please do.


Sun Sep 27, 2009 1:36 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Reticle sprite?
A drawline solution with a single raycast per frame would be ideal for an obstacle-stopped perfectly lined up line.

Unfortunately, that means Data's drawline, not a workaround algorithm with lua (the biggest problem is particle spawning, which still has to be done per frame)


Sun Sep 27, 2009 1:40 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.061s | 14 Queries | GZIP : Off ]