Home   Help Search Login Register  

Author Topic: Help with Cfg  (Read 442 times)

0 Members and 1 Guest are viewing this topic.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Help with Cfg
« on: 28 Nov 2004, 20:19:20 »
I have one specific and one general quesiton.

1. in CfgIdentities what are the valid options for:  glasses = ?  Apart from glasses = "none"

2. Where can I find our more about Cfg options?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Help with Cfg
« Reply #1 on: 28 Nov 2004, 21:01:47 »
appart from glasses are "spectacles" (glasses) and "sunglasses" (self-explained)

@2 if ur looking for description.ext Cfg options, there's several tutes in the Ed's Depot. Else, I have no bloody clue.  :P
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Help with Cfg
« Reply #2 on: 28 Nov 2004, 21:24:22 »
I would get the Commented Configs from the Editors Depot and study them..........this is presuming you don't already have them.


Planck
I know a little about a lot, and a lot about a little.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Help with Cfg
« Reply #3 on: 28 Nov 2004, 22:22:59 »
@Tyger.  Thanks.  Like many things - I should have been able to guess - but I didn't.

@Plank.  This is embarrasing.  It is the second time in two days there was something in the Editor's Dept that I couldn't find.  I have done several searches on Cfg and the like.  I have also clicked on Online Reference...which is where I went wrong yesterday..... But I cant damn well find it!

EDIT:  Found it (I think)  Commented CPP Files?
« Last Edit: 28 Nov 2004, 22:33:38 by THobson »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Help with Cfg
« Reply #4 on: 28 Nov 2004, 22:39:41 »
You got it THobson.......sometimes it is hard to see the wood for the trees.


Planck
I know a little about a lot, and a lot about a little.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Help with Cfg
« Reply #5 on: 28 Nov 2004, 22:55:44 »
This is good stuff - and I only understand a fraction of it.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Help with Cfg
« Reply #6 on: 29 Nov 2004, 00:12:14 »
Are you talking about the description.ext, or an addon's config.cpp?

The commented config's are an example of the latter. For the former, I'd suggest this tut:

description.ext file description

The first half of that is good, but the second half (which covers sounds and campaigns) isn't so good. If you want to learn about defining sounds, check bloodmixer's sound tut. For campaigns.... do a search. I found a good tut here a while back, but can't remember where it was.

Oh, and on the specific question:
Quote
1. in CfgIdentities what are the valid options for:  glasses = ?  Apart from glasses = "none"
There are also addons that will add more glasses into the game. In that case, check the readme for the name to put there. Or depbo the addon, and find the classnames for the glasses. However, there is no way to check if a person actually has such an addon installed, so it may not work how you want.

BIS's commented cpp's are still helpful, actually, because you can find lots of stuff in there, once you get the hang of them. You can find the names and files of all the BIS sounds, for one thing.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Help with Cfg
« Reply #7 on: 29 Nov 2004, 08:25:33 »
That is really great help.  Thank you so much.