Partial install

Discuss every aspect of HDTP here.

Moderator: HDTP Team

Forum rules
Please do not feed the trolls.
User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

DX does indeed handle config vars that way. I assumed that's what we were talking about the whole time or I would have chimed in.
NVShacker
Are you still there?
DDL
Traditional Evil Scientist
Traditional Evil Scientist
Posts: 3791
Joined: Mon Oct 17, 2005 10:03 am

Post by DDL »

No, no I try to avoid configs as much as possible, just because..they confuse and scare me, to be honest.

I'm only self taught, after all. :P
EER
Illuminati
Posts: 2486
Joined: Sat Oct 22, 2005 7:52 pm
Location: NL

Post by EER »

Perhaps there could be an external ini file (I mean outside of hdtp.ini) so that it is easily replacable? I don't know if it's possible in UnrealScript, if you can call out to win32 you could use GetPrivateProfileString ( http://msdn.microsoft.com/en-us/library ... S.85).aspx ) of course.
Another Visitor ... Stay a while ... Stay forever!
User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

You could do it with native code but that'd reduce compatibility and be harder to implement since you'd have to handle the serialization yourself.
NVShacker
Are you still there?
EER
Illuminati
Posts: 2486
Joined: Sat Oct 22, 2005 7:52 pm
Location: NL

Post by EER »

Obviously it would be better if unrealscript could handle ini files natively, but I don't know their object model. Just suggesting the alternatives ;)

I'd think char[] or strings would be possible natively from unrealscript? But if it's not required, that much the better.
Another Visitor ... Stay a while ... Stay forever!
Post Reply