Page 3 of 4

Re: Unit Design - unit property sheet

Posted: Fri Dec 14, 2018 6:55 am
by Stratego (dev)
you can not mod it without grant.
email me

ps: and yes, wrong topic

Re: Unit Design - unit property sheet

Posted: Fri Jan 18, 2019 12:08 pm
by Stratego (dev)
2 options in hasSpecunitActions:
STEALTH_FORCES_STEP_ON, // unit can not go tru it, it will stop on it, destroying stealth unit (for land/sea mines)
STEALTH_FORCES_STEP_BLOCKED, // unit can not go tru it, it will stop right before it, not destroying stealth unit (for submarines)

Re: Unit Design - unit property sheet

Posted: Fri Jan 18, 2019 12:50 pm
by makazuwr32
So if unit with STEALTH_FORCES_STEP_ON on way of movement of enemy than enemy will stop exactly on unit's tile regardless of speed?
Also another question - is this working as well for air units?

And i hope that both new properties are availible for aos and aof as well (especially for aof because i want for some units submarine way).

Re: Unit Design - unit property sheet

Posted: Fri Jan 18, 2019 12:58 pm
by Stratego (dev)
makazuwr32 wrote:
Fri Jan 18, 2019 12:50 pm
So if unit with STEALTH_FORCES_STEP_ON on way of movement of enemy than enemy will stop exactly on unit's tile regardless of speed?
yes, it will stop and in case of mines will get damaged
makazuwr32 wrote:
Fri Jan 18, 2019 12:50 pm
Also another question - is this working as well for air units?
if u set "can_be_flown_tru" on the mine, and air unit has "can_fly" than it will not stop on it.
makazuwr32 wrote:
Fri Jan 18, 2019 12:50 pm
And i hope that both new properties are availible for aos and aof as well (especially for aof because i want for some units submarine way).
sure

Re: Unit Design - unit property sheet

Posted: Fri Jan 18, 2019 1:13 pm
by makazuwr32
That are good news.
Thanks for new opportunity.

Re: Unit Design - unit property sheet

Posted: Sat Jan 19, 2019 2:41 am
by General Brave
This will do nicely.

Re: Unit Design - unit property sheet

Posted: Sat Jan 26, 2019 11:00 pm
by Tankhead
Is front page updated Dev?
I use this more often than I thought

Re: Unit Design - unit property sheet

Posted: Sun Jan 27, 2019 1:09 am
by Stratego (dev)
you mean first post of this thread?
yes

Re: Unit Design - unit property sheet

Posted: Thu Jan 31, 2019 3:54 am
by General Brave
I wonder what else to use.

Re: Unit Design - unit property sheet

Posted: Tue Feb 05, 2019 7:16 pm
by Stratego (dev)
new "Arrow type action": EXPLOSION - when a stealth unit is stepped on and explodes/destroyed (eg. landmine in AOW)

Re: Unit Design - unit property sheet

Posted: Sat Feb 09, 2019 5:15 am
by General Brave
Can we have a transformation two.

Re: Unit Design - unit property sheet

Posted: Sat Feb 09, 2019 6:13 am
by Stratego (dev)
?

Re: Unit Design - unit property sheet

Posted: Sun Feb 10, 2019 5:56 am
by General Brave
A second transformation, instead of cycling and also it would be needed for newer units.

Re: Unit Design - unit property sheet

Posted: Sun Feb 10, 2019 6:02 am
by General Brave
Also I have a lot more needed suggestions, one is it possible to make a factory only work with sped up production units instead of turn.

Re: Unit Design - unit property sheet

Posted: Sun Feb 10, 2019 8:14 am
by Stratego (dev)
please make new opics in the suggestions section for these - also write there samples of units that needs these.
thanks

Re: Unit Design - unit property sheet

Posted: Mon Feb 11, 2019 5:50 pm
by General Brave
Where do I suggest that?

Re: Unit Design - unit property sheet

Posted: Mon Feb 11, 2019 5:52 pm
by Stratego (dev)
suggesions / others

or u can make the specific unit toics that would use that and write there.

Re: Unit Design - unit property sheet

Posted: Mon May 06, 2019 10:59 am
by Stratego (dev)
new specunitaction:
ATTACK_RANGE_DODGED //set this if the attack is not arrow type (eg. throwing axe) but you want to use ranged dodge to deflect it.

Re: Unit Design - unit property sheet

Posted: Tue May 21, 2019 2:36 am
by General Brave
Can it work the other way around or not necessary.

Re: Unit Design - unit property sheet

Posted: Tue May 21, 2019 5:28 am
by Stratego (dev)
what do u mean?

Re: Unit Design - unit property sheet

Posted: Fri May 24, 2019 1:54 pm
by Stratego (dev)
new specunitaction:
CAN_HIT_FLYING, // if set the unit can attack and hit flying as it were "arrowed" in AOS/AOF, if not set it can hit only 1 hit.

Re: Unit Design - unit property sheet

Posted: Sun May 26, 2019 6:26 pm
by Stratego (dev)
new property:
rangeAttackMin = 0; //if set than the minimal range it can attacks (eg. a catapult can not attack to adjacent units if set to 2 or more)

Re: Unit Design - unit property sheet

Posted: Mon May 27, 2019 6:24 am
by godOfKings
Nice, but if catapult moves into a wagon, and wagon moves into a tc/tower then this drawback will b nullified

On the other hand, catapult won't b able to atk melee units from inside tower

Wat will b the case inside castle since castle covers 6 tiles at melee range?

Re: Unit Design - unit property sheet

Posted: Mon May 27, 2019 7:08 am
by Stratego (dev)
i made it as on checking minimal range mega buildings are calculated with their "farest" tile, so it will be able to attack unit by the castle if minimum range is set to eg. 2.

please try it, also a regression test is newuired as i could ruin current ranged weapon logics by mistake.

Re: Unit Design - unit property sheet

Posted: Sun Jun 09, 2019 7:54 pm
by Stratego (dev)
new specunitaction:
ATTACK_MELEE_DODGED, //set this if the attacked is not melee type (eg. archer) but you want to use melee dodge to deflect it.

Re: Unit Design - unit property sheet

Posted: Tue Jun 11, 2019 12:26 pm
by Stratego (dev)
new specunitaction:
ATTACK_NOT_RANGED, //eg. pierce melee weapons: if set than the attacktypearrow|attacktypeburningrock units will be considered close combat units that piercing or normal armor deflected.

obsolete (deleted) specunitactions
ATTACK_RANGE_DODGED //set this if the attacked is not arrow type (eg. throwing axe) but you want to use ranged dodge to deflect it.
ATTACK_MELEE_DODGED, //set this if the attacked is not melee type (eg. archer) but you want to use melee dodge to deflect it.

Re: Unit Design - unit property sheet

Posted: Mon Jun 24, 2019 6:25 pm
by Stratego (dev)
new specunitaction:
CAN_BE_PASSED_BY_ENEMY, //if a unit can not "block" enemy ever (like a plane should not block ground units and other planes in movement.

Re: Unit Design - unit property sheet

Posted: Tue Jul 02, 2019 10:42 am
by Stratego (dev)
new attribute:
powerRangePowerDrop = 0; // float 0.2 means 20%: every step of 1..powerRange the damage will decrease by this percent starting from powerRangePenaltyPercent

lso this changed:
private int powerRangePenaltyPercent = 0; // percentage eg. 80 meas 80%: on which % of damage level the decresing of damage starts, decrease with powerRangePowerDrop

Re: Unit Design - unit property sheet

Posted: Wed Jul 17, 2019 6:31 am
by Stratego (dev)
new specunitaction flag:
NO_LOOK_FOR_HEAL, //means will not stop attacking when injured/damaged to look for heal/mend possiblity (like suicide units like demolition ship or petardier)

Re: Unit Design - unit property sheet

Posted: Wed Jul 17, 2019 8:27 am
by makazuwr32
This one is more for ai, right?