Posts: 1 773
Threads: 140
Joined: 22 Nov 2004
Reputation:
Marshall Wrote:With regard to the new GUI checkbox, maybe this opens up the possibility of adding a DisableableFromShell2= to the menu,
<!-- random thought follows -->
A generic solution would be Code: [NewCheckboxes]
0=MyCheckbox
1=MinorSW
[MyCheckbox]
UIName=GUI:Boop
[unitX]
DisabledBy=MyCheckbox
[unitY]
Requires=MinorSW
or similar...
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
i don't think you can add checkboxes that easily at runtime, would be far too complicated
Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
I can imagine. What about adding several predefined checkboxes that can be made visible at runtime if the mod dictates it?
Code: [NewCheckboxes] ;default is not visible
0=Visible ;DisableableFromShell2
1=NotVisible ;DisableableFromShell3
2=Visible ;ShroudRegrows
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Posts: 1 773
Threads: 140
Joined: 22 Nov 2004
Reputation:
pd, correct me if I'm wrong, but isn't creating them as easy as calling CreateWindow/Ex for each list item?
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
I'm not sure about that, but what about handling routines? positioning? variables? etc etc...
Posts: 832
Threads: 68
Joined: 10 Jun 2006
Reputation:
23.06.2006, 12:05:38
(This post was last modified: 23.06.2006, 17:55:05 by VK.)
DCoder Wrote:pd, correct me if I'm wrong, but isn't creating them as easy as calling CreateWindow/Ex for each list item? Because it is not simple Check Box is Check Box with OwnerDraw and it should be registered in the controls table
The best way to intercept the message on creation of dialogue and to add it there before init OwnerDraw sub-system
At last the best way - to make it as HTML (using IWebBrowser2 for example)
But it is very difficult...
pd Wrote:i stated this somewhere once, the patch is going to use rp.csf as its stringtable.
I planned to make it use rp.mix as its mix file, but I dunno yet whether I could get it working. I should be able to, thoguh
Simple addition of a code of loading similar RA2MD.MIX does not work?
ARM forever - x86 sucks!
Posts: 1 921
Threads: 273
Joined: 21 Nov 2004
Reputation:
Thou shalt not double-post.
Forum Rules
(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!
(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Posts: 1 571
Threads: 16
Joined: 12 Feb 2005
Reputation:
how the hell is he suposed to know the forum rules anyway, the links been gone since you updated from the awsome old board to this crappy 1, and he registered long after that.
Posts: 1 773
Threads: 140
Joined: 22 Nov 2004
Reputation:
No, it hasn't, it's still under "Help" - "The Basic Rules".
(I have to agree on the "crappy" factor, though.)
Posts: 1 921
Threads: 273
Joined: 21 Nov 2004
Reputation:
Maybe "I am the Ren thy Admin" wasn't as catching as it could have been. Nevertheless, just because he didn't the rules doesn't make them invalid...do you know all your country's laws? A simple search for rules would have sufficed. Then maybe he would've been unable to filter out modding-related threads by headline. So he'd have gotten all despaired and would've looked for something to help him...clickz0rz Help...OMFG look! An entire section rules!
That is, if we assume he actually tried to find the forum rules...which we all know is not the case.
P.S.: There was also a quote in STX's intro to network services...
Did you know... Wrote:...that in the same line, the link „Help“ leads to a page where not only you are
helped with certain standard tasks of the forum, but also our rules are saved?
Forum Rules
(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!
(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
k, to get ontopic again:
ImmunityTypes are done.
VeteranGetsBounty=yes/no and EliteGetsBounty=yes/no are added.
To the lazy people: there will be no global flag for that right now. There's copy-and-paste, remember? You might even be able to use search+replace if you got an editor that supports multi-line replacements...
I'll be focussed on bugfixes now, and look what I can do. I can't promise everything will get fixed.
For instance, I can't fix train bridges, since I neither got knowledge about how bridges work nor what jonwil did to add train bridges. I'll have to look into them when I know more about overlay and tile stuff and so on. Sorry to the people who wanted to use it.
Posts: 453
Threads: 11
Joined: 26 Jan 2005
Reputation:
Is it possible that you could undo what Jonwil did so that wood bridges work correctly? With the current patch installed, even if you don't have the TX, wood bridges can't be repaired.
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
yes, that is possible.
maybe it's even better.
what I have to know though if everybody agrees with this, I don't know whether the feature is used at all.
once I know more about overlay, tiles, and so on I might be able to throw a look into all this again.
oh, and I want to be sure that jonwil doesn't feel offended if I remove this.
Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
For the sake of stability and completeness, I think it is more correct to leave a new feature out, than to break an original feature.
Hopefully Jonwil's work will help lead to fully working train bridges in future.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Posts: 56
Threads: 3
Joined: 25 Feb 2006
Reputation:
I agree, It is better to record and remove it then to leave it and have it cause problems.
|