2 registered members (AndrewAMD, 7th_zorro),
1,285
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: C-Sciipt Settable d3d_antialias?
[Re: Ichiro]
#254678
03/04/09 18:40
03/04/09 18:40
|
Joined: Jul 2007
Posts: 619 Turkey, Izmir
Emre
User
|
User
Joined: Jul 2007
Posts: 619
Turkey, Izmir
|
Hello Ichiro. My english is really bad. But if i understand your problem, i can help you. if you use external menu(external exe files)and file_open_read for antialias variable, players can set the level of antialiasing. you need ifdef for main.wdl; ifndef aa_9;
ifelse; //aa_9 ise
var d3d_antialias=9;
function main()
{
}
endif;
ifndef aa_4;
ifelse; //aa_4 ise
var d3d_antialias=4;
function main()
{
}
endif;
ifndef aa_1;
ifelse; //aa_1 ise
var d3d_antialias=1;
function main()
{
}
endif;
ifndef aa_0;
ifelse; //aa_1 ise
var d3d_antialias=0;
function main()
{
}
endif; end external settings file codes; function start_func()
{
if(antialias_var==0)
{
exec("..\\game.exe"," -d aa_0");
}
if(antialias_var==1)
{
exec("..\\game.exe","-d aa_1");
}
if(antialias_var==4)
{
exec("..\\game.exe"," -d aa_4");
}
if(antialias_var==9)
{
exec("..\\game.exe"," -d aa_9");
}
exit;
}
Like this;
|
|
|
Re: C-Sciipt Settable d3d_antialias?
[Re: Emre]
#254680
03/04/09 18:50
03/04/09 18:50
|
Joined: Aug 2002
Posts: 681 Massachusetts, USA
Ichiro
OP
User
|
OP
User
Joined: Aug 2002
Posts: 681
Massachusetts, USA
|
Hi Emre, Thanks very much for taking the time to share the workaround! I still would love for players to be able to set the antialiasing level within the game (publishers such as Valve/Steam, Reflexive, etc. have wrappers that don't play nicely with multiple .exes or command line arguments) -- however, this looks like it'll work in a pinch. Thank you.
|
|
|
Re: C-Sciipt Settable d3d_antialias?
[Re: Ichiro]
#254691
03/04/09 19:55
03/04/09 19:55
|
Joined: Aug 2008
Posts: 2,838 take me down to the paradise c...
Cowabanga
Expert
|
Expert
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
|
(publishers such as Valve/Steam, Reflexive, etc) Advice: Do not put your game on Reflexive. Because it's easy to hack games on Reflexive. When you're publishing your game in Reflexive. They'll ask you to send the FULL GAME. And they'll put a trial function. And everyone can hack it. That's the problem.
|
|
|
Re: C-Sciipt Settable d3d_antialias?
[Re: Cowabanga]
#254707
03/04/09 21:25
03/04/09 21:25
|
Joined: Aug 2002
Posts: 681 Massachusetts, USA
Ichiro
OP
User
|
OP
User
Joined: Aug 2002
Posts: 681
Massachusetts, USA
|
Yeah; it comes down to a numbers game for us -- the revenue stream we gain from a particular portal might outweigh the loss in potential sales from piracy. Given that Wonderful's already available as a torrent, I'm not sure what we'd lose. Either way, with Reflexive, I'm hoping it's worth it -- our contact point there has been their Director of Marketing, Russell Carroll, who seems like a great guy. Our work with them has been really smooth so far. Fingers crossed.
|
|
|
Re: C-Sciipt Settable d3d_antialias?
[Re: jcl]
#254812
03/05/09 17:23
03/05/09 17:23
|
Joined: Aug 2002
Posts: 681 Massachusetts, USA
Ichiro
OP
User
|
OP
User
Joined: Aug 2002
Posts: 681
Massachusetts, USA
|
I gotcha. Is there another workaround you might suggest that wouldn't involve calling the engine with any arguments? The exe-calling-exe trick tends to break down with publishers' wrappers. For example, we tried this with our WildTangent build of Wonderful, but they told us that their wrapper went haywire. (Same with Reflexive. Eventually, we upgraded Wonderful to A7, bypassed the need for an exe, and things worked perfectly -- http://www.reflexive.com/TheWonderfulEndoftheWorld.html?related=12.) Thanks for any suggestions -- I think the ability to turn antialiasing on would make our upcoming game more attractive to players.
Last edited by Ichiro; 03/05/09 17:24.
|
|
|
|