Staredit Network > Forums > Modding Assistance > Topic: Another question... about plugins...
Another question... about plugins...
Jul 7 2009, 2:41 am
By: Angle Lock  

Jul 7 2009, 2:41 am Angle Lock Post #1



I took computer science A AP so I know a bit about coding... in java.

But java and C++ are kind of similar, at least from my perspective, so I think I will have no problem picking it up.

but a couple things.... needs to be clarified....

1. What tools are required to code in C++? a simple textpad?

2. How do you apply the plugin into SC?



None.

Jul 7 2009, 10:22 pm Lord_Jeremy Post #2



From someone who took the same AP, I highly recommend you get yourself a good C++ book, or even look for some classes nearby. Trust me, they're extremely different in implementation and functionality. In terms of writing plugins, you'll need a hellofa lot of a knowledge of pointers (a concept which does not exist in Java) to be able to grasp a lot of how plugins work.

For anyone else that reads this, I'm just starting to delve into plugin writing myself and I'm wondering if there are any examples of plugins available. I'd like to take a look at how other people are writing them so I get can get a better idea of what to do. (TZ I'm looking at you :P )

EDIT:
Oh in response to your first question, you'll need a plugin template thingy that I found somewhere. You'll also need Visual C++ 2008. You can get VS C++ Express (the free version) from the microsoft developer website. Google it.

2ND EDIT:
Here is where you can get the General Plugin Template thing. That will help alot, and it comes with a simple tutorial.



None.

Jul 7 2009, 10:32 pm Biophysicist Post #3



modcrafters.com has some example plugins you can look at once you get GPTP running. Alternatively, I can make your plugin for you.



None.

Jul 8 2009, 3:36 am Lord_Jeremy Post #4



Ah, thank you TZ. I found the tutorials and they look to be very helpful. Oh and thanks for the offer to make me a plugin, but I'd like to figure it out for myself ;)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Ultraviolet