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 34 35 36 37 3845 >
 

Jul 23 2018, 6:48 pm Wormer Post #701



Can you launch scmdraft with -console the next couple of times you use it, and if it shows up again see if the console displays more detailed error messages?
Running it that way, got no errors yet (but honestly didn't do much map editing these weekend). Is it the same as enable Debug - Show Error Output?

Been using SCMD with an external tool. Thought it was convenient if SCMD checked for map changes. If anything found ask a popup to reload the map. If the map changed externally and there are no unsaved changes in the editor a flag to enable auto-reload next time would be great to have too.

How hard is it to teach text trigger editor recognize a condition Raw Condition() and action Raw Action() of the following signature:

Raw Condition(u32 param1, u32 param2, u32 param3, u16 param4, u8 param5, u8 param6, u8 param7, u16 param9);
Raw Action(u32 param1, u32 param2, u32 param3, u32 param4, u32 param5, u32 param6, u16 param7, u8 param8, u8 param9, u8 param10, u24 param11);


EDIT:
Figures needed a way to feed it a string so an action param2 and param3 could be strings too -- if that are numbers, then action/condition is truly "raw", if it's string some work to search for existing string and add a new one to the table when it's not found have to be done.

Post has been edited 2 time(s), last time on Jul 23 2018, 8:18 pm by Wormer.



Some.

Jul 23 2018, 9:01 pm Suicidal Insanity Post #702

I see you !

Quote from Wormer
Can you launch scmdraft with -console the next couple of times you use it, and if it shows up again see if the console displays more detailed error messages?
Running it that way, got no errors yet (but honestly didn't do much map editing these weekend). Is it the same as enable Debug - Show Error Output?
Ya its the same thing. But show error output doesn't display previous errors yet, I am going to add that next as high priority change (high priority since it makes reporting errors easier).

Quote from Wormer
Been using SCMD with an external tool. Thought it was convenient if SCMD checked for map changes. If anything found ask a popup to reload the map. If the map changed externally and there are no unsaved changes in the editor a flag to enable auto-reload next time would be great to have too.
Notes, no high priority though, since it's a pretty niche case.

Quote from Wormer
How hard is it to teach text trigger editor recognize a condition Raw Condition() and action Raw Action() of the following signature:

Raw Condition(u32 param1, u32 param2, u32 param3, u16 param4, u8 param5, u8 param6, u8 param7, u16 param9);
Raw Action(u32 param1, u32 param2, u32 param3, u32 param4, u32 param5, u32 param6, u16 param7, u8 param8, u8 param9, u8 param10, u24 param11);


EDIT:
Figures needed a way to feed it a string so an action param2 and param3 could be strings too -- if that are numbers, then action/condition is truly "raw", if it's string some work to search for existing string and add a new one to the table when it's not found have to be done.

1: Wouldn't that need a parameter 'action type' / 'condition type'?
2: There is no really feasible way to reference strings for new types of actions / conditions, since that string would not have a reference on map load and would be lost the next time the string table is changed. One iteration of the plugin architecture had a callback for map load to support extended condition / action types and string references, but that has been discontinued due to lack of use.




Jul 23 2018, 9:14 pm Wormer Post #703



Quote from Wormer
Can you launch scmdraft with -console the next couple of times you use it, and if it shows up again see if the console displays more detailed error messages?
Running it that way, got no errors yet (but honestly didn't do much map editing these weekend). Is it the same as enable Debug - Show Error Output?
Ya its the same thing. But show error output doesn't display previous errors yet, I am going to add that next as high priority change (high priority since it makes reporting errors easier).
If that's high priority consider an option to redirect output to a text file.

1: Wouldn't that need a parameter 'action type' / 'condition type'?
That's would be param6 for condition and param8 for action according to chk format on wiki.

2: There is no really feasible way to reference strings for new types of actions / conditions, since that string would not have a reference on map load and would be lost the next time the string table is changed. One iteration of the plugin architecture had a callback for map load to support extended condition / action types and string references, but that has been discontinued due to lack of use.
See the problem. Strings only for known condition/action types is fine.



Some.

Jul 23 2018, 9:28 pm Suicidal Insanity Post #704

I see you !

I'm planning on checking to see if I can make the error message boxes offer to save a minidump + dump the log contents to file.




Jul 23 2018, 9:50 pm Wormer Post #705



Quote from Wormer
1: Wouldn't that need a parameter 'action type' / 'condition type'?
That's would be param6 for condition and param8 for action according to chk format on wiki.

2: There is no really feasible way to reference strings for new types of actions / conditions, since that string would not have a reference on map load and would be lost the next time the string table is changed. One iteration of the plugin architecture had a callback for map load to support extended condition / action types and string references, but that has been discontinued due to lack of use.
See the problem. Strings only for known condition/action types is fine.
To wrap everything around my suggestion for this is:
1. If param8 refers to a known action ID that actually uses the string (wav) -- go ahead and use string specified in param2 (param3) as it should be used (add to the table etc.).
2. In the other case (unknown action or known action that doesn't use string or wav) if param2 (param3) is specified as string -- ignore it and substitute 0 into this field instead.



Some.

Jul 24 2018, 2:27 am O)FaRTy1billion[MM] Post #706

👻 👾 👽 💪

The parameters aren't that totally vague. I'm pretty sure the text/string parameter is only used for text/strings.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jul 24 2018, 2:32 am jjf28 Post #707

Cartography Artisan

Quote from O)FaRTy1billion[MM]
The parameters aren't that totally vague. I'm pretty sure the text/string parameter is only used for text/strings.

That is the case for the text field and the wav field, I made exhaustive documentation: https://docs.google.com/spreadsheets/d/1rDYKxQl8QDk8E5TTxDQq6NeIr_mj6opFN4Hre0q254s/pub?gid=0



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jul 24 2018, 4:29 pm T-Dog Post #708



Hi,

New member here, though I've been working on some custom maps for a while. I have a problem with the newest alpha build (2018.07.16); I'm unable to edit transmission / comment / display text using classic trigedit. It looks like this on my end:


I'm currently using 2018.06.30 version, which still allows me to edit. I'm not sure if the problem is on my end, so I thought I'd ask here. Thanks in advance.




WutFace

Jul 24 2018, 5:37 pm Suicidal Insanity Post #709

I see you !

What OS are you using? Or are you using WINE? Normally all links in the edit trigger window are the same color.

I cannot reproduce that issue, although I suspect it has to do with the Unicode changes since 06/30 was pre Unicode.

If it only happening for those three types of trigger actions, or also for conditions and all other actions?




Jul 24 2018, 5:51 pm T-Dog Post #710



Windows 10 Pro v1803 (OS build: 17134.165)

Affects every trigger actions; I can't change any variables (comparisons, quantity etc) at all. I guess it's about Unicode changes. EDIT: I should clarify that the problem started for me since the next update after 06.30 one, which is 2018.07.08, where the 'Executable built with unicode windows support' was implemented.

Post has been edited 1 time(s), last time on Jul 24 2018, 5:58 pm by T-Dog.



WutFace

Jul 24 2018, 5:58 pm Suicidal Insanity Post #711

I see you !

I'll try to repro on my win10 box. Otherwise you may need to test a few custom builds. I vaguely recall a similar error before, which also happened with a richedit control which used multiple colors, but I think that was wine.


E: Also not happening under win10. Do you perhaps have a 'riched20.dll' in the folder scmdraft is in? (e.g. you have scmdraft directly in the starcraft dir)

Post has been edited 2 time(s), last time on Jul 24 2018, 6:32 pm by Suicidal Insanity.




Jul 24 2018, 8:00 pm T-Dog Post #712



Yes, I have. I tested it by deleting it and now the newest version also works. Although this makes editing transmission slightly more difficult as the color tags became messy (see image below)




WutFace

Jul 24 2018, 8:05 pm Suicidal Insanity Post #713

I see you !

Ok that is a real Unicode port bug - I'll fix that in a sec.




Jul 24 2018, 8:07 pm T-Dog Post #714



Glad to hear it, thanks for the quick replies!



WutFace

Jul 24 2018, 9:54 pm Suicidal Insanity Post #715

I see you !

Uploaded an ANSI build to the irregulars page with support for SC:R ramp doodads.



Post has been edited 1 time(s), last time on Jul 24 2018, 10:06 pm by Suicidal Insanity.




Jul 27 2018, 3:36 am Sie_Sayoka Post #716



For range/vision overlays would it be possible to enter custom fields for them so we can approximate the effects of EUD edited units?

Also would it be possible to create a brush directly from the subtile palette?

Post has been edited 1 time(s), last time on Jul 27 2018, 5:41 am by Sie_Sayoka.



None.

Jul 27 2018, 7:40 am Suicidal Insanity Post #717

I see you !

You would need to mod units.dat to update the vision preview. In theory I could add it to the unit properties editor, but I'm not sure how I would save the data, which means you would need to reenter it all the time :/

Do you mean selecting a block of tiles from the subtile palette?




Jul 27 2018, 7:43 am Lanthanide Post #718



In theory I could add it to the unit properties editor, but I'm not sure how I would save the data, which means you would need to reenter it all the time :/
Since map files are just MPQs, could you not just store it as a simple csv file inside the map? And if the file is there, use the values in it?



None.

Jul 27 2018, 9:03 am Suicidal Insanity Post #719

I see you !

Ya that is one possibility. Or an extra chunk. As I said, I am not sure which method I would use :P




Jul 27 2018, 11:06 am xena326 Post #720





Please restore 'Location View' function again



None.

Options
Pages: < 1 34 35 36 37 3845 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:37 am]
Dem0n -- Topic names are always truncated in the box and there's no reason for the portal news boxes to be so large.
[04:36 am]
Dem0n -- ayy Roy or someone, expand the latest post/productions box width to be 350px
[02:23 am]
Pr0nogo -- even with that, doesn't work
[02:22 am]
Pr0nogo -- trigedit won't compile or throw errors, i'll try with the custom aiscript files imported to the scmd mpq
[02:17 am]
Pr0nogo -- Suicidal Insanity
Suicidal Insanity shouted: Pr0nogo Ahh - I knew you asked then you never talked about it again, so I assumed it worked., But the code looks like it would throw an error.
I'll try this now and see what happens
[02:16 am]
Pr0nogo -- extinguished
[02:00 am]
Lanthanide -- Suicidal Insanity
Suicidal Insanity shouted: Why do I always quote when I want to whisper? :X
why are you whispering all the time? talking smack behind people's back? perhaps if you can't say what you want to say in public, you shouldn't say it at all
[01:15 am]
O)FaRTy1billion[MM] -- tbf they are tiny tiny icons
[06:16 pm]
Suicidal Insanity -- :P
[05:59 pm]
Dem0n -- Well it seems like you're pressing the wrong button.
Please log in to shout.


Members Online: Corbo, Roy, KrayZee, Dem0n, hassanswalter, Lost_Angel