thanks for your great work and the fast release of the soulstorm ai.
I've waited to see if you might adress the following problem anyways, but looking at the code it doesn't seem so (no offense, it is a minor inconvenience and has nothing to do with the ai anyways):
- necron lord using his transformation abilities (death bringer/flyer form) loses all xp when reverting to normal (or more exactly, already during transformation resulting in a lvl 1 deathbringer. which probably isn't that bad, this form is nasty already - but when reverting he needs his former lvl back)
- sisters giant floating angel (don't know the english name of her) has the special to be reborn when dying. this also leads to an xp loss. ok, she's uber already but it would be more conform..
- commanders attached to squads lose all xp, don't level up anymore and when detached start at 1 (or up to 3, if theres another general of high enough lvl).. this is the most problematical thing, since some commanders are especially good if attached. my 'dream' solution: commander lvl and squad lvl separate. on attach, lvl difference will be noted. on detach, squadlvl+difference=commander lvl. say squad lvl 1 + commander lvl 4 together will lvl up until squad is lvl 4. then, commander detaches and has lvl 7.. obviously, this also can only work when the commander-unit is unique, not with missionarys or kroot sages (or whatever they're called in english), but it'd still be a great improvement.
EDIT: sorry, I was half-way wrong: commanders don't lose lvls it seems, but the don't lvl up either when the squad does.
I've never done any lua scripting, but tried to solve it by myself. came up with a possibility to keep track of those units xp (since they are all unique, the can be traced by name instead of unit-id), but resulted in them having their former lvl even when completely dead and being rebuilt. Didn't find any way to check if the angel-unit has used her special recently or if the necron lord has ben transformed (and if he has and died in the new form, what then?). so my attempt at patching came to an end, I believe it takes more knowledge of the scar functions than I can muster so far ;-)
It would be great, if you could solve this problem but I'd fully understand if you don't think it matters at all.
if not, I'll experiment a bit further on my own, even though I doubt I can come up with a viable solution, I just can't think of any way and can't seem to find the functions in the scar doc which would help.. (speaking of which: is there a newer reference including the ss functions?)
thanks for all your work and a very much improved gameplay experience!
Ora
Edited by Oranisagu, 10 April 2008 - 11:21 AM.