Jump to content


Anyway to play SOS, TDD, CTB, and TS with Tactics?


  • Please log in to reply
48 replies to this topic

#21 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 26 November 2006 - 05:10 PM

somebody, gimme a unique BP filename, already.

#22 ronin

ronin
  • Modder
  • 2114 posts

Posted 26 November 2006 - 11:34 PM

BPBAG04.ITM

#23 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 03 December 2006 - 12:11 AM

TP2 will be ready tomorrow (later today). yay

#24 ronin

ronin
  • Modder
  • 2114 posts

Posted 03 December 2006 - 01:02 AM

Each component of tactics that is included in BP will need to be checked incase somone only installed a couple of them and not all of them.

ronin

#25 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 03 December 2006 - 09:59 PM

^^^ Done and tested.

{version 3 of TP2 completed - attachment below}

The changes to the TP2:

(1)
For BP variants (of Tactics) that are not chooseable options,
then the Tactics component will not install.
These type of variants override existing game files no matter how the files got there.

Each of these Tactics components have this exception:
REQUIRE_PREDICATE NOT FILE_EXISTS_IN_GAME  "BPBAG04.ITM"  ~Skipping Component installation -- already included with Big Picture mod~
The list of BP variants are in the post "what parts of Tactics are included in BP?"

(2)
There are BP variants of Tactics for which there was no distinct filename to flag. I had to look for the existence of "BPV177.TP2". This means that the component cannot be installed, even if it has not been installed by BP. Also, the TP2 has to be updated every time BP is updated.
Gebhard Blucher's Lich in the Docks
Kensai Ryu's Improved Crypt King
Gebhard Blucher's Random City Encounters
Kensai Ryu's Random Wilderness Encounters

(3)
For BP variants (of Tactics) that are chooseable options,
then the Tactics component will not install.

Each of these Tactics components have an exception based on a uniques file from BP.
Example:
REQUIRE_PREDICATE NOT FILE_EXISTS_IN_GAME  "KRFAM01.cre"  ~Skipping Component installation -- already included with Big Picture mod~
The Ritual (requires ToB)
"Kuroisan", the Acid Kensai
"Red Badge" Poison-Based Encounter (requires ToB)
Kensai Ryu's Tougher Kangaxx and Guardians
Kensai Ryu's Gnome Fighter/Illusionst in the Docks
Mike Barnes's Improved Small Teeth Pass


(4)
These are Tactics components that can be installed even if BP is installed (until noted otherwise):
Improved Sahuagin City
Fighter-Class Archer Kit
Anti-Paladin Kit
SimDing0's Improved Oasis (non-D0QuestPack version)
Mike Barnes's Improved North Forest
Mike Barnes's Marching Mountains
Slightly Tougher Demons
Smarter Dragons (allowed until BP fixes dragon scripting [link])
Streamlined Trolls


Attached File  Setup_Tactics.tp2   58.6K   734 downloads

Would like to see the (finished) TP2 updated in the official Tactics build. I asked CamDawg but he implied he's not the mod's caretaker. Anyone know who is?

Edited by Azazello, 04 March 2007 - 09:13 AM.


#26 kimmel

kimmel
  • Member
  • 37 posts

Posted 04 December 2006 - 11:17 AM

^^^ Done and tested.

I added this line to each component except for the exceptions below:

REQUIRE_PREDICATE NOT FILE_EXISTS_IN_GAME  "BPBAG04.ITM"  ~Component NOT installed: already included with Big Picture mod~
These are the only components that can be installed if BP is installed (until noted otherwise):
Improved Sahuagin City
Gebhard Blucher's Lich in the Docks
Kensai Ryu's Improved Crypt King
Fighter-Class Archer Kit
Anti-Paladin Kit
SimDing0's Improved Oasis (non-D0QuestPack version)
Mike Barnes's Improved Small Teeth Pass
Mike Barnes's Improved North Forest
Mike Barnes's Marching Mountains
Slightly Tougher Demons
Streamlined Trolls


TP2 attached.

Now, I wonder if we can get this put into the official Tactics build? I'll ask.



Wow, this looks great (tho I have not played it yet)! an excellent idea!

#27 Salk

Salk
  • Modder
  • 1419 posts

Donator

Posted 06 December 2006 - 01:19 PM

Thanks for that, Azazello! :cheers:

#28 ronin

ronin
  • Modder
  • 2114 posts

Posted 06 December 2006 - 10:36 PM

^^^ Done and tested.

I added this line to each component except for the exceptions below:

REQUIRE_PREDICATE NOT FILE_EXISTS_IN_GAME  "BPBAG04.ITM"  ~Component NOT installed: already included with Big Picture mod~
These are the only components that can be installed if BP is installed (until noted otherwise):
Improved Sahuagin City
Gebhard Blucher's Lich in the Docks
Kensai Ryu's Improved Crypt King
Fighter-Class Archer Kit
Anti-Paladin Kit
SimDing0's Improved Oasis (non-D0QuestPack version)
Mike Barnes's Improved Small Teeth Pass
Mike Barnes's Improved North Forest
Mike Barnes's Marching Mountains
Slightly Tougher Demons
Streamlined Trolls


TP2 attached.

Now, I wonder if we can get this put into the official Tactics build? I'll ask.


That wont work. You will need to find a unique item, store, spell or something (in BP) for each component that is in BP and Tactics. bpbag04.itm is in the core BP component so when your .tp2 checks for it and finds it it will skip all the components of tactics that are in BP regardless if the player installed them or not.

If your going to do this you might as well throw a check in there for Sim's questpack for the improved oasis component so that component wont get installed twice.

ronin

Edited by ronin69hof, 06 December 2006 - 11:32 PM.


#29 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 08 December 2006 - 03:26 AM

You are right. OK. The logic is fine. Just gotta determine which file to use per component. Back to the workshop.

#30 ronin

ronin
  • Modder
  • 2114 posts

Posted 08 December 2006 - 03:56 AM

You are right. OK. The logic is fine. Just gotta determine which file to use per component. Back to the workshop.


Just look at the .tp2 for BP and find an item in each of the components. BP generally adds items with a prefix of BP so it should not be too hard to find something.

ronin

#31 -Guest-

-Guest-
  • Guest

Posted 08 December 2006 - 04:00 AM

Tactics Improved Oasis isn't Quest Pack Improved Oasis. The former sucks balls.

#32 ronin

ronin
  • Modder
  • 2114 posts

Posted 08 December 2006 - 04:14 AM

Tactics Improved Oasis isn't Quest Pack Improved Oasis. The former sucks balls.


We know that Sim, but some people wont listen to reason and want to install it anyways. The check is to just make sure they dont kill their game.

ronin

#33 -Guest-

-Guest-
  • Guest

Posted 08 December 2006 - 04:19 AM

Oh, I misunderstood what you meant when you said "installed twice" then, sorry.

#34 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 08 December 2006 - 12:21 PM

Removed the TP2 until corrections are made.

And good catch tagging Sim! It's getting pretty easy to do nowadays. :lol:

Edited by Azazello, 09 December 2006 - 12:59 PM.


#35 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 21 January 2007 - 01:40 PM

Version 2 of TP2 now attached above. How's it look?

#36 ronin

ronin
  • Modder
  • 2114 posts

Posted 21 January 2007 - 11:51 PM

The following still bothers me:

ALWAYS

  ACTION_IF NOT FILE_EXISTS ~override/action.ids~ THEN BEGIN
	COPY ~tactics2/ids/action.ids~ ~override/action.ids~
  END
  ACTION_IF NOT FILE_EXISTS ~override/trigger.ids~ THEN BEGIN
	COPY ~tactics2/ids/trigger.ids~ ~override/trigger.ids~
  END
  ACTION_IF NOT FILE_EXISTS ~override/spell.ids~ THEN BEGIN
	COPY ~tactics2/ids/spell.ids~ ~override/spell.ids~
  END
  ACTION_IF NOT FILE_EXISTS ~override/race.ids~ THEN BEGIN
	COPY ~tactics2/ids/race.ids~ ~override/race.ids~
  END

END

If you could look and see what Tactics does with the files and patch them instead of overwriting it would reduce the chance of someone getting errors because of tactics overwriting.

Have you also checked all the Extend_Top scripts to ensure that they add Continue() when needed?

The overwriting stuff is very important because now Tactics would have to be installed after BP to make the checks you added work correctly.

ronin

#37 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 22 January 2007 - 06:10 AM

OK, I'll jump on it.

#38 seanas

seanas
  • Modder
  • 1906 posts

Posted 22 January 2007 - 06:37 AM

the IDS checks just aren't necessary any more. anyone installing one or more of the Fixpack, BD-weidu, TDD, SoS, BP (amongst others) is going to have correctly patched IDS files.

there was a real need for IDS fixing some years ago, but the brute force way Tactics does is just not needed any more. why not just remove the checks in their entirety?

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#39 ronin

ronin
  • Modder
  • 2114 posts

Posted 22 January 2007 - 07:24 AM

I agree, if its not needed then take it out. Another thing to check for are other forced overwrites that could cause problems since this will have to be installed after BP in order to make it work. For example .cre overwrites instead of patching. This could be a big project for Azazello.

ronin

#40 Azazello

Azazello

    The Anti-Spammer

  • Staff
  • 1912 posts

Posted 22 January 2007 - 11:56 AM

That implies updating Tactics for today's world - going way beyond the scope of this project. Not really ready for that yet. But will ponder it.

The four IDS files are exactly the same as if a basic, un-fixpack install was done - so the files should always be available. Still, I commented-out the IDS lines and replaced it with this, for consistancy, even if not needed:
COPY_EXISTING_REGEXP GLOB ~^.+\.ids$~ ~override~
Lazy but effective.

And checked all BCS references - every one is clear:

BCS Contains OnCreation?
AR0301 No
AR0326 No (created by Tactics - doesn't exist in standard game)
AR0330 No (created by Tactics - doesn't exist in standard game)
AR0406 No
AR1301 No
AR1900 Yes [imp1900.baf contains a Continue()]
AR2900 No
AR3000 No
BALDUR No
BALDUR25 No
MAGE[12]...BCS No
SUJON No
WTARSGT No
WTASIGHT No

Also, added a check for BGT installation whereby Improved Ilyich component won't be installed:
REQUIRE_PREDICATE NOT  FILE_EXISTS_IN_GAME  "BGT/bg1.tra"  ~Skipping Component installation --  this conflicts with BG Trilogy (BGT)~

Yay?