Home   Help Search Login Register  

Author Topic: Gotta problem w/ SEBnampack v2  (Read 1183 times)

0 Members and 1 Guest are viewing this topic.

mirulm

  • Guest
Gotta problem w/ SEBnampack v2
« on: 23 Sep 2003, 16:50:44 »
Sorry 4 my poor english for a start.

I've got some problems with scripting with usage of "Sebnampackfull2" - well not exactly problems, but rather questions, so if any of You, experienced missionmakers could help me, I'd be grateful.

1) How can I animate those d**n choppers? To be exact, I'm talking 'bout opening the doors in UH-1C Gunship or Dustoff. Couldn't get solution off "readme.txt" and simple "action" command doesn't work.

2) What is the texture for Northern Vietnam flag in this addon pack? Pbo's are packed, and I couldn't extract it from mission.sqm.

Thanks for any help You might provide here.

With regards,

deaddog

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #1 on: 23 Sep 2003, 18:06:51 »
I didn't even know there was a NV Flag with this pack.  You would think the readme would mention it.

What I did was to make my own.  I searched for "North Vietnam Flag" on the web and found a picture of one.  I saved it as a jpg, converted its dimensions to 256X128 (or 128X64, can't remember) then converted it to a .paa file using texview (available on this site).  

mirulm

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #2 on: 23 Sep 2003, 18:13:40 »
Aye, there is...

Try any CTF MP mission provided with this addon-pack and go to the Vietnamese Flag site. Maybe it was separate texture in that mission? Dunno.

Thanks anyway 4 the suggestion. It will come handy.

With regards,

m21man

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #3 on: 24 Sep 2003, 01:31:53 »
First, here's a straight rip from the seb_vha.pbo file:

Code: [Select]
      class UserActions
      {
         class OpenDoors1
         {
            displayName="Open Left Door";
            position="axissidedoorl";
            radius=18100;
            condition="this animationPhase ""sidedoorl"" < 0.5 and player distance this < 5";
            statement="this animate [""sidedoorl"", 1]";
         };
         class CloseDoors1
         {
            displayName="Close Left Door";
            position="axissidedoorl";
            radius=18100;
            condition="this animationPhase ""sidedoorl"" >= 0.5 and player distance this < 5";
            statement="this animate [""sidedoorl"", 0]";
         };
         class OpenDoors2
         {
            displayName="Open Right Door";
            position="axissidedoorr";
            radius=18100;
            condition="this animationPhase ""sidedoorr"" < 0.5 and player distance this < 5";
            statement="this animate [""sidedoorr"", 1]";
         };
         class CloseDoors2
         {
            displayName="Close Right Door";
            position="axissidedoorr";
            radius=18100;
            condition="this animationPhase ""sidedoorr"" >= 0.5 and player distance this < 5";
            statement="this animate [""sidedoorr"", 0]";
         };
         class raisepilotsight
         {
            displayName="Raise Pilot Sight";
            position="axispilotsight";
            radius=18100;
            condition="this animationPhase ""pilotsight"" < 0.5 and player in this";
            statement="this animate [""pilotsight"", 1]";
         };
         class lowerpilotsight
         {
            displayName="Lower Pilot Sight";
            position="axispilotsight";
            radius=18100;
            condition="this animationPhase ""pilotsight"" >= 0.5 and player in this";
            statement="this animate [""pilotsight"", 0]";
         };
      };



These are simple to play. For instance, if you want the right door on a Huey to open, you might have:
Code: [Select]
choppername animate [""sidedoorr"", 1] Or maybe it's just:
Code: [Select]
choppername animate ["sidedoorr", 1]
Well, try this and see if it works ;D.
« Last Edit: 24 Sep 2003, 01:35:59 by m21man »

m21man

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #4 on: 24 Sep 2003, 01:41:40 »
As for flag textures, you may have to either beg SelectThis or Ebud for the name, or you'll have to grab a PBO decryptor from the Editor's Depot and search for the correct .pac file :P.

KyleSarnik

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #5 on: 24 Sep 2003, 02:16:19 »
Just unpbo the CTF mission.

m21man

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #6 on: 24 Sep 2003, 02:23:40 »
Is this what you want?

Code: [Select]
   {
      items=21;
      class Item0
      {
         position[]={8773.429688,19.804367,5792.024902};
         azimut=10.986269;
         id=0;
         side="EMPTY";
         vehicle="FlagCarrier";
         skill=0.200000;
         text="VlajkaRUS";
         init="this setflagtexture ""\flags\vietnam.jpg""; this setflagside east";
      };
      class Item1
      {
         position[]={8751.204102,34.284775,5251.881348};
         azimut=-358.915771;
         id=1;
         side="EMPTY";
         vehicle="FlagCarrier";
         skill=0.200000;
         text="VlajkaUSA";
         init="this setflagtexture ""usa_vlajka.pac""; this setflagside west";
      };

mirulm

  • Guest
Re:Gotta problem w/ SEBnampack v2
« Reply #7 on: 24 Sep 2003, 13:58:21 »
 ;D

Aye. Thank Ye very much for help - that's exactly what I need!

With regards,