Home   Help Search Login Register  

Author Topic: Addons randomly appearing in mission?  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Addons randomly appearing in mission?
« on: 26 Dec 2009, 18:21:25 »
I have this problem, I am working on mission "Operation Hellfire", and addons randomly appear in mission.sqm :blink:! First Apocalypse units, and now ukf_weapons! And NEITHER of these was used in mission itself! Is there any way to prevent this?
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Walter_E_Kurtz

  • Guest
Re: Addons randomly appearing in mission?
« Reply #1 on: 27 Dec 2009, 01:05:51 »

Only have active addons which you intend to use in your mission.

I assume it's strange entries appearing in the addons[]={..} and addonsAuto[]={...} lists. This is what happens when addons are badly configured - they inherit values from BIS addons without correctly acknowledging that they do so.

For instance, if the addon is a helicopter and is defined as a child of the AH64, then every time you place an AH64 unit, the bad config will insert itself in the mission.sqm EVEN WITHOUT YOU HAVING PLACED ONE OF THE ADDON UNITS.

Here, Killswitch explains how to correct the config of bas_repair. Something similar is probably required for the addons you are trying to avoid using. It's a matter of working out what their requiredAddons are.


Edit: added link to Hawkins' Modfolder tutorial and repathed link to Killswitch's explanation.
« Last Edit: 30 Nov 2010, 01:31:52 by Walter_E_Kurtz »

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Addons randomly appearing in mission?
« Reply #2 on: 27 Dec 2009, 11:41:43 »
Thanks, applied de-pbo, edit, re-pbo treatment to UKF_weapons, but for some reason, bowerybaker's Apocalypse Units can't de-pbo. Possible protection?
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Walter_E_Kurtz

  • Guest
Re: Addons randomly appearing in mission?
« Reply #3 on: 27 Dec 2009, 17:01:51 »
Could be.

Try Eliteness by Mikero. It should manage to overcome compression / encryption.

Doesn't bowerybaker provide any contact details? He's active over in the BIS forums, and over here occassionally. I think his current tag is BronzeEagle.

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Addons randomly appearing in mission?
« Reply #4 on: 27 Dec 2009, 17:27:24 »
There is something wrong with Elitness...
I extracted it to a folder on a desktop, and when I try to run it, it says:
Code: [Select]
This application has failed to start because DePbo.dll was not found. Re-installing the application may fix this problemI looked for DePbo.dll, but could not find it in .zip archive.

I will look for contact details.

Edit: He did not left any contact details in Readme of Apocalypse Units.
He left his E-mail public on these forums, though.

Edit 2: Did not read readme well. I have to download De-pbo.dll separately.

Edit 3: Another problem. Whenever I try to run Eliteness, I get following:
Code: [Select]
The procedure entry point ?GetNextEntry@DePbo@@QAEPAVpbo_entry@@PAV2@@Z could not be located in the dynamic link library DePbo.dll.
« Last Edit: 27 Dec 2009, 17:36:10 by Krieg »
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Walter_E_Kurtz

  • Guest
Re: Addons randomly appearing in mission?
« Reply #5 on: 28 Dec 2009, 14:42:28 »
Quote
Edit 3: Another problem. Whenever I try to run Eliteness, I get following:
It may be a conflict in the versions of Eliteness compared to Depbo.dll - I suggest you download the latest versions of BOTH from Mikero's DevHeaven site (link is in the readme).

I'm not at my own PC at the moment, so this is going by memory. I think you want Eliteness v2.63 and DePbo v1.71, then all you need to do is copy Eliteness and Depbo.dll into the same folder.

Alternatively, you can revert to an earlier version which, I think, includes depbo.dll (still here at OFPEC).

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Addons randomly appearing in mission?
« Reply #6 on: 28 Dec 2009, 14:57:18 »
Older Elitness worked perfectly! Thanks!

Although, Depboing 48_TTropps.pbo brought me more questions than answers.
Apparently,  it has no required addons.
Code: [Select]
class CfgPatches
{
class 48_Terran_Trooper
{
units[] = {};
weapons[] = {};
requiredVersion = 1.96;
};
};

Further, I checked mission.sqm of Operation Hellfire, it had 48_TTroop units in items part of it, with all including
Code: [Select]
this moveInCargo e; this assignAsCargo ein them. I go to editor, check for addon-troops in mission editor, but whole squad has only standard BIS units  :blink: in it. I really do not have idea what's causing this.
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Walter_E_Kurtz

  • Guest
Re: Addons randomly appearing in mission?
« Reply #7 on: 28 Dec 2009, 15:13:19 »
PM me the config and I'll have a look at it.

It's probably that new vehicle classes are defined in the config, deriving from BIS units, but that there aren't enough differences to tell them apart in the Editor.

For instance, if a unit is a child of a BIS soldier, but doesn't have a changed name or category, then they will both be found under Men ---> Soldier (ie. you get two "Soldier"s listed) and you won't be able to tell which is which.

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Addons randomly appearing in mission?
« Reply #8 on: 28 Dec 2009, 15:18:44 »
PM sent.

And yes, I have (at least) 2 soldiers listed.
But Apocalypse units have their own category, though.
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Walter_E_Kurtz

  • Guest
Re: Addons randomly appearing in mission?
« Reply #9 on: 28 Dec 2009, 15:58:11 »
PM'd you a cure (I hope) for the config.

As for the mission, I'd do a simple find-and-replace with a text editor:
   Find: 48_Tertrooper_basic   Replace: SoldierWB

Also, clear the addon and addonAuto lists, then just load it up again in the Mission Editor.

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Addons randomly appearing in mission?
« Reply #10 on: 28 Dec 2009, 16:00:34 »
Thanks!  :good:

Edit: Totally unrelated, but I recall seeing soldiers holding their hands weirdly, those might be problematic ones, since using different anims then regular SoldierWB's.

Edit 2: Another unrelated thing: New, much more playable version of Operation Hellfire is up!
« Last Edit: 28 Dec 2009, 16:44:11 by Krieg »
If you see a light at the end of the tunnel, then it's probably an enemy tank.