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]

Transformation

makrohn
Friday, July 6, 2012 - 10:31
makrohn's picture

A couple questions for transformation powers:

1)  How do I make it so that I can fly while transformed?  Do I just set that in the enemy's .txt file, something like flying=true?

2) How do I set powers/button assignments, such as Left-click=shoot, hotkey 1=heal, hotkey 2=shield, hotkey 3=nuke everyone, etc?

  • Log in or register to post comments
makrohn
joined 13 years 2 weeks ago
Friday, July 6, 2012 - 10:32
makrohn's picture

(Also, as a probably corrolary to #1, how do I set, say, Fire immunity?)

  • Log in or register to post comments
Clint Bellanger
joined 15 years 8 months ago
Friday, July 6, 2012 - 10:48
Clint Bellanger's picture

The transformation stuff is pretty new and WIP.

1. Set the enemy txt file to flying=1

2. Not sure yet, maybe igorko can help there

3. Set the enemy txt file to attunement_fire=0. That will multiply fire damage by 0. (default = 100, which is interpreted as 100%, so it multiplies damage by 1). So to take double damage from fire you'd say attunement_fire=200

 

 

  • Log in or register to post comments
makrohn
joined 13 years 2 weeks ago
Friday, July 6, 2012 - 11:09
makrohn's picture

Awesome.

I looked back at the goblin_shaman file and saw how enemy powers are handled (I had no idea) and I have a much better idea #2 now.

The first power defined in the enemy's .txt file will be assigned to lmb, the second power assigned to rmb, the third power to 1, fourth power to 2, etc, etc.

The next available slot will be "untransform"

So for instance, if one transformed into a goblin shaman, their lmb would be bound to Shock, rmb to Shield, 1 to Shock, and no ability to just Swing.

https://github.com/clintbellanger/flare/blob/master/mods/fantasycore/enemies/goblin_shaman.txt

  • Log in or register to post comments
Igor Paliychuk
joined 12 years 11 months ago
Tuesday, July 10, 2012 - 22:58

Correct, enemy powers are set automatically. Other transform power options you can check in powers.txt - there is sample power. Also there is sample untransform item in items.txt.

As for flying and rest enemy stats, they are redefined from enemy_name.txt file. So if you need some creature, that is not present in the game atm, you write new creature, and than write transform power to transform into it.

  • Log in or register to post comments