Does using a plugin on your game (for example Ags snowrain), mean that the game won't be playable fro other OS apart from windows, or that the features won't be available for other OS, sorry for this sort of beginners question, just wanting to know..
Yes, that is correct.
Not a stupid question at all, I actually had to look it up to make sure. This is what CJ said back in 2004 (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=13858.msg168359#msg168359). I don't think the plugin functionality has changed since then (except no DOS support of course).
QuoteThe DOS and Linux engines will load a game that uses plugins, but when they attempt to initialize a script that uses a plugin function, they will exit with an "undefined function" error.
So if it's just, for instance, the snow-rain plugin, you can just check for the OS and not run any function calls to the plugin unless the game is running under Windows.
This of course is only about game plugins :) editor plugins don't affect the final game at all.
The problem is, there are no up-to-date versions of the *nix, mac or DOS engines at the moment, so to play games made with newer versions of AGS you need to use emulation (like Wine) or virtualisation (like VBox, etc.) anyway. In those cases the plugins probably work (unless there are some emulation or virtualisation problems). There would only be problems when you run the games with native engines for these OSes, in such cases unless you can get all the plugins used in these games to be compiled for these systems you cannot use the plugins, but since engines for these systems do not exist (unless the game was made with an older version of AGS) it doesn't matter much anyway.
So to sum it all up: 1) The version of AGS I'm using doesn't have an engine for DOS, Linux and whatever other OSes
2)People might be able to run it emulated using the plugin.
The plugin (the only one that made it) is CharacterControl, which I use to have Marvin wander around the HOG with no apparent job. I think however there's a script module, since AGDI seem to use a similar effect on their games (especially QOG II) but checking the game's folder there was no plugin inside.
Yeah, the Character Control plugin has been modulized and is available here (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28821.msg482601#msg482601) (not even sure the original plugin would even work anymore).
Quote from: GarageGothic on Wed 08/04/2009 08:06:21
Yeah, the Character Control plugin has been modulized and is available here (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28821.msg482601#msg482601) (not even sure the original plugin would even work anymore).
It works. You just have to use some transposing in certain variables of it, to get it done. But works smoothly.