Split thread about ranged attacks

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Suule
On Master
Posts: 656
Joined: Tue Aug 09, 2005 11:42 pm
Location: Warsaw, Poland

Post by Suule »

I'm still waiting on those 'invisible ranged attacks' thing
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

You can already do invisible ranged attacks, you want an instantaneous ranged attacks : )

Actually, really what you want is a projectile speed able to achieve the games' natural 1/6 second turn when it appears to be on about 1/3
User avatar
Suule
On Master
Posts: 656
Joined: Tue Aug 09, 2005 11:42 pm
Location: Warsaw, Poland

Post by Suule »

Hmrrr. Is it possible for the projectives to be invisible?
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Lol, yes, sophia and george and I maye have mentioned this already : ) Just assign a null graphic for it. This works for anythign actually - you could create invisible walls or monsters liek that. I have an invisible pillar in my dungeon right now. And when i say dungeon i mean 'small area filled with junk'
User avatar
Suule
On Master
Posts: 656
Joined: Tue Aug 09, 2005 11:42 pm
Location: Warsaw, Poland

Post by Suule »

Oh, Last time I heard assigning null images to objects crashed RTC. I guess that is fixed.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

If so you could just assign a graphic of 1x1 pixel size for the projectile : )
User avatar
Suule
On Master
Posts: 656
Joined: Tue Aug 09, 2005 11:42 pm
Location: Warsaw, Poland

Post by Suule »

or just an image with 255 alpha channel
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Lol, exactly
User avatar
mikko
Craftsman
Posts: 102
Joined: Sun Jan 15, 2006 2:42 pm
Location: Helsinki, Finland

Post by mikko »

How about 0? 255 would be fully opaque.. :wink:
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

255 is ignored by the engine so is fully transparent : )
User avatar
mikko
Craftsman
Posts: 102
Joined: Sun Jan 15, 2006 2:42 pm
Location: Helsinki, Finland

Post by mikko »

That's just weird.. Hmm.. Why is it like that since every (?) common image format has 0 as fully transparent and 255 fully opaque?
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Oops, nm, I was meaning the colour and completely missed you'd shifted to palette position : (
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Jeez, Beowuuf, you're missing complete words out now!

255,0,255 as a RGB triplet is power pink -- this is rendered transparent in RTC.

In an image with an alpha mask, the scale of 0-255 within the channel is exactly as mikko states: 0 = fully transparent, 255 is fully opaque.
User avatar
Suule
On Master
Posts: 656
Joined: Tue Aug 09, 2005 11:42 pm
Location: Warsaw, Poland

Post by Suule »

Oh my bad. Was thinking in reverse. Damn Thermodynamics messing my point of view thingies.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Words are overated, especially the spelling of them. Yeah, sorry, I started missing out the 0,255 as everyone started talking about 255 / 0. I just suck : )
Post Reply