Page 1 of 1

Trident down - modified lawmaker

Posted: Wed Jan 06, 2010 4:22 pm
by Jon Ridgway
Hi,

I'm told ill need to deploy a modified lawmaker on a mission in Trident Down. Problem is the said device has not been installed onto my ship.

Have i missed something? Is there anyway, short of hacking save file to pick up the required weapon?

Thanks,


Jon.

Posted: Wed Jan 06, 2010 8:12 pm
by Ramirez
You were awarded the weapon when you had the mission briefing, but if all your pylons were full at the time you may not have received it properly.

If you have a savegame available before the briefing, go back and make sure you have a pylon free. Alternatively, if you just open up your savegame in a text editor, do a search for missile_roles and then replace one of the entries with <string>EQ_MISSION_EMP_MINE</string>, e.g.

Code: Select all

<key>missile_roles</key>
	<array>
		<string>EQ_MISSION_EMP_MINE</string>
		<string>EQ_MISSILE</string>
		<string>NONE</string>
		<string>NONE</string>
		<string>NONE</string>
	</array>
Apologies, I cleaned up some of the other equipment-awarding parts of the mission a while ago to avoid this problem but I forgot to deal with the lawmaker bit.

Posted: Wed Jan 06, 2010 8:38 pm
by Eric Walch
Ramirez wrote:
You were awarded the weapon when you had the mission briefing, but if all your pylons were full at the time you may not have received it properly.
Than you will be pleased by changes Kaks made for 1.74. There a script will be able to check for free pylons, examine the installed missiles and remove one when it needs the space for more important mission missiles.

Posted: Thu Jan 07, 2010 8:14 am
by Kaks
Did someone mention my name? :P
Handling of pylons & missiles might still be tweaked a bit before 1.74 is released, but yes, there seems to be quite a few scripting side enhancements in trunk already!

Glad to be of service! ;)

Posted: Thu Jan 07, 2010 12:41 pm
by Ramirez
That's right - when I wrote Trident Down it wasn't possible to clear a player's pylons via the script (and even now I think you need javascript rather than legacy). If/when I rewrite the mission in JS I'll bear the new functions in mind.