[SCRIPT] Afterburner MK1/MK2 V1.32 : Updated 17/07/2006

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Rate this script

Excellant
16
48%
Good
10
30%
OK
5
15%
Not so Good
2
6%
Terrible
0
No votes
 
Total votes: 33

paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

I have install afterburner script, i have give a key for use it in menu.
And i rush to buy to dock station of split for buy it... and nothing....
There is no afterburner to buy in list of dock station.

Bug with my french version?
User avatar
Stevio
Posts: 2271
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio »

i don't believe this script is supported for french games

you may need to change the text file names and certain text file calls to whatever the french number is e.g 447532 -> xx7532

i think the french number is 39xxxx. correct me if i a wrong???

:edit: sorry 33xxxx


cheers

stevio
Last edited by Stevio on Fri, 10. Mar 06, 21:30, edited 1 time in total.
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

no it's the number 33, but what text file you talking about ?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

if ur using the latest version of the script manger you dont even need to do that, just set the correct language id in the options and it will automatically rename any files to the the correct language id.

but i dont think that is ur problem, as if the text file isn't there, the item will still be available, just with the name, something like SS_WARE_SW
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

ok cycrow.

no long time i have X3.

And i have already work on your fabulous script. Now, work properly with french Version.

But i have change lot of thing, afterburner work as other game, but just need to create a cooldown before to use it again.

No need energie.
No auto pilote actived.
can increase/reduce speed during afterburner
afterburn use time is 15s
bonus speed at 100m/s

got a little difficulty to make a cooldown of 30s.

http://www.polar-horses.com/testec/afterburner_fr.spk
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

French final version, works for other languages.

http://forum.egosoft.com/viewtopic.php?t=132282
Tritous
Posts: 899
Joined: Sat, 15. Jan 05, 17:20
x3tc

hmmm

Post by Tritous »

I don't think it's a good idea to make that many changes to another person's script, although I notice you have mentioned that you've made lots of modifications to it on that thread (although my french is only limited) still, nice work making it run on the french version
Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life ;)
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

yes i have change very lot of thing in the script.

- Give a bonus of 100 meters per seconde during 10 secondes.
- Cooldown of 20 secondes, don't need energie.
- Sound play "bip" for reload.
- You can buy Afterburner at all race dock station.
- You are not stunk by autopilote during launching of afterburner.
- You can increase/decrease speed during afterburner.
- Deleted afterburner MK2

Well, the afterburners work as all other space ship game's.

I havn't stole name author, i have just say i have make lot of modification from english version by cycrow.

French version work for all languages.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

how did u make it change speed without using the autopilot ?
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

well, that will be difficult for me to explain that. but i'll try, so i suggest you to open the script and look what i have do.

Want to say you first,

I can say you THANK, without your script, never i'll success to do it! Because, i m a novice in script, i have 2 days of experience.

well,

-First, i have clear line for autopilote who calculed move with meteor.
-I have change valor of energy to null. (it's always possible to actived it)
-I have change valor of tuning to 15. (give bonus of 100M/s)

After i have do a variable at start and end of script, call afterburn.reload.
This variable is control at start of script 'plugin.afterburn.switch.xml', and i skip if 'afterburn.reload' at true. So it's not possible to active afterburner again if they are ON.

And i have clear line with code who disable afterburner.
So it's not possible to disable the afterburn during process, but you can reduce speed with joystick.


For the end, i have add a script 'plugin.afterburn.cooldown.xml' for create a cooldown when afterburn is finish.


Well i learn himself, and moderator help me a bit for the code of cooldown.

He say me, if we want computer use afterburner we must change globalvalor to localvalor.


i don't know if i have write in correct language.
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

just a question, how can i change price of afterburner?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

ill have to look at it, but it sounds like u've made it like how the x2 script worked, where you just increae the max speed and then you have to manually control how fast you want it, which is something i didn't want to do which is y i used the autopilot.

also u say ur adding 15 tunings to get an extra speed of 100m/s, but thats actually not correct, if you want to give any ship an extra speed of 100m/s u need to do abity more
as 15 tunings will give differnet speed increases for each ship so u have to compute the correct number of tunings to add for each speed rather than a set number.

to change the price you will need to change what ware it uses. You change the entry in the text file to use a differnet ware, then change the assignment of the ware in the script

alternativly, you could create a mod which edits the price of the ware
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

ok for tuning, so we need to caculate a percent with speed max for find a good tuning and give 100M/s.

so for the price, it's a ramdomize ?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

nope, the game uses ware slots, each slot has a set price it uses

so changing the ware to a differnet slot will change the price to one of the other fixed prices
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

i would like to create 2 wares, how can i choose a correct slot? I no idea how to add a ware.

I must do it by scripter?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

iif your gonna add new wares i suggest using the EMP as ware slots are limited and all but used up now.

but basically what you do, is first create a text flie, the page id would be 17 for wares
then the t id would be the corrosponding id for the ware you want to use, ending in 3 is the ware name, and ending in 4 is the wares description

if your using the EMP, it will tell you which wares use which id, jsut pic a free one that matches the price you want and use that id.

once you've done the text file, you need to load it into the game using a script, usually a setup script with the command, load text id=

once its loaded, you will then see you ware in the wares list. then just use it as any other ware
adding it to differnet stations, etc
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

Cycrow wrote:iif your gonna add new wares i suggest using the EMP as ware slots are limited and all but used up now.

but basically what you do, is first create a text flie, the page id would be 17 for wares
then the t id would be the corrosponding id for the ware you want to use, ending in 3 is the ware name, and ending in 4 is the wares description

ok got an exemple with your text 447532.xml for afterburner.

...
<page id="17" title="wares" descr="0">
<t id="5863">Afterburner MK1</t>
<t id="5864">The MK1 Afterburner allows your smaller ships to travel at faster speeds while it's enganged, it requires energy cells to keep it running</t>
<t id="5903">Afterburner MK2</t>
<t id="5904">The MK2 Afterburner allows your capital class ship to travel at faster speeds while it's enganged, it requires energy cells to keep it running</t>
</page>
...

i understand that
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

Cycrow wrote:
if your using the EMP, it will tell you which wares use which id, jsut pic a free one that matches the price you want and use that id.
What's a "EMP" ??? i don't understand what you want mean really...
Last edited by paladin3333 on Tue, 14. Mar 06, 21:28, edited 2 times in total.
paladin3333
Posts: 80
Joined: Wed, 1. Mar 06, 18:28
x3

Post by paladin3333 »

Cycrow wrote:
once you've done the text file, you need to load it into the game using a script, usually a setup script with the command, load text id=

once its loaded, you will then see you ware in the wares list. then just use it as any other ware
adding it to differnet stations, etc
ok for that, i have see how you have do a little bit in your script. that help me for my futur script.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22408
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

EMP is the extend ware mod.

its biascally a mod that adds lots of extra wares to use in the game.

basically to add a ware in the game you have to use one of the custom wares, but there is a very limited number, the EMP adds more wares for you to use.

Return to “X³: Reunion - Scripts and Modding”