Blueknights Questions

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Pentarctagon
Project Manager
Posts: 5730
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Blueknights Questions

Post by Pentarctagon »

Unless specified otherwise, I believe it's 0%.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
battlestar
Posts: 690
Joined: January 1st, 2007, 7:12 am

Re: Blueknights Questions

Post by battlestar »

That's good.
LUA: Llama Under Apprenticeship
Hell faction: completed
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

If I made a Campaign.cfg with only this code in it
A. Would the game work?
B. Would the attack be present in the era aswell?
User avatar
Chtomorc
Posts: 68
Joined: June 9th, 2011, 2:48 pm
Location: Paris, France.

Re: Blueknights Questions

Post by Chtomorc »

"Attack" and "Attack type" are 2 very different thing.

"Attack" has to be in all unit's files you make.

"Attack type" has to be in all the attacks you made (in unit's files) and in all the movetypes in the [resistance][/resistance] tag, to give the resistance value to your units.
My writing frightens you? Consider you happy not to hear me :p
Tribes of the North MP era : factions developpement and unit's sprites
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

Is there a file somewhere in the game with the pre existing attack types in that I can look at for reference?
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Blueknights Questions

Post by Max »

see data/core/units.cfg
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

Is it possible to create an AMLA based on a units gender more specifically if it's a male unit it levels to one unit and if it's female it levels to another?
User avatar
8680
Moderator Emeritus
Posts: 742
Joined: March 20th, 2011, 11:45 pm
Location: The past

Re: Blueknights Questions

Post by 8680 »

Code: Select all

[unit_type]
    ...
    advances_to=null
    [male]
        advances_to=?
    [/male]
    [female]
        advances_to=?
    [/female]
    ...
[/unit_type]
User avatar
powershot
Posts: 1193
Joined: May 7th, 2011, 3:03 am
Location: Central America
Contact:

Re: Blueknights Questions

Post by powershot »

In the campaign "the militia" I think they use a code like that.
My new account is: Power_Pixel_Wannabe. Yea. Yea.... Why are you still reading this? What the heck m8? You have some kind of problem? Yea. I draw. NO I'M NOT 5 ANYMORE!!! Little brats.
The heck m8? I thought you left... No seriously... go... serious...
ok bye m8. I'm serious.
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

Thank you... yet again :) 8680
I really must commend you on
A) Your ability
B) Your willingness to help noobs.
User avatar
8680
Moderator Emeritus
Posts: 742
Joined: March 20th, 2011, 11:45 pm
Location: The past

Re: Blueknights Questions

Post by 8680 »

You're welcome, and thank you.
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

I'm trying to create a unit that when attacking summons a wolf and then the wolf attacks trouble is the Mage and the wolf move forward is their a way to prevent this?
User avatar
Chtomorc
Posts: 68
Joined: June 9th, 2011, 2:48 pm
Location: Paris, France.

Re: Blueknights Questions

Post by Chtomorc »

You can make it by slightly translating the mage back in all animation frames so it seem to stay at the same place. Or, maybe make it a ranged attack ? That way, the wolf will be considered as a projectile, and the mage stay at the same place.

Don't know if the specified range of an attack has relation to the animation.
My writing frightens you? Consider you happy not to hear me :p
Tribes of the North MP era : factions developpement and unit's sprites
User avatar
8680
Moderator Emeritus
Posts: 742
Joined: March 20th, 2011, 11:45 pm
Location: The past

Re: Blueknights Questions

Post by 8680 »

You could try using offset=0.0, making the wolf a halo, and experimenting with halo_x= and halo_y=.
blueknight1758
Posts: 252
Joined: March 30th, 2011, 8:38 pm
Location: The UK

Re: Blueknights Questions

Post by blueknight1758 »

Can you have a missile frame in a melee attack?
Post Reply