Some Greek Units

Hi there.
I m greek,therefore happy to see these nice units!:D
However,a guy from here,made a mod that includes the 300 spartans and other units as a legend.i dont remember the mod's name.There were other legends too,like the red baron and the bismark.
My question,is possible to create a unit with unique skills,totally unique in the world,built only once for the first civilization to complete it just like the world wonders?
(300 spartans for example)?
 
Hi there.
I m greek,therefore happy to see these nice units!:D
However,a guy from here,made a mod that includes the 300 spartans and other units as a legend.i dont remember the mod's name.There were other legends too,like the red baron and the bismark.
My question,is possible to create a unit with unique skills,totally unique in the world,built only once for the first civilization to complete it just like the world wonders?
(300 spartans for example)?

There certainly is a way to do this, and some mods actually feature such units. But this is not really the place to ask, and I am not sure if Bakuel knows how to do this specifically.
 
Hi there.
I m greek,therefore happy to see these nice units!:D
However,a guy from here,made a mod that includes the 300 spartans and other units as a legend.i dont remember the mod's name.There were other legends too,like the red baron and the bismark.
My question,is possible to create a unit with unique skills,totally unique in the world,built only once for the first civilization to complete it just like the world wonders?
(300 spartans for example)?

Thats phungus420's Legends of Revolutions mod (and my 300 spartans:)). You can ask how all the legends are handled in the mod there. Follow link to the LoR development thread.
 
My question,is possible to create a unit with unique skills,totally unique in the world,built only once for the first civilization to complete it just like the world wonders?
(300 spartans for example)?

First you need to be able to add in a new unit. This is a very good tutorial on it, and actually the first thing I did when I started modding Civ4.
Guide To adding new Units

After you get your unit in the game and working the way you turn it into a single instance "Wonder' unit is fairly straight forward and easy:
In Unit Class infos you have entries like this:
Code:
		<UnitClassInfo>
			<Type>UNITCLASS_MY_UNIT</Type>
			<Description>TXT_KEY_UNIT_MY_UNIT</Description>
			[B]<iMaxGlobalInstances>-1</iMaxGlobalInstances>[/B]
			<iMaxTeamInstances>-1</iMaxTeamInstances>
			<iMaxPlayerInstances>-1</iMaxPlayerInstances>
			<iInstanceCostModifier>0</iInstanceCostModifier>
			<DefaultUnit>UNIT_MY_UNIT</DefaultUnit>
		</UnitClassInfo>
The bolded iMaxGlobalInstances variable sets the number of units that can ever be built in the world. -1 means unlimited, and will be what's there for most units. To make a unit a "Wonder", simply change this to 1. A similar system exists for buildings. One thing to note the civilopedia wol't sort the list for units automatically and create a new Wonder Unit category, you'll need to program that in Python if you want it. But since you'd be doing this for your own private mod, I doubt minor aesthetic issues like the Civilopedia entries would matter.
 
Thanks for answering makrisgialos's question in depth phungus420, it has been a year or so since I did any major xml work.
I'm a unit graphics guy, it's all I do really. :lol:
 
First you need to be able to add in a new unit. This is a very good tutorial on it, and actually the first thing I did when I started modding Civ4.
Guide To adding new Units

After you get your unit in the game and working the way you turn it into a single instance "Wonder' unit is fairly straight forward and easy:
In Unit Class infos you have entries like this:
Code:
		<UnitClassInfo>
			<Type>UNITCLASS_MY_UNIT</Type>
			<Description>TXT_KEY_UNIT_MY_UNIT</Description>
			[B]<iMaxGlobalInstances>-1</iMaxGlobalInstances>[/B]
			<iMaxTeamInstances>-1</iMaxTeamInstances>
			<iMaxPlayerInstances>-1</iMaxPlayerInstances>
			<iInstanceCostModifier>0</iInstanceCostModifier>
			<DefaultUnit>UNIT_MY_UNIT</DefaultUnit>
		</UnitClassInfo>
The bolded iMaxGlobalInstances variable sets the number of units that can ever be built in the world. -1 means unlimited, and will be what's there for most units. To make a unit a "Wonder", simply change this to 1. A similar system exists for buildings. One thing to note the civilopedia wol't sort the list for units automatically and create a new Wonder Unit category, you'll need to program that in Python if you want it. But since you'd be doing this for your own private mod, I doubt minor aesthetic issues like the Civilopedia entries would matter.



A hundread thousand thanks is not enough.I dont want to mess with python however.I dont know how to edit that,and i feel very small in comparison with all you too guys.Therefore i think that for my own,personall mod in order to create unique-world wide units,python should be changed?i hope not.Also,civilopedia inddeed does not matter and dont really care for aesthetics as well in my mod.I would say that you have read my mind completely without telling you anything.
Thank you for explanation!
 
IIRC, an issue with doing wonder units that way is that when they die they can be rebuilt. The mod Rise and Fall of the Roman Empire has an issue with that. In the 200AD scenario, I've killed the Dacian hero Dromihete 4 times by 300.
 
OOOOOOOOOOOOOOOOOOOOOOOOOO:


Well yes,you re right.
I havent thought that at all.
Lets suppose that if you manage to kill the 300 garrison,then a civilization with plenty resource production will be,yes,easy to built them again.
I think this is a bug we must avoid.But i m not sure if we will be able to do so.
 
@Bakuel: in any of your source material for these units did you find any type of greek siege weapons or for that matter any greek muskets? Or were you only focusing on early melee/mounted units?


@makrisgialos: Legends of Revoution does not have this problem. The legend units can only be built once. Once they die, thats it, their legend has come to an end.
 
Achilles:

Thx for helping me,but i dont want to use that mod you just said.I want to use only pieces of it,cause a friend of me has set up the python for enhanced tech conquest,in a way that each time i conquer a new city,my civ gains automatically a tech from that civilization.In order to make this,i must set up python for both tech conquest and legends,and i dont know to edit python.
Thanks again for your advice :) .
 
I also finished a old request by primordial stew

Thraex,

thraexpic0_dWm.jpg


http://forums.civfanatics.com/downloads.php?do=file&id=12700


Please tell me if there is anything wrong with the units or download and feel free to comment state what you like, hate, what you would have done differently and so on.

That is AMAZING! I'm definitely going to use this as Rome's 2nd UU, the Gladiator, replacing axeman. After all, when you think Rome you think Colosseum, and when you think Colosseum, you think Gladiators. Excellent job :goodjob:.


What kfm does it use? Swordsman, Quecha, Praet?
 
With regards to Wonder units:

Giving them a iMaxGlobalInstances of 1 makes them buildable once, ever, if they die, they cannot be rebuilt. It functions exactly the same with buildings, ie, this is how Great Wonders are set up. In terms of my reference to python, is just about how things look in the civilopedia, doesn't effect gameplay at all. I only bring it up because if you set that variable to 1 for buildings, it gets sorted in the Great Wonders category automically in the civilopedia, but with units, the unit just stays in the regular units section. If you do want the game to seperate out a new category (like is done with great wonders) that requires python programming. But since you are asking about a personal mod, I doubt civilopedia presentation is an issue, so you can just ignore it :)
 
THats odd, it doesn't work like that in Warlords. But anyhow, off topic.
 
mechaerik, I'm glad you like the unit, the Thraex uses the Charlemagne Heavy Swordsman animations so point the xml to that kfm file.

@achilleszero I'm only creating units for the early ages at the moment. I really don't know what I would make for greek musketmen, but for the riflemen era, Greek Armatoloi from the war of Independence would be very cool.
http://en.wikipedia.org/wiki/Armatoloi

The Greeks used a lot of siege weapons, here is a essay that has some useful diagrams and pictures, just scroll down. I don't really make machines or ships though, I just stick to humans.
http://www.mlahanas.de/Greeks/war/CatapultTypes.htm
 
You know it's really only in modern popular culture, perpetuated by video games, where we get the notion of the ballista being a siege engine. It's use on the battlefield was more akin to a sniper, where they would target high profile enemies and skewer them. More useful as terror weapon then for practical projection of force; in war, especially the ancient close quarter melee combat battles of pre industrial times, psycology was often the most important part of achieving victory.
 
Back
Top Bottom