[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-09-04 Thread anonymous

Follow-up Comment #9, bug #16506 (project freeciv):

Perhaps I was not clear enough in my original post.
I thought that a unit that cannot attack was not meant to be able to restrict
the movements of foreign units, particularly not on foreign soil when at peace
and flagged not to adhere to ZOC rules.
If this is actually intended, there is indeed a missing feature rather than a
bug, as suggested in comments nos 4 and 5.


___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-22 Thread pepeto

Update of bug #16506 (project freeciv):

  Status:None = Need Info  


___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread anonymous

URL:
  http://gna.org/bugs/?16506

 Summary: Non-military units belonging to a class without the
ZOC class flag have a ZOC
 Project: Freeciv
Submitted by: None
Submitted on: Saturday 08/21/10 at 17:12 CEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.2.2
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

No ZOC flag...
[unitclass_land]
name  = _(Land)
move_type = Land
min_speed = 1
hp_loss_pct   = 0
flags = TerrainSpeed, DamageSlows, BuildAnywhere,
CanFortify, TerrainDefense

This unit, with 0 attack and the NonMil and IgZOC flags, still has a zone
of control:
[unit_explorer]
name  = _(Explorer)
class = Land
tech_req  = Seafaring
obsolete_by   = Partisan
graphic   = u.explorer
graphic_alt   = -
sound_move= m_explorer
sound_move_alt = m_generic
sound_fight   = f_explorer
sound_fight_alt = f_generic
build_cost= 30
pop_cost  = 0
attack= 0
defense   = 10
hitpoints = 10
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel  = 0
uk_happy  = 0
uk_shield = 1
uk_food   = 0
uk_gold   = 0
flags = Shield2Gold, IgTer, IgZOC, NonMil
roles = Explorer
helptext  = _(\
Explorers are brave individuals that are very useful for\
 mapping unknown territory.\
)





___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread pepeto

Follow-up Comment #1, bug #16506 (project freeciv):

I copied your unit class and type definition on the default, it works
perfectly with me. Do you have a savegame with instructions step by step to
reproduce?


___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread David Lowe

Follow-up Comment #4, bug #16506 (project freeciv):

Changelog line # 32770 [r12583] and units.ruleset line #80.  Now that i'm
looking at it closer, i see that i had it wrong: Added unit class flag ZOC
for units that are subject to Zone Of Control rules.  So yeah, any unit that
doesn't specify that flag should theoretically already ignore zones of
control?  

But now i see that we don't have a way to flag a unit to not emit a ZOC. 
Perhaps that should be the subject of this bug?

___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread pepeto

Follow-up Comment #5, bug #16506 (project freeciv):

Oh, I didn't understand this like this. But it sounds like you are right. So
this wouldn't be a bug, but a missing feature.


___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread George Koehler

Follow-up Comment #6, bug #16506 (project freeciv):

The default units.ruleset explains ZOC unit class flag:


; ZOC   = Unit is subject to ZOC rules. Unit type flag IgZOC can
;   override this


And IgZOC unit flag:


; IgZOC   = ignore Zones of Control (ZOC) even if unit class has ZOC
flag


ChangeLog has:


Added unit class flag ZOC for units that are subject to Zone Of Control
rules. Previously this was hardcoded to LAND_MOVING. Unit type flag IgZOC
may override this.


 Yet i can clearly recall times when an enemy Explorer has blocked movement
of my Warriors.

This is correct. Explorers have ZOC and IgZOC under the default ruleset.
Explorers can impose zones of control, but Explorers ignore zones of control
imposed by other units.

Under the custom ruleset by Anonymous, Explorers should not impose zones of
control.

 It turns out that NonMil merely means a unit doesn't acquire veteranship
the normal way.

NonMil units will not impose martial law and will not cause unhappiness.
NonMil units can acquire veteranship by the normal way
(veteran_raise_chance, veteran_work_raise_chance and Veteran_Build).

___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread pepeto

Follow-up Comment #7, bug #16506 (project freeciv):

 Under the custom ruleset by Anonymous, Explorers should not
 impose zones of control.

I don't think so. Unit is subject to ZOC rules means that the unit should
respect the ZOC, not it imposes a ZOC, imho.

 It turns out that NonMil merely means a unit doesn't acquire
 veteranship the normal way.

 NonMil units will not impose martial law and will not cause
 unhappiness. NonMil units can acquire veteranship by the
 normal way (veteran_raise_chance, veteran_work_raise_chance and
 Veteran_Build).

They also can move to peaceful territories, but the documentation is
lacking.


___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16506] Non-military units belonging to a class without the ZOC class flag have a ZOC

2010-08-21 Thread David Fernandez

Follow-up Comment #8, bug #16506 (project freeciv):

I also expected that a unit class without ZOC flag would not impose zone of
control, that is why I confirmed the bug.
It seems it is not a bug, we just missunderstood the purpose of the flag.

___

Reply to this item at:

  http://gna.org/bugs/?16506

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev