Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-08-2010, 01:52 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Quote:
If you only change activation parameter - yes that's easy. But it's not all. Script contains reactivation of portals after you bought new ms. It will work only in the system with the same portal names like in Elio. I other systems you'll get a lot of errors.
Portals do not use very complex names... always something like PORTAL_A and PORTAL_C and PORTAL_E... Doing a blanket activation of A through Z should fix that. It may cause a little slowdown and generate some internal log files, but otherwise would work perfectly. You could eliminate the internal errors by just adding checks for each portal, Something like if PORTAL_D exists, then activate PORTAL_D else null.

Also, I kept the original maintenance station behavior with what I did. Basically, all I did was add a sixth option to original Maintenance station dialogue which, upon selecting it, takes you to the Goblin Shipyards dialogue script.

Here is the code:
<DialogAnswer name="ans06">
<answer>#L_DR5_msg00</answer>
<lua_function>OnStationStartGW</lua_function>
<go_message_name />
<multi_pass>true</multi_pass>
<sound_name />
</DialogAnswer>
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.