[Discussion] Generic X3TC S&M questions III

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
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21111
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Sat, 28. Nov 15, 16:06

roundowl wrote:Mod problem was tied to fake patches, for some reason any mod that came with a fake patch ruined the game - either by CTD or by slowing it to seconds per frame.
That sounds a lot like either a conflict between different mods or a failed/damaged download. The installation method alone shouldn't have an impact on the game performance / stability.

If you're looking for mod suggestions, then I would suggest having a look at the following thread: Which Mod/Script Should I Download?
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton

roundowl
Posts: 29
Joined: Mon, 19. Oct 15, 13:07
x3ap

Post by roundowl » Sat, 28. Nov 15, 22:52

Thanks for the reply and the link, I was looking at that thread a couple of times, but even after that I still had a question "which of those mods do I download". I found the thread called "[Discussion/FAQ] What are the recommended scripts&mods? Ask here." and that helped me to get going, because it had three completed sets of mods and I just compiled mine from them.

BlackArchon
Posts: 951
Joined: Wed, 4. Feb 04, 18:37
xr

Post by BlackArchon » Sun, 13. Dec 15, 17:11

Where are resources and products of AI and player factories defined?

User avatar
ubuntufreakdragon
Posts: 4042
Joined: Thu, 23. Jun 11, 14:57
x4

Post by ubuntufreakdragon » Sun, 13. Dec 15, 18:54

maps/waretemplates.xml
and sometimes maps/x3universe.xml
My X3 Mods

XRebirth, things left to patch:
In General; On Firing NPC's; In De Vries; Out Of Zone; And the Antiwishlist

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

Post by JSDD » Sun, 13. Dec 15, 19:14

ubuntufreakdragon wrote:maps/waretemplates.xml
you have to reset it if you want to make it work in your savegame
(ist auf deutsch, sollte dich aber nicht stören ^^)
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

BlackArchon
Posts: 951
Joined: Wed, 4. Feb 04, 18:37
xr

Post by BlackArchon » Sun, 13. Dec 15, 19:29

ubuntufreakdragon wrote:maps/waretemplates.xml
...
Thank you, this is the information I needed. :)

nekoexmachina
Posts: 58
Joined: Thu, 3. Apr 14, 12:51
xr

Post by nekoexmachina » Mon, 11. Jan 16, 17:33

Can't find info on this one. Is there any way to apply acceleration to the ship in "free" direction? E.g., I have ShipA & ShipB; ShipA explodes, I want to apply a little bit of acceleration on the line of ShipB ---> ShipA, but I can't find how do I do this. I have coordinates for both ships, so I can work with that, but I can't find "free-way" acceleration command.
Image

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21111
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Mon, 11. Jan 16, 18:58

The commands <RefObj> force position: x=<Var/Number> y=<Var/Number> z=<Var/Number> and <RefObj> set position: x=<Var/Number> y=<Var/Number> z=<Var/Number> allow you to move an object to certain coordinates ('<RefObj> set rotation: alpha=<Var/Number> beta=<Var/Number> gamma=<Var/Number>' (all in General Object Commands) lets you change the rotation). If you make it slow enough (i.e. have a loop which moves every few miliseconds the ship a few meters away), it might be possible to make it look as if it would be pushed away by a shockwave.
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton

tearing
Posts: 46
Joined: Mon, 26. Oct 15, 04:20

Post by tearing » Tue, 16. Feb 16, 22:05

anyone know how to get a list of installed mods on my addon folder?

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21111
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Wed, 17. Feb 16, 22:09

There's no ingame way to do that. The official mod installation feature through the mods folder only supports one mod at a time. And by using the Fake patch method the game cannot tell apart files from mods and those from the game installation and patches.

If you use an external program like the Plugin Manager, then there you could see what mods you have installed. Alternatively, if all of your mods would either contain a text file with a specific line or register a script via a certain script menu (like the Community Plugin Configuration) you could find out what is installed, whereby you would have to know what to look for.
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton

freddie13
Posts: 5
Joined: Mon, 29. Feb 16, 17:16

Post by freddie13 » Wed, 2. Mar 16, 09:37

anyone knows dmg calculation on x3ap oos?

lets say a m3 with 10 ire hitting a m2
will it deal 900 hull dmg and 880 shield dmg per rounds (5 second) and 6 times of it if i am not watching oos battle or there is some more complicated math behind it

User avatar
DrBullwinkle
Posts: 5704
Joined: Sat, 17. Dec 11, 02:44
x3tc

Post by DrBullwinkle » Wed, 2. Mar 16, 14:55

freddie13 wrote:anyone knows dmg calculation on x3ap oos?

lets say a m3 with 10 ire hitting a m2
will it deal 900 hull dmg and 880 shield dmg per rounds (5 second) and 6 times of it if i am not watching oos battle or there is some more complicated math behind it?
More complicated math and some probability. Not sure that all of it has ever been published.

AP uses separate damage values when OOS. For IRE, the OOS Shield Damage is 88 (per shot) and OOS Hull Damage is 9 (TBullets). IRE fires 400 shots per minute (TLasers) which is 6.67 shots per second. So 587 Shield Damage per second and 60 Hull Damage per second (per IRE).

Usually we only care about RELATIVE damage per second (dps), so the exact number of seconds of fire used does not come up often. I don't recall it ever being mentioned, not even in Gazz's OOS Rebalance or OOS Rebalance v2 threads, which were the predecessors to the OOSR3 balance that is in X3AP. Gazz wrote most of the OOS balance for AP, but he has not been active in the forum recently.

I don't know about the number of seconds of fire. You could test it against an unshielded and weaponless M2 if you want to know for sure.

(If your M2 has weapons, then the test won't last long. ;) )

The amount of damage done per turn is the same whether you are watching the battle or not. The turn lasts longer if you are not watching, but the damage per turn is the same.

Hope that helps.
Last edited by DrBullwinkle on Wed, 2. Mar 16, 16:05, edited 1 time in total.

freddie13
Posts: 5
Joined: Mon, 29. Feb 16, 17:16

Post by freddie13 » Wed, 2. Mar 16, 17:09

so x3ap now use damage per second instead of damage per shots

thanks a lot for those information

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

Post by JSDD » Mon, 9. May 16, 21:31

i have a question about the model files, i want zu figure out how / where the mesh size is specified
if you look for example at the decompiled (.bod using doubleshadows tool) argon discoverer mesh and compare it to the mesh from boron thresher, the argon discoverer is twice the size !! obviously that cant be correct, so there must be anywhere a scale factor ror the mesh, and my question is: where ?

example: argon_M5.bob converted to .bod

Code: Select all

// material has nothing to do with scale
MATERIAL6: 0; 0x2000000; 1; argon.fx; 68; diffcompression;SPTYPE_BOOL;0; b .......

// beginning of bodies (4)
// beginning of body 1
4001; 
that value seems quite promising to be such a scale factor, but i've triied to use that ... without success :-|

// beginning of points (5154)
6519; -18361; -53531; // 0
... these are the vertices of the mesh i want to resize

// ----- part 1 (10096 faces) -----
0; 0; 2; 1; -25; 2; 0.717072; 0.048264; 0.719437; 0.026810; 0.761368; 0.048203;
... first number = used material, second/third/fourth number = face point indices
-25 = no clue, but the thresher file has also -25
2 = no clue
the next 6 floating points are texture coordinates

... and at the end of that part:
/! COLLISION_BOX: 0.000000; 0.000000; 0.000000; 1.009842; 1.000000; 0.491196; 0.973785; !/
-99; 00000000000000000001; // part 1 end
-99; 0000000001000000; // body 1 end
... seems to specify the collision box, i guess ^^
i've taken also a look at TShips / scene files, but i havent got a clue where i can get the correct scaling factor .... :| :?:
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

tearing
Posts: 46
Joined: Mon, 26. Oct 15, 04:20

Post by tearing » Tue, 31. May 16, 13:28

can i add a new drone?
i tried couple of things but fail miserably

Post Reply

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