Jobs.pck file

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Post Reply
arczer25
Posts: 3
Joined: Wed, 9. Jul 14, 14:56

Jobs.pck file

Post by arczer25 » Wed, 9. Jul 14, 15:28

i don't found any topic for that problems so i made this topic. i have two problems with jobs.pck file.

First i cant spawn ships with wings i tried different things that 1 found on others topics but they don't work. (i set jobwings, even make separate jobs for each ship, and give "wind commands" to wing ships i also tried copy ships that already have wing) and still ships don't have wings.

Second "Creation flags" i understand they names but they also have some hided work. Like "create in gate" it spawn ship i gate, but only spawn when player is entering sector. if anyone have more info about this flags post it. i need mostly to know how really works "create in shipyard".

i need this for mod that changes war zone. i want to make more player ships friendly and more active using only jobs. i have basic version and its work much better than vanilla but i want to expand it further

User avatar
JSDD
Posts: 1378
Joined: Fri, 21. Mar 14, 20:51
x3tc

Post by JSDD » Wed, 9. Jul 14, 16:18

... take a look @ this topic (use google-translate)
... to spawn a escort for a specific job-id, you have to do:
--> create main job 9000 (e.g. a patrol ship centaur)
--> create escort job 9001 (e.g. a escort nova raider)
--> now link the escort job to the main job:
----> job wing index = 150 (main job)
----> job wing index = 0 (escort job)
----> create jobwing entry (in jobwings.pck):
------> 150;9001;9001;9001;9001
(that will create 4x the job 9001 as escort for every job that has the jobwing index = 150)

... now check the right commands for those 2 jobs:
--> "patrol.short" for example means, that the job ship will call the script "!job.patrol.short" (use this for the main job)
--> "wing.protect" for example means, that the job ship will call the script "!job.wing.protect" (use this for the escort job)

note: ... "job jump range" is something you have to edit manually IF YOU ARE USING X3EDITOR2 !!
To err is human. To really foul things up you need a computer.
Irren ist menschlich. Aber wenn man richtig Fehler machen will, braucht man einen Computer.


Mission Director Beispiele

arczer25
Posts: 3
Joined: Wed, 9. Jul 14, 14:56

Post by arczer25 » Wed, 9. Jul 14, 17:29

i was on this topic and still it not work (i didn't modify script file) also the flag information's aren't complete.

there are my ships jobs and jobwings
[/7392;Military M1-7 TERRAN Heretic End Defense;1;1;patrol.short;0;30000;0;0;1;0;1;1;153;0;0;0;1200;-1;1;1;0;0;0;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;-1;0;0;1;0;0;0;1;0;0;0;0;13;4;1;0;0;0;0;5;0;80;80;20;0;0;0;0;0;0;0;0;0;1;1;0;0;100;90;0;0;0;0;0;0;0;0;1;1;1;1;0;0;0;0;0;0;5;100;70;85;0;0;0;0;0;1;0;0;1;0;0;0;0]
[/7393;Military M1-7-M3-5 TERRAN Heretic End Defense;15;0;wing.attacksame;0;40004;0;0;1;0;1;1;0;0;50;0;1200;-1;0;0;1;1;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;-1;-1;0;1;0;0;0;1;0;0;0;0;13;4;1;0;0;0;0;90;0;80;80;20;0;0;0;0;0;0;0;0;0;0;1;0;0;100;90;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;5;60;80;100;0;0;0;0;0;1;0;0;1;0;0;0;0]
[/7394;Military M1-7-M6 TERRAN Heretic End Defense;1;0;wing.attacksame;0;40004;0;0;1;0;1;1;0;0;50;0;1200;-1;0;0;0;0;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;-1;-1;0;1;0;0;0;1;0;0;0;0;13;4;1;0;0;0;0;5;0;80;80;20;0;0;0;0;0;0;0;0;0;0;1;0;0;100;90;0;0;0;0;0;0;0;0;1;1;1;1;0;0;0;1;0;0;5;60;80;100;0;0;0;0;0;1;0;0;1;0;0;0;0]

jobwings

[/153;7393;7393;7393;7394]

done
Last edited by arczer25 on Wed, 9. Jul 14, 23:35, edited 1 time in total.

User avatar
JSDD
Posts: 1378
Joined: Fri, 21. Mar 14, 20:51
x3tc

Post by JSDD » Wed, 9. Jul 14, 19:55

1. are you playing TC or AP ??
2. did you modify the correct file ?? (if game = AP -> install-dir = ...\\addon\\types\\jobs.pck)
3. did you restart your game to test your mod ?? (... to skip the respawn time ^^)

PLEASE PUT YOUR CODE IN [/code]-brackets !!!
To err is human. To really foul things up you need a computer.
Irren ist menschlich. Aber wenn man richtig Fehler machen will, braucht man einen Computer.


Mission Director Beispiele

arczer25
Posts: 3
Joined: Wed, 9. Jul 14, 14:56

Post by arczer25 » Wed, 9. Jul 14, 23:33

its my friend x3 ap and i mod this game for about 1 year i know correct locations of files, (i modded correct file, its last cat etc...) problem is only incorrections in jobs.pck or bug in game.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”