Yandros on 8/6/2017 at 01:49
I don't think performance was the reason for introducing squirrel support, it was to open up scripting to more people in a format that doesn't require compiling source code. I'm already using it in my current project (well, thanks to R Soul).
Nameless Voice on 11/6/2017 at 01:18
Most scripts don't do very much. They tell the engine to perform a couple of actions when triggered, and most don't get triggered frequently.
Presumably Squirrel scripts, as an interpreted language, are going to be a little slower, but it really doesn't matter in most cases, because:
* The majority of the work is being done by the engine itself, the scripts just control it.
* Performance issues aren't that important for something that, for example, only triggers when the player frobs an object
(The release notes for Squirrel say pretty much the same thing.)
Also, "the performance gains over something like NVScript" sounds the wrong way around. Obviously NVScript (which is compiled code) will perform better than Squirrel, which is an interpreted language. But, as I said, it's really not relevant. Normal people actually being able to just write scripts is far more important than a tiny bit of performance.
Yandros on 11/6/2017 at 02:21
A whole bucketful of squirrel scripts probably has less impact on performance than a single overly high resolution texture.
john9818a on 16/7/2017 at 09:12
I'm using the version prior to 1.25 and I recently noticed a bug involving zombies. After a reload all zombies that were playing possum appear to be standing up. One zombie in Return to Lost City was standing upside down. If this version doesn't fix this issue maybe it could be address in a future release?
voodoo47 on 17/7/2017 at 09:43
interesting - can you post some saves?
Jax64 on 17/7/2017 at 16:37
I have seen encountered this issue before, though I cannot seem to trigger it at this moment. Upon quickloading, in my case, there seems to be a chance that the dormant zombies will be in their default pose standing upright, though they still behave as expected.
john9818a on 19/7/2017 at 16:14
Quote Posted by voodoo47
interesting - can you post some saves?
I'll post some saves tonight. I'm sure it's not only with RTLC because it happens on a mission I'm currently working on as well.
john9818a on 20/7/2017 at 21:34
(
http://www.mediafire.com/file/k7g4sqy6jtvio59/game0003.zip) game0003.zip
This is a gamesave for Return to Lost City. In the save I have only one health shield left, but prior to this save I had at least 1/2 total health, and I was in a situation where I couldn't avoid losing so much health. Anyway I couldn't find the location where the zombie was upside down, but in this save the zombie is playing possum but is standing up and partially sunk in the solid space.
sNeaksieGarrett on 27/7/2017 at 03:26
Interesting.. just casually looking through posts on ThiefGen - I see the note and comments on "squirrel." I've never heard of it before. First thought when I read that "squirrel.osm" was being included was what the heck is that?:laff:
So for us less technically inclined or what have you, can someone explain why squirrel is something that someone would want to use? Why specifically squirrel, do you think? What benefits does it have over the scripting methods that say, Nameless Voice employs? And yes, I'm aware that this has sort of been explained already, just looking for some more discussion into this topic. (That is, using something like squirrel makes scripting more accessible to more people - but why?)