Posted: Mon Feb 16, 2009 12:40 pm
Not only the script but also the AI of the mission shipdima wrote:would it be possible for me to alter the script so that the missions are offered on any normal station?
For information and discussion about Oolite.
https://bb.oolite.space/
Not only the script but also the AI of the mission shipdima wrote:would it be possible for me to alter the script so that the missions are offered on any normal station?
Not advisable. That oxp is incompatible with a lot of other mission oxp. It will overwrite other screens. Now this is not a big problem as it only offers at its own station and overwrites only offer made at the pi-42 station. With offering at all stations it needs a lot more testing code to avoid clashes with all regular oxp's.Ark wrote:Not only the script but also the AI of the mission shipdima wrote:would it be possible for me to alter the script so that the missions are offered on any normal station?
Right, scratch that.Eric Walch wrote:Not advisable. That oxp is incompatible with a lot of other mission oxp. It will overwrite other screens. Now this is not a big problem as it only offers at its own station and overwrites only offer made at the pi-42 station. With offering at all stations it needs a lot testing more code to avoid clashes with all regular oxp's.
Code: Select all
conditions = ( "dockedStationName_string oneof Pi-42 Con Store, Tescoo Con Store, Mall-Wart Con Store, Star Con Store, Sainsboory's Con Store" );
Do not worry Eric I do not intend to do anything like that. Escort missions for the oohaul ship traditionally offered on constores and I am going to keep it that way and since constores only offer you those escort missions there is no promblem at allEric Walch wrote:Not advisable. That oxp is incompatible with a lot of other mission oxp. It will overwrite other screens. Now this is not a big problem as it only offers at its own station and overwrites only offer made at the pi-42 station. With offering at all stations it needs a lot more testing code to avoid clashes with all regular oxp's.Ark wrote:Not only the script but also the AI of the mission shipdima wrote:would it be possible for me to alter the script so that the missions are offered on any normal station?
Code: Select all
conditions = ( "dockedStationName_string oneof Pi-42 Con Store, Tescoo Con Store, Mall-Wart Con Store, Star Con Store, Sainsboory's Con Store" );
There is no need to alter anything just keep only the set_A that has the Pi-42 constore. That way all the constores will be pi-42sdima wrote:I just downloaded the Your Ad Here oxp, too and wonder if I can alter this to only spawn these necessary Pi-42 constores whenever it tries to spawn different versions.
There are more flaws in the original code. Maybe you noticed already but atArk wrote:...The oxp has more problems that have nothing to do with the missions so I am still working on it. The problem is that the 3 containers that the ship has do not spawn cargo if you destroy them probably because the spawn command in the death actions of a subentity does not work anymore even with the use of JS but A_C has just found me an acceptable solution. that has nothing to do with the escort missions unless you want destroy and loot the ship that you protect ..
Code: Select all
conditions = ("status_string equal STATUS_ENTERING_WITCHSPACE")
One quick question, does both STATUS_EXITTING_WITCHSPACE and STATUS_EXITING_WITCHSPACE work? I ask as I would normally spell it with one T in the middle word (as in the second example), but the wiki contains both spellings on different pages.Eric Walch wrote:There are more flaws in the original code. Maybe you noticed already but atscripts are never executed so this condition will never happen. Change this into: STATUS_EXITTING_WITCHSPACE. It will run a few moments later on jumping, but the code will be executed that way.Code: Select all
conditions = ("status_string equal STATUS_ENTERING_WITCHSPACE")
It is not working because an old bug was removed. To broadcast something, a ship needs to have a pilot. Till recently Oolite put even pilots in billboards and missiles and the like.Ark wrote:Thank you Eric
Can you also tell me why the pi-42sandwichboardAI is not working anymore