#4
26th Jul 2006 at 4:36 PM
Last edited by IgnorantBliss : 26th Jul 2006 at
5:53 PM.
Posts: 4,502
Thanks: 13190 in 63 Posts
15 Achievements
With doors, the change in OFB was global in such a way that all doors, old and new, automatically had the locking option. I wasn't aware it didn't happen with custom gates. If that's the case, I'm pretty sure it can't be fixed in a simple way in SimPE.
Edited to add: Actually, I may have been wrong. There does seem to be an easy fix for existing gates, although, I'm not sure if the locking actually works apart from adding the interaction.
How to add the locking interaction (experimental, I haven't really tested this thoroughly): Open the gate package in SimPE. Click on Object Data under the Resource Tree (make sure you're in Plugin view tab). Of the Object Data listed in the box on the right, click on the one with the shortest name. Then, click on the Raw Data tab. Select "decimal" of the options on top of the Raw Data screen, and look for a line called "Interaction Table ID". For a pre-OFB gate, the value is probably -1. Change the value to 4, then click Commit and save the package. Now the gate should have the locking interaction in the game. But, I still haven't tested if it actually works, or if it only adds the pie menu. It might need some further editing to make it work propely, I don't know yet.