
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
This topic is about small hidden features in ScmDraft. The newest feature/bug request topic has spawned some interesting functions, but I'd rather have them discussed here than in the topic.
- Option to disable the profiles page. It's just an extra click to me every time I open the map editor.
I, too complained about this. Rather than add such an option in a logical place inside the program, SI told me about this handy trick. Edit your shortcut or command that opens SCMD2 and make it "C:\path\to\SCMDraft2\ScmDraft2.exe -profile=default"
Adding the -profile=default switch will bypass profile selection.
Well, it is nice to know... But this does not solve the problem when you open a map via double click. Or is there a way to apply command line parameters when double clicking?
You can apply parameters for specific filetypes. This is how you do it in Windows XP:
Open an Explorer window --> Tools --> Folder options --> File Types --> .scm/.scx --> Advanced --> Edit... -->
In the field "Application used to perform action" add "-profile=default" --> OK --> OK --> Close
If you got not "Advanced" button, press "Restore Defaults" and it turns into "Advanced".
When editing properties of multiple units you can hit [Del] to delete the unit(s) that you have selected in the list.
Make a button in text trigger editor to copy the whole text into clipboard

ctrl+a then ctrl+c already copies all to the clipboard.
Hotkeys for Classic TrigEdit:
C already does copy, D does delete, U moves them up, and O moves them down, all your hotkeys are already there, just with different keys.
Wormer pointed out that you can press a number key (like a hotkey) to change the player. This also affects the unit you are about to place (attached to the mouse cursor).
Moose added that you can enter the player number directly into the player dropdown box in the map editor.
Have you known you can use colors in locations names?

While having a unit selected press ctrl then any arrow key to move it a grid space in that direction
If you hold down the Ctrl key and click a square of terrain it brings you to that square in the tileset index.
Hold control to draw fog of war for all players.
Post has been edited 8 time(s), last time on Apr 8 2010, 10:43 am by NudeRaider. Reason: update
Options -> Profile Settings, you can increase the max unit/sprite amount, as well as the Undo-Level (how often you can Undo things) and the standart gas/minerals value for placed chunks.
I got some questions:
What is the Brush-importer for? [It's also in the Profile Settings area]
and: In the section Profile Settings there is a "Trigedit uses custom names" checkbox. I tried to check it but it always reset to not-checked, why?
What is the "Create start menu Entries" for? I can click on it and nothing happens, it's at "Advanced".
What is the IScript tester for? [Debug -> Iscript / GRP Debug]
Please report errors in the Staredit.Network forum.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
What is the "Create start menu Entries" for? I can click on it and nothing happens, it's at "Advanced".
Look in your start menu. A folder named Stormcoast Fortress appeared (start -> programs -> Stormcoast Fortress).
What is the Brush-importer for? [It's also in the Profile Settings area]
and: In the section Profile Settings there is a "Trigedit uses custom names" checkbox. I tried to check it but it always reset to not-checked, why?
What is the IScript tester for? [Debug -> Iscript / GRP Debug]
Iscript tester lets you play any iscript of any unit, its mainly used to vertify my iscript code.
I think the custom names is disabled because people were naming several units identically and complaining about the triggers then breaking.
You can apply parameters for specific filetypes. This is how you do it in Windows XP:
Open an Explorer window --> Tools --> Folder options --> File Types --> .scm/.scx --> Advanced --> Edit... -->
In the field "Application used to perform action" add "-profile=default" --> OK --> OK --> Close
Thanks, Nude. I have no idea how to apply a parameter... I'll better attach an image how I am trying to do this. Could you tell me where am I wrong? Also, dont know what kind of an Advanced button you're talking... Is it an
advanced section I've marked out on image?
Some.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Ah yes, it was the same for me. The "Restore Defaults" should be "Advanced". If you actually do restore defaults, then this button turns into "Advanced".
And just to make it clear: "Edit" is not what you need to add a parameter.
I'm not sure why I had to restore anything, because I never fiddled around with these extension, but it had no bad side effects for me. I imagine the worst that can happen is that you have to manually seek your ScmDraft.exe afterwards (via "Edit"?) though I didn't have to.
That worked for me wonderfully. Thanks. =)
None.
Thanks a lot, Nude! It works!.. I wonder if other programs have command line parameters. It could be usefull if unprotector programs worked from command line. Then you simply could write a .bat file to unprotect/save as/open in scmd in one action.
Also, anyone knows if MapStats and StarForge accept any parameters?
Some.
Thanks a lot, Nude! It works!.. I wonder if other programs have command line parameters. It could be usefull if unprotector programs worked from command line. Then you simply could write a .bat file to unprotect/save as/open in scmd in one action.
Also, anyone knows if MapStats and StarForge accept any parameters?
osmap is entirely command line based...
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
When editing properties of multiple units you can hit Ctrl/Shift + Del to delete the unit that you have selected in the list.
I believe hitting just Del works too. At least it does for me.
None.

SDE, BWAPI owner, hacker.
Yeah, Ctrl/Shift is used to select more than one item or file in (almost) any listbox control.
In SCMDraft profile settings, Unit limit should be 1650, and sprite limit should be 500. Any less limits the amount you can place, any more will not be placed in Starcraft. Locale ID MUST be 0, otherwise your map is invalid. As for additional MPQ files, if you've copied Starcraft.mpq and Broodwar.mpq to your Starcraft folder, you can add those (to the top of the list) as well.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
I'll try to attach all features that are contributed to the first post, so check it too when the thread got updated.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Update colour on [unplaced] units when change player hotkey is pressed.
Care to elaborate on this, Heinermann?
What's the change player hotkey?
What do you mean with unplaced units?
Update colour on [unplaced] units when change player hotkey is pressed.
Care to elaborate on this, Heinermann?
What's the change player hotkey?
What do you mean with unplaced units?
I think he means the thing when you press a number key while a unit selected to change owner and unit's color updates only when you move the mouse. Frankly speaking quite annoying thing.



EDIT:
Allow no condition for triggers.
That would be nice. I want to mention how one can workaround this: make a trigger with the only disabled 'Never' (or other) condition and protect/compress the map. A good protector/compressor (think TinyMap does) should delete conditions like this...
Post has been edited 2 time(s), last time on Mar 12 2009, 8:34 pm by Wormer.
Some.

SDE, BWAPI owner, hacker.
Nude, Wormer: Wrong topic?

Yes Wormer, that is what I meant.
No Condition is physically the same as Always. When you are creating an Always trigger, it would be easier to just ignore the conditions completely rather than click "New Condition" and scroll for the "Always" condition. It also should save space before compressing.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Nude, Wormer: Wrong topic?

Yes Wormer, that is what I meant.
No, because as I already said, I don't want feature discussion in the other topic. This one is for discussing.
It might be a little confusing for us, but it will help SI to keep track.
And actually I didn't know you can just press the number. I always entered the number in the player dropdown list. Thx for revealing that.
Have you known you can use colors in locations names?
Some.
While having a unit selected press ctrl then any arrow key to move it a grid space in that direction. And i was wondering if theres a way to make it so the opening window goes straight to the starcraft maps folder?
None.

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Ah thx, yet another hidden gadget I didn't know of.
For me ScmD just goes to the last used folder.
yeah mine used to do that but it doesnt anymore.
None.