Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → HL2 Coding....
HL2 Coding....
2004-11-24, 7:17 PM #1
Where would one go to learn HL2 Coding? I Googled it and got lots of random useless HL2 junk.
-Hell Raiser
2004-11-24, 8:03 PM #2
You should probably wait for the Full SDK to come out first before trying to take a stab at it.
The cake is a lie... THE CAKE IS A LIE!!!!!
2004-11-25, 10:45 AM #3
Is it/will it be anything like Q3 coding?
-Hell Raiser
2004-11-25, 10:47 AM #4
I doubt it... the only thing it would have in common is the fact the code was written in C++. :)
2004-11-25, 11:39 PM #5
I guess the absolute question I'm asking is:

Will it be anything akin to cog? :(
-Hell Raiser
2004-11-25, 11:47 PM #6
If it's like NWScript, I will be most happy.
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2004-11-25, 11:48 PM #7
What be NWScript?
-Hell Raiser
2004-11-25, 11:50 PM #8
Scripting language used in Neverwinter Nights custom modules. It's VERY powerful.

From one of my scripts. As you can see, it's very C-style in nature.
Code:
void main()
{
     object oItem = GetItemActivated();
     object oPC=GetItemActivator();

     if (GetTag(oItem)=="FakeSpellRod")
     {
        int i,nClass;
        int nCanCast=0;
        for (i=1; i<=3; i++)
        {
            nClass=GetClassByPosition(i,oPC);
            if (nClass==CLASS_TYPE_SORCERER || nClass==CLASS_TYPE_WIZARD || nClass==CLASS_TYPE_BARD ||
                nClass==CLASS_TYPE_CLERIC || nClass==CLASS_TYPE_DRUID)
            {
                nCanCast=1;
                break;
            }
        }
        if (nCanCast==1)
            AssignCommand(oPC,ActionStartConversation(oPC,"spell_rod",TRUE,FALSE));
        else
            AssignCommand(oPC,ActionSpeakString("You must be a spellcaster to use this!"));
     }
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2004-11-25, 11:52 PM #9
The thing that scares me about the Q3-esque SDKs, is that nothing is documented! I have gotten seriously spoiled by the DataMaster. :( If I decide to move up the engine ladder, I don't want to spend a few years learning how it all works.
-Hell Raiser

↑ Up to the top!