Jump to content


Flexibility in TP2/WeiDU?


  • Please log in to reply
5 replies to this topic

#1 -Alan M.C.-

-Alan M.C.-
  • Guest

Posted 21 June 2003 - 07:17 AM

I would like to know whether apart from languages, WeiDU currently offers multiple options for other things, like High Level Abilities.

Here's a concrete example. Since I've developed a new fighter MOD where I copy a new HLA, I'd like to know if I can write a TP2 where people, during installation could choose between either my new HLA (LuNEW.2da) or keeping the game's original HLA (Lufi0.2da).

If WeiDU does it already, I'd appreciate if somebody could give me hints as how it is done. If it doesn't, well..., perhaps an improvement suggestion then...

Alan M.C.

#2 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 21 June 2003 - 08:00 AM

I think you could do that if you just made your HLA a separate piece of the mod. So your .tp2 file would have multiple begin statements.

BEGIN ~MyNPC~
NPC stuff here

BEGIN ~MY HLA~
HLA stuff here

That way when people install they'll see: Install MNPC? [Y]es [N]o; Install My HLA [Y]es [N]o.

#3 -Alan M.C.-

-Alan M.C.-
  • Guest

Posted 21 June 2003 - 10:14 AM

It does work indeed but does not really look *pro*, eg:
"Do you want to uninstall my HLA?"
Y/N/Q
Or is there anyway to skip the uninstall?

I'd have prefered within the same BEGIN ~MyNPC~
Option 1: keep original fighter HLA
Option 2: Install new HLA for fighters

Alan M.C.

#4 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 21 June 2003 - 11:36 AM

I suppose you could have a BEGIN for a version of your mod w/ HLA and a version w/out HLA. You would have to have a check to make sure only one version gets installed though.

#5 weimer

weimer
  • Member
  • 1569 posts

Posted 21 June 2003 - 11:48 AM

Looking "pro" is not a WeiDU concern. :-)

Skip the uninstall? I'm not sure what you're asking here, but if you want to make a mod that cannot be piecewise-uninstalled, don't use WeiDU. TBG/IAP and the mod switcher already have that market sewn up :-).

Here's one possibility: make the mod as Japh suggested, and then install it and uninstall it. Copy the text you see on the screen over here. Then comment on which part of the text you don't like and what you would like to see instead.

#6 -Alan M.C.-

-Alan M.C.-
  • Guest

Posted 21 June 2003 - 12:25 PM

*Pro*: we all do modding for free. That said, the nicer it looks, the happier we feel, isn't it? :)

Japher's suggestion works. It's just that making two installs for the same MOD could be resumed in giving people options in my case for original/new HLA. Else, yes, I'll provide my HLA as a separate Install/Uninstall if it can't be an optional choice within the TP2.

Alan M.C.