Staredit Network

Staredit Network -> SCMDraft -> Scmdraft 2 Plugin specs / sample
Report, edit, etc...Posted by SI on 2005-03-27 at 21:08:44
I have uploaded a sample plugin to the beta site, grab it here. If you have questions about how to use this feel free to post here.

Contact me if you wish to receive a Scmdraft 2 version with explicit errors during plugin loading. The public prerelease #5 will not load custom plugins, this is added in prerelease #6
Report, edit, etc...Posted by Dr.Shotgun on 2005-03-29 at 20:50:00
umm yea what files do i copy to where to load the plugin
Report, edit, etc...Posted by LegacyWeapon on 2005-03-29 at 21:57:58
I don't think any of the current copies of scmd2 actually load plugins tongue.gif

And I'm pretty sure that's just an empty shell that holds the "header" of the plugin.
Report, edit, etc...Posted by SI on 2005-03-29 at 22:18:01
Actually, prerelease #6 was released because it loads plugins.

The sample plugin just shows you a message box, you'll have to add code if you want it to do more.
Report, edit, etc...Posted by .Coko[CK] on 2005-03-31 at 14:15:52
IE; create a plugin yourself, like TrigEdit.
Report, edit, etc...Posted by sckor on 2005-04-05 at 08:17:45
message box where?
Report, edit, etc...Posted by Carlsagan43 on 2005-04-24 at 22:58:40
Would anyone mind making a basic tutorial on how to make plugins?
Report, edit, etc...Posted by LegacyWeapon on 2005-04-24 at 23:17:48
dots.gif You would need to know how to program. There is no real way to create a program...

These plugins are basically programs that use what SCMD2 gives it and gives it back to SCMD2 to use.
Report, edit, etc...Posted by ShadowBrood on 2005-04-25 at 02:31:41
Do the Sample Plugins load C++? I saw a source thing there with a *.CPP extension. Will it load that code or do I have to code it with VB.
Report, edit, etc...Posted by sckor on 2005-04-25 at 07:04:44
agin I ask you, where is the message box?
Report, edit, etc...Posted by chuiu on 2005-04-25 at 07:41:06
It's in C++. You have to learn the language if you want to program a plugin.

The message box is in the center of your screen.
Report, edit, etc...Posted by Carlsagan43 on 2005-04-25 at 21:53:28
I know very basic CPP. Basically i can do math in cpp. Nothing complex. But i dont even know where to start with the plugin specs.

I use Dev-C++ rather than MS Visual Studio so i cant load the project. Id still like to learn though
Report, edit, etc...Posted by .Coko[CK] on 2005-04-27 at 13:23:43
You can load all other parts of the project though.
Report, edit, etc...Posted by SI on 2005-04-27 at 16:19:42
you'll need to make a new .dll project with the source files then
Report, edit, etc...Posted by deekay on 2005-04-30 at 21:40:51
After adding all the file's to your empty project, don't forget to add and change the Scmdraft Plugin.def from LIBRARY "Scmdraft Plugin" to whatever the name of your plugin is.
Report, edit, etc...Posted by Shadow_da_Sniper on 2005-06-26 at 21:31:55
Ok.
Turn On Computer ---> Desktop ---> WinZip ---> Open ---> scmdraft2.zip ---> Scmdraft 2.exe ---> *Clicks Yes* ---> *Puts in Password* ---> OK ---> ScmDraft2 start up screen appears: Select Profile ---> OK ---> ERROR LOADING PLUGIN!!!!!! WTF!@ C:DDocuments and Settings\michael.SHOOTINGSTAR\Local Settings\Temp\plugins/Trigedit.smp ---> ERROR LOADING TRIGEDIT PLUGIN. SCMDRAFT WILL NOW TERMINATE*. ---> a lot of cussing at the poptart infront of me...

mad.gif ranting.gif disgust.gif confused.gif angry.gif
Ho w do I fix this??? ohmy.gif smile.gif ohmy.gif
Report, edit, etc...Posted by Heimdal on 2005-06-28 at 18:56:48
Extract everything out of the zip file first.
Report, edit, etc...Posted by SI on 2005-06-29 at 19:12:00
and make sure you keep the directory structure, it sounds like you dumped it all in a folder instead of having trigedit in the plugins folder
Report, edit, etc...Posted by l3liZzArD-X on 2005-10-09 at 18:38:23
Hi when i open my SCMdraft file it goes to a screen that says "selet Profile" and then i hit ok then this thing pops up that says "Error Loading Plugin" what did i do wrong and what do i need to do to correct this error??
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-10 at 18:13:36
you know where SCMDraft 2 was installed, tehres a folder in thet folder and thats where u paste the plugin file u have then in SCMDraft 2 Pre-release #6, on the menu, theres a drop down menu containing all the plugins in that folder, alst time i chked anyway
Report, edit, etc...Posted by Vi3t_X on 2006-04-05 at 17:54:35
Plug-ins? When i first downloaded SCMD2 i already had all the plugins... so i have no idea what ur talking about
Report, edit, etc...Posted by Cole on 2006-11-16 at 19:22:22
Just incase anyone would like to know:
I recently ported SI's C++ plugin to a C++.net plugin. This method allows you to use both Native and Managed code at the same time in your plugin. You could also just use managed. It's great for those who can't get a resource editor for C++, because they can still use Windows Forms with C++.net for there GUI.

For more information just PM me. Once I clean out my code and get my comments in there i'll post it up.

Using C++.net opens up other great things. Because managed languages work extremely well togeather, you can also use the plugin to run other managed dll's such as C# or VB.net. This means that if you are experienced in VB.net and C# but not C++.net you can write all your code in VB.net or C#!!

If your interested or would like a better\furthor explanation in any of the above just PM me
Next Page (1)