Posts: 3822
Joined: 16 Sep 2007, 22:00
KaM Skill Level: Skilled
ICQ: 269127056
Website: http://lewin.hodgman.id.au
Yahoo Messenger: lewinlewinhodgman
Location: Australia
Re: Dynamic Script Usage
No ;/ but that could be nice option, for example if u complete quest from mission 1 ull get 10 barbarians in mission 2 or smth like that :>Quick question: do Dynamic Scripts support file writing/reading?
For example, if someone wanted to keep track of a player's army across multiple missions, would it be possible to store and load values in and from an external file?
1) It breaks consistency, when you run the replay the file might have different contents so it would crash the replay. Also obviously in multiplayer everyone could have a different file.
2) Scripts might be able to install viruses, extract private data from the HDD, or other unwanted things.
A better way to achieve your goals would be to allowing storing data which is attached to the campaign, and would be included in the save files so replays would still work. There's still other issues which need to be considered, but something like that would be a lot better than allowing the script to read/write files.
I'll add it to our proposals list.