How to get Game settings? [message #164714] |
Fri, 29 July 2005 12:02 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
Hi there, is it possible to get Game settings? i saw a script command Get_Difficulty_Level so i think it should be but can anybody tell me how i can get options like BeaconPlacementEndsGame or something?
<<SCUD-Storm Origin Creator>>
|
|
|
Re: How to get Game settings? [message #164715 is a reply to message #164714] |
Fri, 29 July 2005 12:05 |
|
mac
Messages: 1018 Registered: February 2003
Karma: 0
|
General (1 Star) Administrator/General |
|
|
Your best guess is to use the PROFILE functions in SSAOW to read the data from server.ini/svrcfg_cnc.ini
Quote: |
danpaul88: buggy bugs brenbot because buggy befriends brainlessness
|
|
|
|
Re: How to get Game settings? [message #164795 is a reply to message #164714] |
Sat, 30 July 2005 11:43 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Look at the CGameData classes in engine.h, they're accessed through The_Game()->Optionhere.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|