PivityGmodStore

Job: TUTOR: Source C++

Apply
In Progress
Negotiations
Finished

Budget

$50.00

Category

Applications

1

Views

678
Description

Hi all! I am looking for someone who can teach me how to compile Source C++ code to create my own dlls for the game. Specifically, I'd like to be able to access engine C++ functions WITHOUT using the Lua interface.

For example, I'd like to use the convar.h header to create my own convar in game, by using valve's example code, which is provided at Developer Console Control - Valve Developer Community (valvesoftware.com)

The main part of this job is simply teaching me how to properly setup my development environment. I will need to compile on both Linux and Windows, but if you can only compile for one of those then that will be acceptable also, for starters anyways... I want to expand my knowledge as I go. I'll keep paying you more and more as long as you are able to continue helping me.

What I DON'T WANT: I don't want a C++ teacher. I am proficient in C, C++, Lua, PHP, and MySQL. I'm not a newbie to coding. I need to learn how to setup a development environment where I can use engine functions directly in C. I don't want someone to teach me how to create a binary module either, that's NOT WHAT I AM LOOKING FOR. I can make a binary module with ease. Of course, creating a binary module is a SMALL PART of the job, but the main point of interest is being able to execute engine c++ functions within the module, without using the Lua interface. I do not want to use the Lua interface at all. I already know how to use the Lua interface and I'm not interested in being taught how to do that.


Effectively, you will be paid $50 if you can show me how to compile the following few lines of code:

#include <convar.h>
ConVar my_variable( "my_variable", "42", FCVAR_ARCHIVE, "My favorite number" );

void MyFunction_f( void )
{
Msg("This is my function\n");
}

ConCommand my_function( "my_function", MyFunction_f, "Shows a message.", FCVAR_CHEAT );

I want it to work in other source games too, not just gmod. The end goal is to make my own server.dll for a custom half-life 2 mod that I want to make down the road. The more you can teach me, the more I will pay you.


Cheers,

Jake