Topic: scripts:is their a way to change the used ships?  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

ganymad

  • Guest
scripts:is their a way to change the used ships?
« on: March 10, 2004, 01:02:01 pm »
hi there

im working on a tmp mod and id realy like to know how to change the ships in the scripts.for example id like to change the fcai and fncm in the wrath of khan mission to fca  and fncl.basicly i want to have the base versions (no bloody +,r,b,d,g,c or whatever refit) in all missions that force u to have a certain ship in your shiplist.im fine with all the missions that choose a ship from shiplist equivalent to your choosen ship (i dont know how to explain it exactly - my english is somewhat rusty. there are missions that dont force u to have a certain ship but allow u to have every ship ud like from your empire and than the computer chooses equivalent enemy ships as opponents).
id tried to open the script files with texteditor and the variant used show up below alot of unreadablesigns. i changed those variants names and saved. the missions still work but there was no change with the variants.it was still the fcai and not the fca in the twok mission.
any suggestions?

if it isnt possible in the discribed way, what is needed to do those changes.i dont want to change the misions just the variants in them.so how to do that?


greatings,




ed

Scipio_66

  • Guest
Re: scripts:is their a way to change the used ships?
« Reply #1 on: March 10, 2004, 04:42:36 pm »
I think text strings and maps are about the only things you can edit in a mission script via text editing.  Doing more than that requires you to get the source code of the mission, edit it, and then recompile.  Or, of course, you write your own.  (There is a simple-to-use program that lets you write single-player missions.  It's called FSME, or someting like that,  though I can't remember for sure for the life of me.)

However, is the ship truly hard-coded into the script, or is onlyt the ship *choice* hard-coded into the script?  What you could try doing is open the shiplist.txt file in notepad and change the name of the F-CA to F-CAI, and vice-versa.  Do the same with the F-NCM and teh F-NCL.

Then load the mission and see what happens.  You may now find that you load ships into the game with the name F-CAI and F-NCM, but that they are actually the ships you want.

-S'Cipio

ganymad

  • Guest
scripts:is their a way to change the used ships?
« Reply #2 on: March 10, 2004, 01:02:01 pm »
hi there

im working on a tmp mod and id realy like to know how to change the ships in the scripts.for example id like to change the fcai and fncm in the wrath of khan mission to fca  and fncl.basicly i want to have the base versions (no bloody +,r,b,d,g,c or whatever refit) in all missions that force u to have a certain ship in your shiplist.im fine with all the missions that choose a ship from shiplist equivalent to your choosen ship (i dont know how to explain it exactly - my english is somewhat rusty. there are missions that dont force u to have a certain ship but allow u to have every ship ud like from your empire and than the computer chooses equivalent enemy ships as opponents).
id tried to open the script files with texteditor and the variant used show up below alot of unreadablesigns. i changed those variants names and saved. the missions still work but there was no change with the variants.it was still the fcai and not the fca in the twok mission.
any suggestions?

if it isnt possible in the discribed way, what is needed to do those changes.i dont want to change the misions just the variants in them.so how to do that?


greatings,




ed

Scipio_66

  • Guest
Re: scripts:is their a way to change the used ships?
« Reply #3 on: March 10, 2004, 04:42:36 pm »
I think text strings and maps are about the only things you can edit in a mission script via text editing.  Doing more than that requires you to get the source code of the mission, edit it, and then recompile.  Or, of course, you write your own.  (There is a simple-to-use program that lets you write single-player missions.  It's called FSME, or someting like that,  though I can't remember for sure for the life of me.)

However, is the ship truly hard-coded into the script, or is onlyt the ship *choice* hard-coded into the script?  What you could try doing is open the shiplist.txt file in notepad and change the name of the F-CA to F-CAI, and vice-versa.  Do the same with the F-NCM and teh F-NCL.

Then load the mission and see what happens.  You may now find that you load ships into the game with the name F-CAI and F-NCM, but that they are actually the ships you want.

-S'Cipio