A complete newbies guide to writing their first TT plug-in [message #484548] |
Sat, 23 November 2013 09:34 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Attached to this post is a document made specifically for a total newbie to make their first TT Server plug-in.
The plug-in itself allows you to simulate damage value modification from players, where that damage is calculated on the client (i.e not building damage).
This was written in response to a direct request made on the forums for help with an associated issue, but it has been made very generic to act as a reference for anyone who wants to try their hand first time at making a plug-in.
I hope it's useful.
/*
Uploaded version 2 as a PDF file, fixed some typo's and respected the comment around the exress edition.
*/
[Updated on: Sun, 24 November 2013 01:30] Report message to a moderator
|
|
|
|
|
|
Re: A complete newbies guide to writing their first TT plug-in [message #484558 is a reply to message #484555] |
Sat, 23 November 2013 14:33 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
liquidv2 wrote on Sat, 23 November 2013 14:20 | holy shit
you typed all that up?
|
Hah, There's a lot of pictures!
I just wanted to write something that could be followed by someone who had no previous experience, and have them complete a finished product at the end, while learning a bit along the way.
Omar007 wrote on Sat, 23 November 2013 14:23 | lolwut 22 pages
Looks good though. Nice job
|
Cheers, but I doubt there's anything in there that you didn't know already
Ethenal wrote on Sat, 23 November 2013 14:28 | Wow, you did type all that up. I would definitely sticky this thread.
|
Yeah, I kind of run away with it a bit. I might make a few follow up tutorials to go a bit further in some areas.
|
|
|
|
|
|
|
Re: A complete newbies guide to writing their first TT plug-in [message #484567 is a reply to message #484565] |
Sun, 24 November 2013 01:33 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Gen_Blacky wrote on Sat, 23 November 2013 17:28 | holy shit he did type that up awesome.
|
Hah! Thanks
Omar007 wrote on Sat, 23 November 2013 17:57 |
reborn wrote on Sat, 23 November 2013 22:33 |
Omar007 wrote on Sat, 23 November 2013 14:23 | lolwut 22 pages
Looks good though. Nice job
|
Cheers, but I doubt there's anything in there that you didn't know already
|
True
But it's still a nice job and I'm certain it can help others.
|
Yeah, I hope so too.
iRANian wrote on Sat, 23 November 2013 18:33 | I suggest uploading it as PDF file. Microsoft Word has a feature for saving as PDF.
|
Thank you, done.
jonwil wrote on Sat, 23 November 2013 19:33 | FYI, the Express edition should work for compiling scripts, if it doesn't that's a bug we want to fix
|
Thank you, I've uploaded a new version that appreciates that clarification.
[Updated on: Sun, 24 November 2013 01:37] Report message to a moderator
|
|
|
|
|
|
|
|
Re: A complete newbies guide to writing their first TT plug-in [message #485527 is a reply to message #484548] |
Fri, 31 January 2014 14:06 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
If DP is right, and I assume he would be, then simply change the build configuration from Release SSGM to Release.
However, you shouldn't follow the other steps in the tutorial either. You would be editing the files that build for a the SSGM release, not the client part.
You could probably do with a completely different tutorial.
|
|
|
|
Re: A complete newbies guide to writing their first TT plug-in [message #485542 is a reply to message #485527] |
Fri, 31 January 2014 21:05 |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
reborn wrote on Fri, 31 January 2014 16:06 | If DP is right, and I assume he would be, then simply change the build configuration from Release SSGM to Release.
However, you shouldn't follow the other steps in the tutorial either. You would be editing the files that build for a the SSGM release, not the client part.
You could probably do with a completely different tutorial.
|
I've tried building in release and release ssgm. I made my own .h and .cpp files in the scripts section so there shouldn't be any problems with that either.
I can only think that maybe there is some configuration issue that is off at this point, but I'm really not sure.
I wish there was a tutorial on how do deal with this
Level edit is my play ground
|
|
|
Re: A complete newbies guide to writing their first TT plug-in [message #485552 is a reply to message #484548] |
Sat, 01 February 2014 07:34 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
It depends what solution you're using... if it's just a solution for a single SSGM plugin then all it's going to build is that plugin. If it's a modified version of the generic scripts solution, don't forget that the .dll file goes into a different folder than the .lib file (from what I recall).
Stallion wrote on Sat, 01 February 2014 04:05 |
I wish there was a tutorial on how do deal with this
|
It's generally assumed that people writing their own plugins have at least a basic understanding of how Visual Studio works and can understand how the project configuration files work and how to tell where things get built to.
There's nothing "special" about the script solution, so the same rules that apply to any other VC++ project apply to this one.
[Updated on: Sat, 01 February 2014 07:37] Report message to a moderator
|
|
|