Re: General Q for all the Cog Wizards


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Stealth on February 03, 1998 at 09:51:38:

In Reply to: Re: General Q for all the Cog Wizards posted by Osan`gar on February 02, 1998 at 19:57:11:

> > Oh Masters of the Cog,

> > In general, how do you all research the inner secrets of the COG? I have heard that (GOB?) is similiar to C . If this is the case, are you C Xperts also and therfore benefit by the structural similarities? Or do you spend countless hours of trial and error? (Or both :) ) Any other research hints would be appreciated.

> > I am a bit curious (well, really MORE than a bit) and thought others might benefit not only from your knowledge but your methods too.

> Well, COG is similiar to C. GOB is the file type that resembles a .pak file fromt the Quake games. It contains different game related scripts and sound files, among other things. The simplest way to think of a GOB (which you referred to) is as a ZIP file. COG is the script language that JK uses to perform some of its tasks. It is not compiled. I assume it is just interpreted on each use. Somebody correct me if I'm wrong. I think COG is easier to learn than C, but knowing C is helpful in learning COG, which is just obvious. I have always seen COG as combining the power and structure of C with the "simplicity" (though not quite so easy) of HTML. Most of the functions that are built in to COG just make sense. I'm not sure how CogKing has built up those specs (I think CogKing wrote them, again, correct if I'm wrong) but I must say that they are a great help. I've just got to say "Great Job and thanks a lot" to CogKing and the guys over here at Darkjedi.com. I think everybody feels the same way as I do about them. This is no small task and I hope what you guys have done really gets noticed by some of these companies. You never know what salaries may come out of it. ;)

I can enlighten you on how the specs are built.I would know :-)

First you start in the exe and find all the verbs etc. Make some mighty long lists.(might have to make them several times to get the verbs spelt right)

Extract all the cogs you can get your hands on into a directory. Fire up the custom file searcher (finds words in a great number of files):-) This displays all the files and the usage of each verb etc given to it.(this is how we tell if something is used or not) (and after a while you can guess pretty good what will be needed as params) Then by the sheer number of times they use things you can usualy tell what it`s function is. Of course this all takes a lot of time.Then you take all the info you gathered and start writing the html files.

There is of course some experimentaion required.Using some trial and error the print verbs are handy too.

Realy anybody with a lot of spare time on their hands and a bit of programming language skills can do this.

Speaking of which one of these days when we get the time we`ll write some more for the specs. There is so much data it takes a while to get it sorted out.

And Yes CogKing is a true wizard with cogs :-)


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]