| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Prince
Join Date: Aug 2005
Posts: 463
|
Can unit appearance change with added items?
I was wondering if a unit picking up an item could change its appearance and I guess attack animation.
For example, if a hero unit picked up an axe in FFH could it be coded so that its weapon changed to an axe? Or more abstractly if spearmen picked up rifles could their weapon and animation change to rifles? |
|
|
|
|
|
#2 |
|
Engineer
Join Date: Oct 2005
Location: Maryland
Posts: 1,235
|
yes.
There are several ways to accomplish this, with different degrees of difficulty and different issues created by it. 1) different units types. you can write a script that when a certain event/action occurs it changes the unit type of the effected unit, thus allowing you to have different graphics and unit abilities. 2) an ability was added in BtS that allows you to change what Unit art is displayed while keeping the unit type the same. this is used for ethnically diverse units in the game and in mods. 3) the third and most difficult method is used in the Afterworld scenario. when creating unit graphics you can create them in such a way as the graphics will toggle parts on and off with the addition/removal of promotions. this one is not able to change the animation used. the difficulty of the first 2 methods is that you need to generate a separate nif(unit art) file for every version of the unit. so if you want one specific hero to display an axe, that requires 1 additional unit, but if you want ANY unit to display the axe it will require hundreds of new units.
__________________
Member of the Fall from Heaven II team with Kael, Chalid, Corlindale, C.Roland, Hexagonian, Loki, Nikis-Knight, Ploeperpengel, SeZereth, Sto, Talchas, White Rabbit, Wilboman and Woodelf |
|
|
|
|
|
#3 |
|
Prince
Join Date: Aug 2005
Posts: 463
|
So if I created an infantry unit with 3 entries and art defines, I could have possession of an item change the appearance.
Infantry_Sword Infantry_Axe Infantry_Rifle Could I do this with an promotion? Specifically I am tryin to create a post-apocalyptic mod where the initial units start out armed only with pistols. Then they would purchase or "find" upgrades (in goody huts) that would grant them a weapon promotion like Assault rifles. I am having a limited number of units by type, the "better" units wouldn't really be better just better armed. Instead of Axemen to Macemen, they would still be Militia, just Militia with Assault Rifles instead of Pistols. Does that make sense? |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Barbarian city/unit appearance | BobTheTerrible | Civ4 - Creation & Customization | 3 | Jan 01, 2008 03:30 AM |
| Can you change the order of items in a city queue? | necrosmith | Civ4 - General Discussions | 6 | Nov 23, 2007 12:11 PM |
| Change unit appearance with new advance | molesworth | Civ3 - Creation & Customization | 5 | Feb 09, 2007 03:25 AM |
| I want to change one of my redlined items | YNCS | Civ4 - General Discussions | 11 | Apr 30, 2006 04:41 AM |
| Appearance of the Explorer unit....?! | DrJambo | Civ3 - General Discussions | 1 | Jan 09, 2002 02:25 AM |