#31
|
|||
|
|||
Quote:
Dialogs aren't working properly, sometimes players answers are played as npc answres and vice versa Yes, i have something to say Your script isn't work properly. Activating docking procedures disabled wav file executing |
#32
|
|||
|
|||
I've just checked and you are wrong. Docking at station doesn't stop wav file playing. Playing second wav file doesn't stop first too. I can't see why my script isn't working properly. It does exactly what I've expected.
Last edited by Goblin Wizard; 04-04-2010 at 11:12 PM. |
#33
|
|||
|
|||
Thx a lot Nanaki, Random contact with major fleet was something which was lacking in the game !
|
#34
|
|||
|
|||
A bit of an update...
I have been studying the modded fleet random contacts script of the RealSW2 mod, All in all there is about 150 kilobytes worth of code, and unfortunately getting it to work with SW3 will not be easy, if possible at all. I studied the code a lot, and there are a lot of differences between it and similar SW3 code. Creating a hybrid of that and similar SW3 might be possible, but is far beyond my capabilities in lua. The more I think about it, the more I am thinking I should tackle this problem in a different direction. Instead of trying to adapt a modded SW2 script to work with SW3, I think it would be easier to simply modify existing SW3 script. |
#35
|
|||
|
|||
Aww
I'm very interested in where you're going with this Nanaki, I even stopped trolling and registered to dl your mod =)
|
#36
|
|||
|
|||
Lately I have been experimenting with number randomization and using them in createflight scripts. The results are encouraging.
The only thing left is to figure out how to properly spawn and delete escorts. Spawning them and giving them orders is easy enough. The hard part is getting them to recognize that the parent ship is despawned (after passing through a jumpgate) and despawning along with it. Unfortunately, with the way I plan things out, if the parent capital ship is destroyed (and not despawned), the escort ships will permanently stick around in the sector. There is no way to avoid this, as the only alternative is even worse: Ships despawning the instant the mothership dies. |
#37
|
|||
|
|||
Quote:
Quote:
Last edited by Goblin Wizard; 04-18-2010 at 01:22 PM. |
#38
|
|||
|
|||
Quote:
I have not written the script yet, though. I spent most of yesterday doing additional experiments with specials.script. Quote:
|
#39
|
|||
|
|||
Yes, that's tricky. SetAllDied function needs all flights to be called by name but you don't know which flight the escort will meet. Now the only idea is time trigger like about 5 mins after escorted ship died all remaining escort goes out. It should be more than enough to end the battle. Not really a solution but still better than instant despawn or infinite hanging in space.
|
#40
|
|||
|
|||
Infinite hanging in space is probably not all that bad, it already occurs with trader fleets/Convoy fleets that lose their mothership, usually the remaining escorts are destroyed by other random contacts.
|
|
|