fibanocci on 26/10/2014 at 08:22
So I wanted to have different starting points. I used that tnh-script RandomStartingPoint.
Quote:
RandomStartingPoint
Moves the starting point to a randomly-selected location before the Player object is created. A single starting point is created as normal. From that point, create ScriptParams links to markers at the other locations. Create a link back to the starting point if you want it to consider its current position as well. Each ScriptParams link has the data Startdiff, where diff is the difficulty levels that the link is valid on. 0 is easy, 2 is hard, "012" will work on all difficulty levels. When Sim starts, the starting point will be teleported to the destination of one of the links.
I typed start0, start1, start2 for each marker in the ScriptParams link. I think that's okay?
However, it's working in DromEd, but it doesn't work at all in thief2.exe.
What's wrong with that setup? I saved the gamesys.
Yandros on 26/10/2014 at 14:01
If I'm reading it right, the script data should just be "012" if you want that point to be considered for all three difficulties. If you only want it to be considered on Normal and Hard, you would make it "01" etc.
LarryG on 26/10/2014 at 16:30
I never used the script, but "Each ScriptParams link has the data Startdiff, where diff is the difficulty levels that the link is valid on." seems pretty clear that the data should be "Start" followed by the difficulties. I'll bet that it is case sensitive, and "start" is not the same as "Start". Try fixing that, and we'll see if Yandros or I have guessed how to set the parameter correctly.
qolelis on 26/10/2014 at 22:45
Quote Posted by fibanocci
So I wanted to have different starting points. I used that tnh-script RandomStartingPoint.
I typed start0, start1, start2 for each marker in the ScriptParams link. I think that's okay?
However, it's working in DromEd, but it doesn't work at all in thief2.exe.
What's wrong with that setup? I saved the gamesys.
I got unexpected results as well when testing that script just now. It does something in DromEd, although not what I expected (I tested with only one link for each difficulty and it still chose any one of them, instead of just the one with the correct difficulty), and in Thief2.exe it didn't do anything at all. I cannot figure out why, though, but maybe the player object gets created before RandomStartingPoint gets a chance to do anything and since the script works on the starting point, the player object isn't affected (because it's already been created)!? I'm just speculating now, though.
If I were you I would try other methods.
Yandros on 26/10/2014 at 23:56
I misread, it looks like "Start0" etc. should be right. Perhaps this script has issues with NewDark, or never worked properly through Thief2. Anyhow, I would recommend using NVRelayTrap's ability to randomly select a ControlDevice link and just rig it up to various TeleportTraps all linked to the starting point, then trigger it at mission start, and that way you get more or less the same thing. Start the player in a black room, and let the relay randomly trigger one of the teleporters. If you want to disallow some of them on certain difficulties, just set Difficulty > Destroy accordingly on those teleporters.
fibanocci on 27/10/2014 at 09:03
No matter if I type 'start' or 'Start', it's working as expected in DromEd. In thief2.exe, it's not working at all.
I don't have a 1.18-install right now. So I can't test if I can blame NewDark or not. As far as I can see, nobody used that script for a fan mission in the past. Not even the tnhdemo uses that script.
Yandros on 27/10/2014 at 10:58
In Heist Society we used a different per difficulty just by setting Difficulty > Destroy on each of three starting points, but there was no randomization. But what I mentioned above should work fine.
fibanocci on 27/10/2014 at 11:38
Yes, I've already seen this setup in Inverted Manse. Maybe I do the same thing.
R Soul on 28/10/2014 at 01:15
Don't give up on your dreams! Give NVRelayTrap a chance.