Thanks for investigating and no I don't get any .CUR or .ANI appearing just the .bmp files in Trace.txt and sounds like its not worth pursuing if only loaded on startup, and as Evgen reminded me that it used to cause lag for a few players, when I recently dug the coloured cursors mod out the archives for DOR project. I'm tempted to include them in the Mod Pack as an optional extra but I fear someone may inadvertently end up turning on coloured cursors from the Main Options which will crash the game etc.

Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)

C) Add/Sub value to/from var_xxThere is currently only SetVariable var_xx Y.This means that to add a value, like 22+1, currently all possible values need to be checked first, to then set the var one greater/smaller.

D) Unit deploy limitPC default is 10, ps1 uses 8. Would be nice to have this flexible for certain battles.I know its possible to do this with CTL script but it would be much better used here for easy modding.

E) Remove x-gold with check for 0/overflowCurrent max gold is 2^16-1, to subtract gold we have to add 2^16-1-"value to subtract".There is no check for 0/overflow.Would also be nice so that if gold is added over the cap it's to be "ignored", or lots of gold is lost.

F) Modify some basic unit statsWould be nice if we could change current/max number, alive/dead, armour, stats M,WS,etcFor example SOTHR has a mission where units with armour below 3 get +1 armour

G) Add exp to unit

I feel bad for asking so much

Logged

"We are the most civilised race in the world. We have more exquisite ways to kill than any other."Lord Vraneth the Cruel, master of Har Ganeth

C) Add/Sub value to/from var_xxThere is currently only SetVariable var_xx Y.This means that to add a value, like 22+1, currently all possible values need to be checked first, to then set the var one greater/smaller.

D) Unit deploy limitPC default is 10, ps1 uses 8. Would be nice to have this flexible for certain battles.I know its possible to do this with CTL script but it would be much better used here for easy modding.

The problem is that this will be incompatible with the current code because currently I reset the deployment limit when the battle begins loading.Maybe I can move it to the battle end handler, then this problem is solved.

What I could also propose is a "Read WHMTG Variable" function which reads a WHMTG variable into a CTL global variable and then using this to set the deployment limit.

E) Remove x-gold with check for 0/overflowCurrent max gold is 2^16-1, to subtract gold we have to add 2^16-1-"value to subtract".There is no check for 0/overflow.Would also be nice so that if gold is added over the cap it's to be "ignored", or lots of gold is lost.

Was mere ideas/problems is struggled with in the Enhanced Edition mod.It's all WHMTG script related which is already awesome but could really use more functions.Its kinda feature incomplete atm. Especially if we ever want to have SOTHR ported to Dark Omen. The campaign there can go so many different ways.

Checking a variable for all possible values can easy bloat the WHMTG file. Like i do atm to check time passed before most missions to process different events and dialogues. File size is quite close to the size cap which is 3 times the original size i believe.

Operators "=<" and "=>" are not supported i think. At least i never saw those used in the original which rarely uses logic and variables.

Quote

What I could also propose is a "Read WHMTG Variable" function which reads a WHMTG variable into a CTL global variable and then using this to set the deployment limit.

Sure, whatever works best/easy to implement. I tried to make the feature requests close to existing functions which could use some extensions like.

"GetUnitStatus unitID" function checks if unit is alive/dead (offset 0 size 2 in regiment data block).Maybe this could be used to make a "SetUnitByte unitID value" function to set specific bytes. Like leader attributes @offset 127 size 9.

There is currently only a binary choice "yes"/"no" with var_23 set 0 or 1."PlaySFX "Choice one" "Choice two" 29 1 "H_KZ001" 0"Which can be used to build a binary tree but it gets confusing very fast and looks cheap.

SOTHR got i think up to 5 mission choices.

Thanks for reading

Logged

"We are the most civilised race in the world. We have more exquisite ways to kill than any other."Lord Vraneth the Cruel, master of Har Ganeth