Enable and customize select boxes
#600 Now you can use and custom a select box for infantry, vehicle and aircraft. Not support on buildings.
in rulesmd.ini
[AudioVisual]
UseSelectBox=no ; (boolean)
SelectBox.Shape.Infantry=select.shp ; (filename, includingthe .shp extension)
SelectBox.Palette.Infantry=palette.pal ; (filename, includingthe .pal extension)
SelectBox.Frame.Infantry=0,0,0 ; (frame, green hp, yellow hp, red hp)
SelectBox.DrawOffset.Infantry=0,0 ; (X, Y, positive value is right and down)
SelectBox.Shape.Unit=select.shp ; (filename, includingthe .shp extension)
SelectBox.Palette.Unit=palette.pal ; (filename, includingthe .pal extension)
SelectBox.Frame.Unit=3,3,3 ; (frame, green hp, yellow hp, red hp)
SelectBox.DrawOffset.Unit=0,0 ; (X, Y, positive value is right and down)
SelectBox.TranslucentLevel=0
SelectBox.CanSee=Owner ; (AffectedHouse, who can see it, not include the observer)
SelectBox.CanObserverSee=true ; (boolean)
Remember not for buildings!!!
[SOMETECHNO]
UseSelectBox= ; (boolean, override the UseSelectBrd)
SelectBox.Shape= ; (filename, includingthe .shp extension)
SelectBox.Palette= ; (filename, includingthe .pal extension)
SelectBox.Frame= ; (frame, green hp, yellow hp, red hp)
SelectBox.DrawOffset= ; (X, Y, positive value is right and down)
SelectBox.TranslucentLevel=
SelectBox.CanSee= ; (AffectedHouse, who can see it, not include the observer)
SelectBox.CanObserverSee= ; (boolean)
You can also set it in ra2md.ini
[Phobos]
EnableSelectBox=false (boolean)
It just fix a bug of SelectBrd.DrawOffset
Nightly build for this pull request:
- compiled-dll-62165a7e26e4cf83a37da4c5e769d0a1ca435d2a.zip This comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.
Just for curiosity, why is called "UseSelectBrd" instead of "UseSelectBox" since the feature is called SelectBox ? :-/
Just for curiosity, why is called "UseSelectBrd" instead of "UseSelectBox" since the feature is called SelectBox ? :-/
For some reason I forgot that XD, I had rename this logic. Thanks for reminding.
What's the status of this PR? @FS-21 said >since the last feedback but I can't see any feedback other than the UseSelectBox one?
What's the status of this PR? @FS-21 said >since the last feedback but I can't see any feedback other than the
UseSelectBoxone?
Because I don't find anything to blame the author of the PR. Unless someone find some code improvement to me was ok (the code style)
Have you finished with the changes or not yet? I see some of my comments were unaddressed.
Have you finished with the changes or not yet? I see some of my comments were unaddressed.
Yes, thoes are finished.
Have you finished with the changes or not yet? I see some of my comments were unaddressed.
Yes, thoes are finished.
Well, you didn't address quite a bit of my comments. Fix the issues and then I'll review again.
Please, go over ALL of the comments and address them one by one. If you don't understand what I mean then ask to clarify.
Has been supplemented.
The phrase "Enable and custom select box" bothers me. Is it supposed to be "Enable customisable select box" or "Enable a custom select box"?
The phrase "Enable and custom select box" bothers me. Is it supposed to be "Enable customisable select box" or "Enable a custom select box"?
You need enable it first, then you can custom the selectbox if you want.
Okay so then to be grammatically correct it should be called "Enable and customize select boxes"
Okay so then to be grammatically correct it should be called "Enable and customize select boxes"
OK, thank you.
Every time I want to submit something else, I will be contaminated by it.GitHub is too complex to use for me