Staredit Network > Forums > SC1 Mapping Tools > Topic: ScmDraft usage
ScmDraft usage
Mar 10 2009, 11:24 am
By: NudeRaider  

Mar 10 2009, 11:24 am NudeRaider Post #1

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.

Quote from Wormer
Quote from Mini Moose 2707
Quote from name:FaZ-
- 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.

Quote from Lt.Church
Quote from Wormer
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.

Quote from Falkoner
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.

Quote from Wormer
Have you known you can use colors in locations names?

Quote from samsizzle
While having a unit selected press ctrl then any arrow key to move it a grid space in that direction

Quote from lil-Inferno
If you hold down the Ctrl key and click a square of terrain it brings you to that square in the tileset index.


Quote from Wormer
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




Mar 10 2009, 1:34 pm Devourer Post #2

Hello

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.

Mar 10 2009, 3:18 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from Devourer
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).




Mar 10 2009, 5:40 pm Suicidal Insanity Post #4

I see you !

Quote from Devourer
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.




Mar 10 2009, 6:39 pm Wormer Post #5



Quote from NudeRaider
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.

Mar 10 2009, 6:55 pm NudeRaider Post #6

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.




Mar 10 2009, 7:16 pm Decency Post #7



That worked for me wonderfully. Thanks. =)



None.

Mar 10 2009, 10:06 pm Wormer Post #8



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.

Mar 10 2009, 10:18 pm rockz Post #9

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Wormer
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?"

Mar 11 2009, 12:34 am ForTheSwarm Post #10



Quote from NudeRaider
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. :P



None.

Mar 11 2009, 1:10 am Heinermann Post #11

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.




Mar 11 2009, 2:44 pm NudeRaider Post #12

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.




Mar 12 2009, 12:55 pm NudeRaider Post #13

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

Quote from Heinermann
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?




Mar 12 2009, 8:26 pm Wormer Post #14



Quote from NudeRaider
Quote from Heinermann
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:
Quote from Heinermann
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.

Mar 13 2009, 12:11 am Heinermann Post #15

SDE, BWAPI owner, hacker.

Nude, Wormer: Wrong topic? :P
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.




Mar 13 2009, 12:21 am NudeRaider Post #16

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

Quote from Heinermann
Nude, Wormer: Wrong topic? :P
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. ;)




Apr 21 2009, 8:07 am Wormer Post #17



Have you known you can use colors in locations names?




Some.

Apr 22 2009, 12:59 am samsizzle Post #18



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.

Apr 22 2009, 8:42 am NudeRaider Post #19

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.




Apr 22 2009, 10:53 pm samsizzle Post #20



yeah mine used to do that but it doesnt anymore.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: C(a)HeK, jun3hong, Revenant