• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Quick Answers / 'Newbie' Questions

Just popping in, but the way I understand it is that first strikes act essentially like armor. Combat works normally but if the unit with more first strikes loses an early round it doesn't take damage (damage is determined by strength. equal strength inflicts 20 damage per round, units have 100 hp) If a unit has 1-2 first strike chances versus someone with none (and no immunity), the unit is protected from taking damage in the first combat round but does not carry over if it were to win. A first strike chance has 50-50 chance of working properly, assuming equal strength units that means a 25% chance to make a difference and not take damage in one round.
 
I see first strikes as ninja moves. Faster than your opponent to block their attacks. Hiyaaa. *slap*
 
I've seen a medic promotion chosen before, but I remember thinking it wasn't placed very well. I'm not sure if I've ever seen it otherwise. Sorry for the very anecdotal reply to your question.
I know that I've never seen it, she said, also anecdotal-ly...
 
Hi everyone,

I've been modding a couple years and been encountering the following prob lately - while testing in-game, I noticed my units seem to duplicate throughout various menues, in particular, inside city screens (where you would select which units to build), as well as the tech tree, where, for reasons unknown to me, simply some generic units appear in large numbers, but with identical stats and imagery (such as tanks, paratroopers, infantry, bombers, fighters,...).

Have a look at my screenshots, please:

Does anyone know the cause of this?

My best guess would be the DEFAULT_UNIT tag in UnitClasses.xml, it's the only tag where all those generic units are used more than once, but I don't see why that would have such a dramatic effect.. :(

Kind Regards,
Elorian

I'Ve moved it to this forum:
http://forums.civfanatics.com/showthread.php?p=12062923#post12062923
 

Attachments

  • Civ4_BtS_v319_MODProbs01_DuplicateUnits.jpg
    Civ4_BtS_v319_MODProbs01_DuplicateUnits.jpg
    72.9 KB · Views: 208
  • Civ4_BtS_v319_MODProbs02_DuplicateUnits.jpg
    Civ4_BtS_v319_MODProbs02_DuplicateUnits.jpg
    156.6 KB · Views: 128
Someone posted recently in some thread (sorry, can't recall) that barbs cannot build culture buildings "except in extreme cases" (whatever that meant), but in my last game a barb city had level 3 cultural borders (300+ culture, marathon numbers). The city was a former capital (a barbarian spawn event wiped them out, and in fact, that happened twice in that game :eyeroll: ), so at first I thought 'captured wonder' until I realized captured wonders don't give culture.
In other games, though, I've seen double-digit pop barb cities that haven't popped once yet. So what is the truth on barbs and culture buildings?
 
Someone posted recently in some thread (sorry, can't recall) that barbs cannot build culture buildings "except in extreme cases" (whatever that meant), but in my last game a barb city had level 3 cultural borders (300+ culture, marathon numbers). The city was a former capital (a barbarian spawn event wiped them out, and in fact, that happened twice in that game :eyeroll: ), so at first I thought 'captured wonder' until I realized captured wonders don't give culture.
In other games, though, I've seen double-digit pop barb cities that haven't popped once yet. So what is the truth on barbs and culture buildings?
They can build monuments, so the aforementioned post wasn't exactly accurate. But captured buildings never grant culture, you're absolutely right.
 
See this post for accurate list for what allowed or not for barbarian team.

Whoah soo barbarian faction seems to have executives units available ? Is it not copy-paste code error on dev's part or they really can develop corporations :lol:

I'm speaking of this part ofc:

Spoiler :
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_1</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_2</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_3</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_4</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_5</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_6</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_7</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>


;)
 
Whoah soo barbarian faction seems to have executives units available ? Is it not copy-paste code error on dev's part or they really can develop corporations :lol:

I'm speaking of this part ofc:

Spoiler :
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_1</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_2</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_3</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_4</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_5</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_6</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXECUTIVE_7</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>


;)
Tachy's post actually lists the blocked buildings and units. Hence the <UnitType>NONE</UnitType>.
 
Tachy's post actually lists the blocked buildings and units. Hence the <UnitType>NONE</UnitType>.

Please explain :confused: I am not a super-XML-hacker - code diving all-knowing individual ;) I'm just an ordinary player. I wish to understand the mechanichs behind the game and how I can use it to profit hehe :mischief: ^^

Awwwwright Tachy made his point ! ;) He had broke the game to pieces and brought them together and have understood them. I am just inferior being trying to understand all the process and it seems to me overcomplicated, overthinking, overabusing all the same. It is supposed to be fun not mathematics hehe :D

;)
 
Interesting. Thanks for the help Tachy. It's interesting to note that the forbidden palace is the great palace in the code. If unforced error is right that every thing listed with none (everything in the list) is unavailable to barbs, this answers another thread, barbs with nukes, because nukes are listed in the none category. As are workboats, which explains the crappy barb coastlines. But also, every bit of airforce, every bit of navy except galley, and most ground units. They can't even have chariots. Oddly they can rifles but not muskets. They can't have pikemen. Is this list truly accuate? It seems very random. They can have monuments but not libraries. Etc
Edit:concerning the bolded text, I now see that's where the post Tachy directed me to came from. He was answering the barbs with nukes thread, lol.
 
Look i have never experienced barbs with nukes and I do not hell care if it is possible in the game code XML or not ! Golly You seem to be mesmerized by the code argh listen You ! There is no code to play with along ! Thw whole experience of playing the game is actually to experience the unsuspected and adapting Your strategy to it !!! Listen if You know all the secrets behid the game would it be interesting for You or not ?
 
Please explain :confused: I am not a super-XML-hacker - code diving all-knowing individual ;) I'm just an ordinary player. I wish to understand the mechanichs behind the game and how I can use it to profit hehe :mischief: ^^

Awwwwright Tachy made his point ! ;) He had broke the game to pieces and brought them together and have understood them. I am just inferior being trying to understand all the process and it seems to me overcomplicated, overthinking, overabusing all the same. It is supposed to be fun not mathematics hehe :D
;)
So don't bother with program codes or xml, just play :). In this case, however, there is no special Maths involved. The xml extract Tachy linked in her previous post simply lists the specialities of the Barbarian civilization whch also contains the buildings (and units) they cannot build.
 
So don't bother with program codes or xml, just play :). In this case, however, there is no special Maths involved. The xml extract Tachy linked in her previous post simply lists the specialities of the Barbarian civilization whch also contains the buildings (and units) they cannot build.

Build or not to build seem to be the question ! ^^ I have always builded ! hehe To build is to thrive - survive - revive - thrive is the game and ALL playing it no matter what the rules ^^ I'm just about some crazy individual who is at some point is his/her live dream about world domination ^^ THis is what keeps me addicted to Civilization game - it is soo awesome ^^ I guess I am just another megalomaniac ... :mischief:
 
Adamcrook is schizoid.

The thing God-Emperor was pointing out in that thread I linked is the difference between a UnitClass and a UnitType. For instance, all civs have Swordmen as unitclass but some have those swordmen replaced by preats or gallic warriors: that's a UnitType. The UU thing he referred is most received a normal swordman as UU, but some are replaced by other things.

As you can see, in that barb list, all unitClass are NONE, which means they are not even allowed to have the normal units nor the UU (in normal terms like the Impi, prear, etc.).
 
Back
Top Bottom