Staredit Network > Forums > Modding Assistance > Topic: Quick plugin question
Quick plugin question
Apr 3 2009, 7:51 pm
By: Biophysicist  

Apr 3 2009, 7:51 pm Biophysicist Post #1



Quick question: If I write a plugin, how do I compile the source into a qdb? (In other words, how do I compile it so that I can add it to FG?) Compile it into a DLL in some C++ compiler, right? Then what?

Oh, I downloaded LocUnlock's source to try to learn how to write plugins. If I just removed his EnableDebug() function/method/whatever it's called in C++ and replaced it with my own, would it work? Or would I have to do something else as well?



None.

Apr 3 2009, 8:07 pm poiuy_qwert Post #2

PyMS and ProTRG developer

Depends what compiler you use, easiest way to compile would be:
1) Get Dev-C++, install, then run
2) In the menu do Tools>Compiler Options
3) Add a new compiler set with the + button, name it QDP or something
4) Click "Add the following commands when calling compiler"
5) In the edit box below the above checkbox, place "-shared -o PLUGIN_NAME.qdp -Wl,QDPlugin.def -lversion" (this creates a dll but gives the filename the qdp extension)
6) Now you just hit the compile button on the main cpp file of your dll




Apr 3 2009, 8:09 pm Biophysicist Post #3



Thank you poiuy. <3

Also, can you answer my second question?



None.

Apr 3 2009, 8:25 pm poiuy_qwert Post #4

PyMS and ProTRG developer

If you had even tried to learn C++ you should be able to answer that question... Yes, as long as you pass/return the correct types.




Apr 4 2009, 2:45 am Biophysicist Post #5



Thanks for all the help, poiuy. :)

Topic has served its purpose.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[08:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: jy2413804