 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
DP
Last edited by Pedrunn on 13-09-2002 at 01:42
|
|
|  |
 |
|
Turambar
|
|
England
Apr 2002 time: 05:22
|
|
I've already got a "leader" type unit that upgrades to a new better unit the more it fights. It works so far though there a lot more things I plan to do with this unit and others........
|
|
|  |
 |
|
Turambar
|
|
England
Apr 2002 time: 05:22
|
|
quote: Thats a cool thing uve done there. Can you make it so its like the Civ3 version though, where a great leader is created after certain triggers eg one of ur UU's (unique units) wins a battle or one of your ELITE (Since this can be done now Pedrunn ) wins a battle. |
I do have plans for you to be able to get Leaders from normal units fighting but currently you get one when each city is built and when they die.
I also plan to make it so you can only have one leader per stack (as you don't want more than one person as the leader of your army) though telling the AI this could be more tricky.
I have possible plans for UU's but not like Civ3.
|
|
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
How to create? Creating new a unit just like the other but stronger if the unit wins a battle and deserves to upgrade.
How to know if it does deserves to upgrade? Using global variabal we can set a experience level for every unit or we could just make it a random chance.
How to know the level of the unit? since the code base on new units we can make a tga for every unit level. I though in chnging the unit pic background or having little dark stars that light up every time the unit upgrades every unit level.
The code is very easy to do but very time consuming. Specially to make new unit entries and pictures with stars for every. And has to be doen for each mod.
Turambar, i totally forgot but i was going to send this code i made based on a IW code a couple of months ago. wich creates a leader unit depending on the event. I hope you enjoy decoding it. The creation of the unit works but i am not sure if the decrease of happiness when they get killed part is working.
Leaders make the units over under his stack veteran. It is the first event handler of the code.
Attachment: leader.slc
This has been downloaded 5 time(s).
Last edited by Pedrunn on 13-09-2002 at 03:04
|
|
|  |
 |
|  |
 |
|  |
 |
|  |
All times are GMT. The time now is 05:22. Apolyton Time is 00:22. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|