Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Enemy Stealth

Pur
Tuesday, June 25, 2013 - 07:14

Is stealth supposed to work on enemies?  Specifically, am I supposed to see nothing of a stealthed enemy until they are within a certain range?  It doesn't seem to be implemented, or perhaps I'm setting up the enemy mod wrong.

 

 

  • Log in or register to post comments
Stefan Beller
joined 13 years 1 month ago
Tuesday, June 25, 2013 - 09:27

Would you mind showing us, what your changes are, so we can help you better?
I assume we need different stealth powers for hero and enemies, so transformation back would work. However I am no expert for the stealth nor powers. :D

  • Log in or register to post comments
Pur
joined 11 years 11 months ago
Tuesday, June 25, 2013 - 17:57

Add the following to mods/fantasycore/enemies/skeletal_warrior.txt:

passive_powers=143

Then go look in the atrium.  If it were available for enemies, I'd expect to see nothing of the skeleton when it was far enough away.

P.S. Once again, this is an idea for the Polymorphable game.  Every form has a useful ability except bats.  All they can do is fly.  I thought it would be nice if they could also detect invisibility/stealth with their sonar.

 

  • Log in or register to post comments
dorkster
joined 12 years 10 months ago
Wednesday, June 26, 2013 - 04:33
dorkster's picture

The stealth effect by itself is merely a numerical stat and does not apply any visual changes to entities. While it would be cool to change the entity's opacity based on distance and the stealth stat, I don't think its feasible with plain SDL rendering. I believe SDL only supports changing the alpha of an entire surface if it's using color-keyed alpha (magic pink). And using the SDL_gfx functions would be too slow if we were using them for every entity.

  • Log in or register to post comments
Pur
joined 11 years 11 months ago
Wednesday, June 26, 2013 - 08:21

So the answer is that there is currently no stealth for the enemies/NPCs.  Thanks.

I'll open a wishlist item.

https://github.com/clintbellanger/flare-engine/issues/737

 

  • Log in or register to post comments