June 25, 2019, 08:45:40 PM

Username
Password

Pages: 1 ... 4 5 [6]   Go Down
Print
Author Topic: Mod Selector  (Read 48915 times)
0 Members and 1 Guest are viewing this topic.
Ghabry
Developer
*
Offline Offline

Posts: 1014



View Profile
« Reply #75 on: June 01, 2017, 12:22:28 AM »

Do you also see entries of ".CUR" or ".ANI" files in "Dark Omen\Graphics\Cursors" redirected? FindFirstFile is usually part of the "Your DO install is incomplete" check.

Looks like Cursors are created with "LoadCursorFromFileA" and if this doesn't go indirectly through CreateFile or MapViewOfFile it's not redirected.

And looks like the cursors are only initialized on Dark Omen startup, so changing the mod would not change them back.

Actually I like that they aren't redirected because this is imo a user decision which kind of cursors they want.
« Last Edit: June 01, 2017, 12:27:08 PM by Ghabry » Logged

olly
Global Spokesperson
*
Offline Offline

Posts: 1921



View Profile
« Reply #76 on: June 01, 2017, 06:01:04 PM »

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.

Smiley
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)
Malus
Campaign Creator
*
Offline Offline

Posts: 93



View Profile
« Reply #77 on: June 08, 2019, 10:26:42 AM »

I kindly request the following features for WHMTG scripting


A) Increase var_xx up to 32 (or more)
It's currently maxed at 24 total, var_00 to var_23. Very easy to run out of vars in more advanced mods.

B) CaseSwitch for var_xx
I only tested var values up to 32 but this already leaves so many possible values that the simple var check
Code:
ReadVariable var_00
IF == 0
<do this>
ENDIF
IF == 1
<do this>
ENDIF
and so on
Takes forever to do if vars are used greater than binary.

C) Add/Sub value to/from var_xx
There 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 limit
PC 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/overflow
Current 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 stats
Would be nice if we could change current/max number, alive/dead, armour, stats M,WS,etc
For 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  Tongue


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
olly
Global Spokesperson
*
Offline Offline

Posts: 1921



View Profile
« Reply #78 on: June 08, 2019, 10:55:56 PM »

Would be great but not sure if it's all possible but will investigate.

Smiley
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)
Pages: 1 ... 4 5 [6]   Go Up
Print
Jump to: