Staredit Network > Forums > SC1 Mapping Tools > Topic: scmdraft - 0.9.0 info + nightly download (Post small feature req
scmdraft - 0.9.0 info + nightly download (Post small feature req
Apr 9 2017, 9:27 am
By: Suicidal Insanity
Pages: < 1 43 44 45 46 4753 >
 

May 6 2019, 12:50 am xena326 Post #881



1.

I want you to add the full screen function

2.
Failed to get ImageSize ( http://i.imgur.com/zr68Bdm.gifv )
Is it possible to develop a random brush function? This feature makes it easier to create maps.

Also 'Cut\Copy\Paste\Brushes' is dark.

Post has been edited 8 time(s), last time on May 6 2019, 3:20 am by xena326.



None.

May 6 2019, 7:28 pm Suicidal Insanity Post #882

I see you !

1: Not sure I will add that - it renders the full resolution map and downscales it.

2: I can add it to the idea list - no promises it will be done

3: That is probably the fog of war inclusion - it may go away if you uncheck the 'fog of war' checkbox in the copy / paste layer. I'll see about only enabling it if the brush included fog of war in the future.




May 7 2019, 10:33 am xena326 Post #883



1: Not sure I will add that - it renders the full resolution map and downscales it.

2: I can add it to the idea list - no promises it will be done

3: That is probably the fog of war inclusion - it may go away if you uncheck the 'fog of war' checkbox in the copy / paste layer. I'll see about only enabling it if the brush included fog of war in the future.


The third one is solved. Thank you. :)

I don't know about the first one, but I'd appreciate it if you could develop the second one. It will be very, very, very important for map making for a long time.

I praise you on your hard work.



None.

May 7 2019, 11:52 am Suicidal Insanity Post #884

I see you !

Maybe some sort of hotkey for 'randomize current selection', which does the following depending on context:

Doodads - random doodad from the current active group
Brushes - random brush from the current active group
Terrain indexed mode: random tile from the current active row. (Is this useful?)

Probably less useful for sprites / units / fog of war.




May 7 2019, 4:27 pm Pr0nogo Post #885



If you could allow users to set custom ranges for active row, that would be pretty nice. Guess it's better for it to just be a brush though. Random brush selection is really useful imo.




May 8 2019, 10:43 am xena326 Post #886



Quote from Pr0nogo
If you could allow users to set custom ranges for active row, that would be pretty nice. Guess it's better for it to just be a brush though. Random brush selection is really useful imo.

I agree with this opinion, too. Let's apply it to brushes only.



None.

May 11 2019, 12:04 am Suicidal Insanity Post #887

I see you !

Why not also doodads?




May 11 2019, 5:38 am xena326 Post #888



It's good if possible.



None.

May 14 2019, 10:42 pm Suicidal Insanity Post #889

I see you !

Here is an experimental build which treats all text as Korean even if the system is not set to Korean. Mostly as a proof of concept for a configurable map language setting in the future:

download

I can create a similar build for other languages if anybody wants to test whether it works or not.




May 15 2019, 6:30 am Suicidal Insanity Post #890

I see you !

Note: make sure to backup your map before testing, it is very experimental!!




May 15 2019, 10:35 pm Suicidal Insanity Post #891

I see you !

Updated the implementation, now it has a command line switch, -charEncoding=XXX, for example 949 for Korean, or 1251 for Russian, new file is here.




May 20 2019, 4:33 am Arta(M) Post #892

wut's tis

Updated the implementation, now it has a command line switch, -charEncoding=XXX, for example 949 for Korean, or 1251 for Russian, new file is here.
Is UTF-8 encoding also supported? In StarCraft: Remastered, string section support UTF-8 encoding, and in-game string modification/concatenation by EUD requires UTF-8 encoding to work.



maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

May 20 2019, 7:33 am Suicidal Insanity Post #893

I see you !

I have not tested it yet, but it should work. Use 65001. That will decode all existing text as UTF-8 though, so if the map currently is encoded with something else it won't work. I may still add a Korean text detection algorithm similar to what SC:R uses for autodetect.

E: Oh and let me know how it goes.

Post has been edited 1 time(s), last time on May 20 2019, 9:47 am by Suicidal Insanity.




May 27 2019, 11:25 pm Suicidal Insanity Post #894

I see you !

New version, it enables the compile option for masked EUDs in classic trigedit, those should work fine.

I also attempted to add them to text trigedit - brief testing looks like they work, but its late and I'm tired and may have missed something.

Syntax for EUDs in text trigedit is:

Conditions:
Memory(3651, Exactly, 256); // Legacy - index relative to death table

MemoryAddr(0x0058dc70, Exactly, 0); // Absolute offset

Masked MemoryAddr(0x0058dc70, Exactly, 0, 0x0000ff00); // Apply bitmask to data before checking condition truth value


Actions:
MemoryAddr(0x0058dc64, Add, 4); // Normal EUD

Masked MemoryAddr(0x0058dc70, Add, 1, 0x000000ff); // Apply bitmask to result - if I recall correctly it then ORs it with the inverse masked existing data


This is code of my ancient test map





Jun 6 2019, 12:52 pm Arta(M) Post #895

wut's tis

I have not tested it yet, but it should work. Use 65001.
Running SCMDraft 2 with -charEncoding=65001 shows warning messagebox with following text;
12:48:35.0192 - Warning::Unable to set the encoding to codepage 65001



maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

Jun 6 2019, 1:04 pm Arta(M) Post #896

wut's tis

Korean characters look broken in TrigEditPlus, no matter how I set charEncoding to 949, 1251 or 65001.




maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

Jun 6 2019, 3:25 pm Suicidal Insanity Post #897

I see you !

Unfortunately the setting does not apply to external plugins. I hope to work with trgk to find a good method of allowing his plugin to use the setting that is set in scmdraft. I'm still experimenting with methods of doing that with the normal text trigedit though.


I assume you are not using a native korean windows. If you are, then maybe something else is not working and I have to look into it.




Jun 10 2019, 10:08 am trgk Post #898



Hello SI, LTNS!

I think the problem can be solved by adding SCI_SETCODEPAGE code to TEP.
What's the current API for getting SCMDraft2 locale?



EUD

Jun 10 2019, 8:45 pm Suicidal Insanity Post #899

I see you !

I don't have an API yet. Although you could try seeing if you can access the command line and parsing that.

However that won't help because the string functions exported to the plugins are wrapped in conversion functions from local codepage to UTF8, for backwards compatibility. The plugin will need to use different ones that do not do that which I still have to invent.




Jun 11 2019, 7:41 am trgk Post #900



TEP currently assumes that STR strings are encoded in codpage 949 (EUC-KR), not UTF-8.
So for backward compatibility strings should be encoded to EUC-KR, rather than UTF-8.

Maybe I could make an UTF-8 version of TEP.



EUD

Options
Pages: < 1 43 44 45 46 4753 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:41 pm]
razorback9423 -- NudeRaider
NudeRaider shouted: MTiger156 power over:wob:ing?
No, POWER UNDER :wob: ing!
[12:53 pm]
NudeRaider -- MTiger156
MTiger156 shouted: Power over:wob:ing
power over:wob:ing?
[12:27 pm]
MTiger156 -- crap...
[12:27 pm]
MTiger156 -- Power over:wob:ing
[11:50 am]
UEDCommander -- WARNING: Unit Unplaceable! (u) (69, 69)
[2019-9-20. : 9:26 am]
lil-Inferno -- :wob:
[2019-9-20. : 8:25 am]
Black_Overseer -- razorback9423
razorback9423 shouted: WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
You have no power here, Gandalf the Grey.
[2019-9-20. : 5:43 am]
razorback9423 -- WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
[2019-9-20. : 5:27 am]
razorback9423 -- stop
[2019-9-20. : 5:27 am]
NudeRaider -- :wob: you can't :wob: us
Please log in to shout.


Members Online: Roy, T-warp, C(a)HeK, efixonu, nugets419112, UEDCommander