Combat Tricks: Increasing Combat Challenge (OBS Mod and Guide)

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

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Combat Tricks: Increasing Combat Challenge (OBS Mod and Guide)

Post by DrBullwinkle » Sat, 21. Jan 12, 19:58

Combat Tricks OBS and Guide
Scripts, Mods, and Guide

One of my earliest frustrations with TC was that combat is too easy. Even after I worked my fight rank up to the max, the enemies were just boring.

Here is my modified Opponent Balancing System (OBS), which will give you more challenging missions, as well as some tips that I have collected.



Combat Tricks OBS
==> Download: Combat Tricks OBS v4 <== Download Here
. . . . . . . . . Mirror 1
. . . . . . . . . Mirror 2

[ external image ]


Description
Improves the Opponent Balancing System (OBS):
  • Increases combat challenge.
  • Reduces lag at higher levels. More big enemies; fewer fighters at high ranks.
  • Allows you to adjust the limits by changing values in the language (t) file.
  • Gives M8's to Xenon and Kha'ak, and M7M's to Xenons.



Background
My very first post on the Egosoft forums was in search of better combat "competition". Gazz was one of the few to respond, and he gave me the tip about OBS, the Opponent Balancing System. It is the tool that missions use to scale enemies to the player's fight rank. My very first mod to my game was a simple hack to OBS.

Since then, I have learned a lot about the game, and OBS continues to be the single most important thing that a player can change when looking for stronger enemies. By working with Eldyran on one of the missions for the Shady Business plot, I learned enough about the Mission Director (MD) to be able to refine my adjustements to OBS. Ketraar's video tutorials about MD helped, as well.

Dillpickle pointed me in the right direction for the finishing touches that make the Combat Tricks OBS finally ready for release to the public -- after more than a year and a half of working on it.


Install
Install with Plugin Manager or copy the contents of the scripts folder to your games scripts folder (addon\scripts for AP).

If this is your first time installing a script, then see Installation Tips for more information.



How to Use
Just play the game. Anything that uses OBS will become more challenging, depending on your fight rank and the settings in the language (t) file: t\8563-L0xx.xml.


History
v4 (2014-12-01)
* Better (quadratic) equation creates much gentler starting multipliers and smoother curve. A spreadsheet is included to assist in tuning for your game preferences.

v3 (2014-03-21)
* Further reduced generation of fighters above BigShipsOnlyThreshold (default is Fight Rank 7). (Tom5Cat)
* Lowered the default MaxMultiplier, to make things a bit easier for some players.
* Allow generation of M7M's.

v2 (2013-06-18 )
- Bug fix: Removed debug message. (nap_rz)

v1 (2013-06-13)
- Initial Release


Thanks to
---------
Eldyranx3, Gazz, Dillpickle, and Ketraar for their help and guidance.



Discussion Thread: Combat Tricks
More great scripts, mods, and info: Bullwinkle's List



More Combat Tricks (Guide)
1) For TC, consider Ulfius's Hard Mode and Xtreme Mode Jobs. These are listed on the CMOD3 thread. Scroll down to the section marked "Optional Difficulty Modes". For my tastes, Xtreme Mode is the most fun, but it spawns enemy invasions so frequently that there is not enough time to play the game (other than combat).

So here is how I do it:
  • - Install Hard Mode Jobs and leave it installed.

    - When I feel like a challenge, I install Xtreme Mode. It installs as a fake patch, so it overrides the already-installed Hard Mode.

    - When I want to spend time trading or doing missions, I uninstall Xtreme Mode (which then leaves me with Hard Mode).
Sorry, I do not have a good alternative for AP. :( (Should I create one?)
  • (Note: XRM players already have the benefit of Ulfius's jobs, as well as Paul Wheelers enhancements.)




2) Use AP. It is intended to be more challenging than TC, and it is.



3) Give MARS Fire Control to all enemy capital ships. For player-owned ships, use the built-in Missile Defense turret scripts in AP or Missile Defense Mk2 (for TC only).



4) Boarding against MARS: Trying to use boarding pods against a MARS-equipped enemy can be *too* challenging, so here are some ways to balance that:
  • 6a) Lower enemy shields from the player ship (the ship that you pilot). Remotely launch marines from an M7M that is outside the range of the enemies guns (~10km). This trick works because enemies prioritize the player ship as a target.


    4b) Suppress enemy weapons with the Ion Shard Railgun (ISR) -- the best pirate weapon in the game. It reduces enemy laser power, which reduces flak that destroys your boarding pods.


    4c) Capital ships have "dead" spots in their turret coverage; usually above or below the ship. Get in close (less than 1km) and find the dead spot, then launch pods from short range.


    4d) If all else fails, then use X3 Editor 2 to change the Boarding Pod "type" to "fragmentation" in TMissiles. This has the effect of increasing the number of targets for the enemy so that more of your pods will "get through". You may still lose marines to enemy flak, but most of your marines will land on the target, so it is a nice balance.

5) Kha'ak in AP:
  • Improved Kha'ak 2: The Revenge Return of the classic by 7ate9in11s. Note: You may want to turn down the default settings. Probably. ;)

    Kha'ak in UFJD sectors Re-Adds Kha'ak to Undefined Space, thus restoring the challenge that made Nividium mining "entertaining" in TC.

    Return of the Khaak - Adds roaming Kha'ak (no missions or Undefined Space).

    Roguey's UFJD Mod - Adds Kha'ak and Xenon to Undefined Space, as well as some other features. This is a mod rather than a script, although I don't know of anything that conflicts with it.

    Kha'ak Invasions (Maybe. I have had several emails about invasions but have not seen one yet... maybe I just have not stumbled onto the correct sector?).
6) Karma by 7ate9in11s Provides "consequences" for your actions.
Last edited by DrBullwinkle on Tue, 3. Nov 15, 22:42, edited 42 times in total.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sat, 21. Jan 12, 21:06

Are you using the strafe drive?
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sat, 21. Jan 12, 21:12

Sometimes. I strafe more often when boarding than in combat.

Why do you ask?

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sun, 22. Jan 12, 01:19

Because the AI cannot strafe. It's about the biggest exploit the player can use in X3.
So if you're looking for ways to make combat harder - clear those 4 keys from the keymap! =)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

PRiME2007
Posts: 32
Joined: Tue, 10. Jul 07, 01:50

Post by PRiME2007 » Sun, 22. Jan 12, 01:50

You could also mount weaker weapons, or blindfold yourself :)

User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea » Sun, 22. Jan 12, 02:01

Well you can use Phantom corporation ho will steel your trade opportunities, and enable MARS for AI ships.Also instal Pirat Guild and Yaki armada together with MMBR and Anarkis Defense.Now all that combine with XRM and you will have the TIME OF YOUR LIFE :wink:

Edit: O yes also instal TC Stock Exchange and you can earn or lose miliones :twisted:

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sun, 22. Jan 12, 02:31

Gazz wrote:Because the AI cannot strafe. It's about the biggest exploit the player can use in X3.
So if you're looking for ways to make combat harder - clear those 4 keys from the keymap! =)
Wow, I did not expect *that* answer!

X3's strafing feels more like a limitation than an exploit. :) Perhaps I am spoiled by space sims that have Newtonian physics. Flying sideways and backwards feels normal in a star fighter.

No matter -- strafing is not a major factor. The only evasive maneuver that I normally use against capital ships is to slowly move the stick up and down. That is sufficient to avoid 80% of big gun "bullets".

Since it was you, Gazz, who responded, I did have a thought about trying to use your scripts to improve combat. If I had more cpu surplus, I would consider giving MARS to the enemy ships and use Missile Defense 2 for my own. However, big fights already produce too much lag, so I have not tried MARS. And, if I understand correctly, Missile Defense 2 already improves enemy turrets.

Is there an easy way to increase enemy numbers during missions?

I cannot be the only person who has ever had this question... how do the rest of you deal with making combat challenging?
Idea wrote:instal Pirat Guild and Yaki armada together with MMBR and Anarkis Defense... and XRM...
What is MMBR? The others appear to only add numbers of opposing races... do they change combat difficulty?

XRM is the one mod that I have tried that does make combat fun. But I am not fond of the changes in trading, ships, and wares since I just learned the vanilla names. Is that all there is?
Last edited by DrBullwinkle on Mon, 23. Jan 12, 04:10, edited 2 times in total.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sun, 22. Jan 12, 02:42

DrBullwinkle wrote:Is there an easy way to increase enemy numbers during missions?
There is a mission director script that determines the enemy force and composition in missions.
Some 3 letter name. Has an O somewhere in it.
(I do not speak MD)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

Gotis
Posts: 6
Joined: Thu, 16. Jun 11, 06:38
x3tc

Post by Gotis » Sun, 22. Jan 12, 03:04

Did you check out combat mod 4?
It with the optional missile rebalance pack sounds like what you're looking for. Increased projectile speed, ships able to sustain fire longer, plenty more.

CMOD4
http://forum.egosoft.com/viewtopic.php?t=288835

Read through it and version 3 which it is based on for the full changes.
http://www.thexuniverse.com/threads/135 ... n-Conflict
C2D Q6600 2.4Ghz @ 3.6 (400x9) Air --- 4x2GB 4-4-4-12 800Mhz GSkill --- MSI P35 Plat --- Nvidia 275 GTX --- Win 7 x64

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sun, 22. Jan 12, 03:41

Gazz wrote:There is a mission director script that determines the enemy force and composition in missions.
Some 3 letter name. Has an O somewhere in it.
OBS? That sounds promising! The header says:

Code: Select all

<content reference="OBS" name="Mission Director Opponent Balancing System" description=-"The OBS is a system to balance how many enemy ships will be created in a mission"/>
It appears that OBS uses two scores to set difficulty, OBSMissionRank and OBSDifficultyRank.

Around line 681, there is a table of ranges for OBSDifficultyRank, ranging from 5 to 100. Is 100 a maximum, or can I change the range from, say, 10 to 200?

More importantly, line 711 combines the difficulty and mission ranks. I can either add a (5-25x) multiplier there.

EDIT: After some experimentation, I found that a 5x multiplier is good early in the game, increasing up to about 25x by the time I have a carrier fleet. More than that tends to generate hundreds of enemies, but most of them spend their time trying to avoid each other rather than shooting at the player. In other words, more than 25x adds lag without adding challenge.

@Gotis, Idea, Prime... thanks, guys. CMOD4 and XRM are nice but not for me.
Last edited by DrBullwinkle on Mon, 16. Apr 12, 06:10, edited 2 times in total.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

OBS.xml

Post by DrBullwinkle » Mon, 23. Jan 12, 04:34

Update: I had success with modifying OBS.xml. I changed Line 711 to:

Code: Select all

<set_value name="this.PointPoolModification" exact="({value@this.PointPool}+1)*{value@this.RandomNumber}*4"/>
(The "*4" is my addition) (This is in X3TC v3.2)

The result was that my next patrol mission spawned 6 Q's (plus escorts) against my Deimos + fighter wing; 38 total Xenons. Also, the Q's had much stronger shields than I have seen in the past, so changing OBS definitely did something good.

That was a better fight than most. I lost a fighter to a Q (and another to the autopillok *sigh*). :)

Oh, and I guess that I do tend to strafe when things get hot. It's a reflex *shrug*. It's more fun that way when outnumbered anyway.

Thanks for pointing me in the right direction, Gazz!

Sn4kemaster
Posts: 1014
Joined: Wed, 17. Jun 09, 18:29
x4

Post by Sn4kemaster » Mon, 23. Jan 12, 06:23

As pointed out before....CMOD 4

It rebalances all the weapons to XRM values but that's it, so you will get a combat experience something similar to the XRM that you liked but not any changes elsewhere!

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Mon, 23. Jan 12, 06:30

Sn4kemaster wrote:As pointed out before....CMOD 4
Yep. Got it... And, as I pointed out before, it's not for me. CMOD4 has much of the same balance as XRM. Both are fine mods... they just are not what I prefer.
DrBullwinkle wrote:EDIT: However, CMOD4 does not re-balance trading. I will take another look at it.
Thanks for the tip, I will try it. :)

Do you use SRM with CMOD4? How about the hulls pack? If so, which pack? Am I correct in thinking that stronger hulls increase difficulty?
Last edited by DrBullwinkle on Thu, 9. Aug 12, 02:12, edited 1 time in total.

Sn4kemaster
Posts: 1014
Joined: Wed, 17. Jun 09, 18:29
x4

Post by Sn4kemaster » Mon, 23. Jan 12, 06:58

Yes I used SRM with CMOD 4.....if u use both then it's a softer version of XRM, I think you just need to experiment to find out what you like.

The hull packs make combat harder, I found low (or medium) to be the best.....high just creates battles that never end you just always end up taking hull damage yourself and running out of laser juice all the time.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Mon, 23. Jan 12, 07:05

OK, I will try one thing at a time then.

Thanks. :)

User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR » Sun, 26. May 13, 01:53

DrBullwinkle.

I looked at line 711 in the OBS file from http://forum.egosoft.com/viewtopic.php?t=327293

but there is nothing there? The nearest match is line 1013. Has the mod changed since you wrote this?

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sun, 26. May 13, 02:05

The change for line 711 is for the vanilla OBS (line 723 in AP 3.0).

AOBS is an easy install, but it did not work as well (for me) as just modifying line 723.

To perform the same adjustment on AOBS 1.02, it looks like line 1092 to me.

EDIT: Updated OP.
Last edited by DrBullwinkle on Sun, 26. May 13, 02:08, edited 1 time in total.

User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR » Sun, 26. May 13, 02:07

DrBullwinkle wrote:The change for line 711 is for the vanilla OBS (line 723 in AP 3.0).

AOBS is an easy install, but it did not work as well (for me) as just modifying line 723.

To perform the same adjustment on AOBS 1.02, it looks like line 1092 to me.
Ok I misread your post. I thought you were refering to editing the aobs obs file.

vr01
Posts: 1255
Joined: Sun, 10. Sep 06, 00:01
x4

Post by vr01 » Sun, 26. May 13, 02:11

DrB, I know it has been well over a year since you started this but do you have the 1.0 disc version of TC? If you do you should install a copy, patch it to 1.2 and check out OBS. 1.2 produced insane amounts of enemies (I can remember in my Vidar having to take on over 150 Xenon ships in one mission, mostly P's) but boy was it fun! Unfortunately it was too much for some and they toned it down for 1.3.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sun, 26. May 13, 02:26

That is an interesting tip, vr01!

It turns out that OBS 1.0 is still in the 03.cat file in the TC folder, so it was easy to find. But, wow, sooooo much has changed since 1.0! It would be nearly impossible to reverse only the changes related to stronger enemies.

Perhaps, as my MD-fu improves, I may be able to improve OBS in the future. For now, however, the simple change to line 723/711 works pretty well.

Thank you for the tip.

Post Reply

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