URL:
<http://gna.org/bugs/?13890>
Summary: [Patch] Transform unit
Project: Freeciv
Submitted by: cazfi
Submitted on: Tuesday 07/07/2009 at 02:59
Category: None
Severity: 3 - Normal
Priority: 1 - Later
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Operating System: None
_______________________________________________________
Details:
Attached patch makes it possible for units to transform in to other units.
I needed this to make something like "Cannon build crew" unit which, after
built in city, can move to site where cannon should be placed. Then the crew
transforms itself in to immobile "Cannon" unit. Cannon cannot transform to
anything.
Of course this new moddability feature can be used to many other things as
well, as long as AI's inability to use this feature is not a problem.
As implemented in this patch, transforming takes no time. It works like unit
upgrade does (sharing most of the code with upgrading).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 07/07/2009 at 02:59 Name: TransformUnit.diff Size: 15kB By:
cazfi
<http://gna.org/bugs/download.php?file_id=6156>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13890>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev