Announcement

Collapse
No announcement yet.

Trying to create a naval unit that can capture a city

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trying to create a naval unit that can capture a city

    Not sure why Firaxis did not create a naval unit that could capture a city. Seems like a gap. Anyway, I tried to create my own unit with a mod. I see the unit loading to the Units table. And there are no error messages in the log. But when I run the game with the mod, the unit isn't on the tech tree. I don't know what else I can do to troubleshoot why my mod isn't working. I tried attaching it to other techs, but still nothing. Any thoughts? Below is the xml:

    Code:
    
    
    
    	
    	
    		
    			UNIT_NAVAL_KONAREVENGER
    			Kona Revenger
    			UNIT_NAVAL_KONAREVENGER
    		
    	
    	
    		
    			UNIT_NAVAL_KONAREVENGER
    			UNITCLASS_KONAREVENGER
    			15
    			40
    			TECH_HABITATION
    			Kona Revenger
    			Attack cities
    			A boat that can attack cities
    			5
    			UNITCOMBAT_NAVALMELEE
    			DOMAIN_SEA
    			UNITAI_ATTACK_SEA
    			true
    			true
    			true
    			true
    			true
    			40
    			20
    			5
    			5
    			ART_DEF_UNIT_NAVAL_FIGHTER
    			BOAT
    			true
    		
    	
    	
    		
    			UNIT_NAVAL_KONAREVENGER
    			FLAVOR_NAVAL
    			6
    		
    		
    			UNIT_NAVAL_KONAREVENGER
    			FLAVOR_NAVAL_RECON
    			2
    		
    	
    	
    		
    			UNIT_NAVAL_KONAREVENGER
    			UNITAI_ATTACK_SEA
    		
    		
    			UNIT_NAVAL_KONAREVENGER
    			UNITAI_RESERVE_SEA
    		
    		
    			UNIT_NAVAL_KONAREVENGER
    			UNITAI_ESCORT_SEA
    		
    		
    			UNIT_NAVAL_KONAREVENGER
    			UNITAI_EXPLORE_SEA
    		
    	
    
    

  • #2
    I've read it's nine. The game doesn't consider you moving your capital and the AI never moves there's. If you tack that on it's ether 8 or 7 if you picked the perk that allows you to move your capital or not.


    ___________________
    Nawaz

    Comment

    Working...
    X