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.

ForumsCog Forum → I Just Want to Know if Something is Possible
I Just Want to Know if Something is Possible
2004-02-04, 8:51 AM #1
I'm not asking for a COG handout. I just want to ask a question that will determine whether or not I commit myself to learning basic COG.

Is it possible to write a dialogue system with COG that would act similarly to KotOR's dialogue system? I'm not planning anything totally extensive. I just want to have maybe an NPC in a level that you can talk to, and have the mission objectives alter depending on the path you choose.

Does it sound feasible or is this just wishful thinking?

------------------
Have a good one,
Freelancer
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2004-02-04, 11:20 AM #2
It's probably possible. You'll probably have 10 or so objectives, but the cog only certain ones show up based on what happens in the level. For example, if you killed your commander, the objective "Protect the commander" wouldn't show up; instead, the objective "Your commander is dead; take your anger out on the stormies!" Would appear. Maybe you could use bins or something to keep track of the path of the story.

------------------
I am Darth Slaw.
The Dark Lord of the Sith,
And part of the Nightfire mod team
May the mass times acceleration be with you.
2004-02-04, 3:24 PM #3
Crap, my cog isn't showing up in Jed. It's in project folder/cog ... But I go there to add the cog and nothing shows up in Jed for either my proj. dir or under /cog.

Also, this is my first COG. I was wondering if someone could critique it and see if anything's wrong with it:

Code:
# test.cog
#
# Flashing sector!
#
# Freelancer
#==============================================#
symbols

sector sect01
flex max=1.0
flex period=2.0

message touched

surface surf01

end
#==============================================#
code
#-----------------------------------
touched:
   SetSectorLight(sect01, max, period); 

Return;
#-----------------------------------
end


------------------
Have a good one,
Freelancer
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2004-02-04, 5:48 PM #4
Make sure its named "blah.cog" and not "blah.cog.txt". Cogpad can help with this....

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-04, 5:56 PM #5
I'm pretty sure I managed to iron that problem out. I think it might have something to do with how I saved or how I set up my directory. Does anyone have any advice about this? It's been a long time since I've edited..

------------------
Have a good one,
Freelancer
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2004-02-05, 7:39 AM #6
Literally anything is possible to a sufficiently talented editor.
2004-02-05, 3:21 PM #7
Not outside the scope of the functions provided.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-02-05, 4:42 PM #8
Correct:

C:\Windows\Desktop\JED\Nexus\Nexus.jed
C:\Windows\Desktop\JED\Nexus\cog\blah.cog

Incorrect:

C:\Windows\Desktop\JED\Nexus\Nexus.jed
C:\Windows\Desktop\JED\cog\blah.cog

------------------
Pumpkins are the only living organisms with triangle eyes.
Pumpkins are the only living organisms with triangle eyes.
2004-02-06, 1:24 AM #9
what are the limitations exactly? so far i have found nothing i cant do in cog other from moveingsectors/surfaces/vertexs.

i heard you cant have more than a certain number of symbols but i dont know if its true or not.

------------------
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2004-02-06, 7:36 AM #10
Quote:
<font face="Verdana, Arial" size="2">Originally posted by [SF]pjb:
...i heard you cant have more than a certain number of symbols but i dont know if its true or not.</font>


Yeah, its somewhere around 200 symbols. You wont really notice anything at first, until you try to create something with that cog. Then youll notice it. Youll notice that you cant create anything. Its wierd, I know, but after youve got more than ~200 symbols, you cant use any of the CreateThing verbs. [http://forums.massassi.net/html/frown.gif]

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-06, 7:41 AM #11
True Emon, but as of yet I haven't seen anything in any game that cog can't somehow halfass.
2004-02-06, 9:33 AM #12
If this NPC thing is where you go and talk to someone and then talk to someone else and people can change what they say etc. I was thinking of doing this once. The way I was going to do it was to for example: Have a person you talk to him and he tells you to talk to someone else. Then in that same talking cog a person gets teleported to a location with a talking cog already attached to him. Then you find him you talk and he tels you to go back and talk to the other guy. Then at that moment the otherguy gets destroyed and a new identical guy appears in his place with a different talk cog.

I know this is a noob way to do it but I dont have the cog knowledge to do it anyother way.

------------------
Nightfire Mod
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-02-06, 9:44 AM #13
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Checksum:
True Emon, but as of yet I haven't seen anything in any game that cog can't somehow halfass.</font>
Colored lighting. [http://forums.massassi.net/html/wink.gif]

------------------
"Now faith is the substance of things hoped for, the evidence of things not seen." -Hebrews 11:1
"There is one body, and one Spirit, even as ye are called in one hope of your calling; One Lord, one faith, one baptism, One God and Father of all, who is above all, and through all, and in you all. But unto every one of us[/i] is given grace according to the measure of the gift of Christ." -Ephesians 4:4-7

The Giant Internet IC Masturbator - Index of IC pinouts
Catalog of Electronic Components - Complete IC information
National Electrical Code (NEC) Online - Don't do wiring without consulting it. OR ELSE!
Catloaf, meet mouseloaf.
My music
2004-02-06, 10:57 AM #14
Well, I can't think of anyway you could choose different things to say to a certain person (like this), but I know you can cog a "Choose your own Adventure" thing into your level.

It would be something like "Go do this job for me and then talk to Mr. So-and-so," and depending on how you do the job determines what Mr. So-and-so says to you and what you say to him.

------------------
Check out updates for my editing work at the Shadow Jedi Academy.
2004-02-06, 6:07 PM #15
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Checksum:
True Emon, but as of yet I haven't seen anything in any game that cog can't somehow halfass.</font>


Um, physics, decent AI, decent collision detection...I suppose you could more like "one eight *** it", but that's not really fair.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-02-07, 6:04 PM #16
RBots and Hideki's Sniper Arena satisfy the latter two, just to note.
2004-02-07, 7:06 PM #17
Colored lighting... hm... I know there's a way to halfass *that*. There's got to be. Emon, what kind of physics can't be halfassed with cog?

...And what do you mean, 'decent collision detection?' Explain.

[This message has been edited by Checksum (edited February 07, 2004).]
2004-02-08, 1:41 AM #18
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Checksum:
Colored lighting... hm... I know there's a way to halfass *that*....</font>


You show me how to do colored lighting in JK, and Ill bow down. Hell, stable dynamic lighting is hard enough, you want to add color to it?? This isnt Indy3d you know! [http://forums.massassi.net/html/wink.gif]

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-08, 6:18 AM #19
Colored dynamic lights? I can't halfass that one. So Emon, what did you mean by 'decent collision detection?'
2004-02-08, 4:48 PM #20
I wish I could do lighting [http://forums.massassi.net/html/frown.gif].

------------------
I am Darth Slaw.
The Dark Lord of the Sith,
And part of the Nightfire mod team
May the mass times acceleration be with you.

↑ Up to the top!