Home   Help Search Login Register  

Author Topic: Armstrongs newbie Qs  (Read 5552 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Armstrongs newbie Qs
« on: 07 Jan 2003, 14:37:42 »
Hi! IÂ've downloaded a turtorial and in the begining there where a list of tools that you need to make this addon the turtorial is about. IÂ've downloaded them all (or similar tools that makes the same thing).

Quote from turtorial:

You should have unpack-sqm installed somewhere on your hard drive.

It should be a tool, but I canÂ't find it, anyone who knowes the name of it?
« Last Edit: 07 Jan 2003, 15:40:13 by The real Armstrong »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #1 on: 07 Jan 2003, 14:46:43 »
I have checked all my downloads and the tool depot again, and I saw the situation more clearly(IÂ've downloaded half of all tools on one day, I canÂ'even remember what tools I own! ;)):

When I was on my way downloading Umpack-SQM, it was written that it had lots of bugs, so I should download the OFPmanager instead.

I did.

But I didnÂ't understand, (EDIT) used it, I tried to open the help file but it didnÂ't seem to be one, I moved my p3d file to the operation falshpoint addons, cause it started with OFP in the tree, but I couldnÂ't open the addon with the program. I donÂ't understand that tool, or there is a bug.

Then I put the whole thing beside of my and did another turtorial, and when I came back, well, here we are.
« Last Edit: 07 Jan 2003, 14:55:30 by The real Armstrong »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:simple newbie Q about sqm and p3d files
« Reply #2 on: 07 Jan 2003, 14:52:47 »
screw "unpack", m8, the TUT you read has not been updated  :P ::)

unpack wuz used to decrypt ofp stuff back in the days of concept5 but now we
have a bunch of better tools, so forget the unpack  :)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #3 on: 07 Jan 2003, 14:56:12 »
What tool should I download then?

Skaven

  • Guest
Re:simple newbie Q about sqm and p3d files
« Reply #4 on: 07 Jan 2003, 14:57:48 »
Yes indeed, the tutorial is nice the same, but forget the unpack thing and use the DePbo tool from Amalfi on the Data3D.pbo , you probably downloaded it, it will do the same job  ;)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:simple newbie Q about sqm and p3d files
« Reply #5 on: 07 Jan 2003, 15:02:58 »
uuum, well... depends on what it is ya wanna unpack, duuh!  :o ;D ( j/k )


The thing called "PBO Decryptor 1.5" (yes, Amalfi's) is a good tool to unpack encrypted PBO files.

And the "OFP Manager" is basically just a tool used to read BIN files
(and you can convert them to .cpp files).

PPL use it mostly to create config.cpp's outta config.bin's  :)

But as most orig. OFP config stuff is already out & converted, I wouldn't neccesarily
recommend ya to grab the manager unless you had a specific reason to use it.

(messing around with programs which can read/alter BIN files is NOT a good idea.)


Then grab the "Stuff PBO" tool to re-pack (back to PBO.) your addons once they're ready.

Try the "editors depot" and search for "ADDON TOOLS" or alike  ;)


============

[mod.]

oh, ellöw skav.  ::) using broad band are we! ( bah! )  >:( ;D
« Last Edit: 07 Jan 2003, 15:06:04 by Tomb »

Skaven

  • Guest
Re:simple newbie Q about sqm and p3d files
« Reply #6 on: 07 Jan 2003, 15:07:21 »
Yes I ment the PBO Decryptor 1.5 from Amalfi sorry for my mistake  ;D
Just skip the unpack part and unpbo the file whith this tool instead  ;)

TOMB at the moment I'm at the place where I work with a dedicated Server  ;D
« Last Edit: 07 Jan 2003, 15:08:39 by Skaven »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #7 on: 07 Jan 2003, 15:09:51 »
Wait a bit. I think I am one step ahead of what you think I am. I have allready UnPBOed the data3d.pbo. Then I took out a specific p3d file to make an addon, now I want to convert the p3d to scm.

Bigger qoute from turtorial:

Right, now that we have our 2 folders up we can see that the Data3d folder contains files with the file extension ‘p3d'. These are your 3d files which will tell us what images are required for that model. In the Data folder we have 2 different file extensions ‘paa' & ‘pac'. These are your image files which you will be editing (you can't edit them yet as we will need to convert them in to tga first, this will be explained later).

For the Civilian model, we are going to choose the p3d file named           ‘mc Civil.p3d'. Make your own directory and name it whatever you like. But in the tutorial we will call it ‘Edited Civil'.

You should have unpack-sqm installed somewhere on your hard drive. Place the ‘mc civil.p3d' in to the ‘unpack-sqm' directory and rename it to ‘mission.sqm', then dbl-click on unpack-sqm.exe. Now give the programme some time to work it's magic as it can take well over a minute. Once it has completed a new file will have been created, ‘mission.txt'. Rename this file to what ever your p3d was called, in this case we used ‘mc civil.p3d' so we rename it to this. If it asks are you sure you want to change it, click yes.

Skaven

  • Guest
Re:simple newbie Q about sqm and p3d files
« Reply #8 on: 07 Jan 2003, 15:22:44 »
no no skip that last part the PBO Decryptor 1.5 does the unpbo part and the unpacking too, so skip the last part, just jump like this:  ;)

This part is ok:  ;)

 Right, now that we have our 2 folders up we can see that the Data3d folder contains files with the file extension ‘p3d'. These are your 3d files which will tell us what images are required for that model. In the Data folder we have 2 different file extensions ‘paa' & ‘pac'. These are your image files which you will be editing (you can't edit them yet as we will need to convert them in to tga first, this will be explained later).

So far so good  ;)

Now the rest you've wrote forget it, just keep on after the  ... , click yes.  ;D

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #9 on: 07 Jan 2003, 15:24:21 »
Ok, thx.

You saved my ass again Skaven! :D

Thx yo too Tomb.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #10 on: 07 Jan 2003, 15:27:14 »
Oh, I canÂ't forget the classic!

*Topic solved and locked*

Perhaps I shall renew it?

Like this?

*Topic solved and locked*

Skaven

  • Guest
Re:simple newbie Q about sqm and p3d files
« Reply #11 on: 07 Jan 2003, 15:32:08 »
well it would be better to just keep this thread opened, something tells me your gonna ask a lot more questions, so we better leave this one open so you can continue asking here, just in case  ;)
Sefe kills me if you open a new thread everytime you have a question  ;D

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #12 on: 07 Jan 2003, 15:39:29 »
Sure! ItÂ's gonna be a whole bunch!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:simple newbie Q about sqm and p3d files
« Reply #13 on: 07 Jan 2003, 15:39:51 »
Just gonna change the name.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #14 on: 07 Jan 2003, 17:35:08 »
Ok, if everything works now, I am gonna have a new skin in my editor.

Hold ya tumbs everyone!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #15 on: 07 Jan 2003, 18:06:52 »
Geuss if itÂ's working?

Nope, it never does :'(.

I have changed the p3d file, the cpp file and I have moved the PBO file to Operation flashpoint\res\addons\ like I always does when I download addons but the addon doesnÂ't appear in the list of units.

Skaven

  • Guest
Re:Armstrongs newbie Qs
« Reply #16 on: 07 Jan 2003, 18:38:13 »
you changed the .p3d file correctely?
Were the textures you used swaped into  \newaddonname\texturefilename?
is the cpp file really done correctely? it must be a cpp file problem since it should appear in the editor, or what could happen was the game to crash before or after the game starts, check the cpp file again, and be sure you called everything witht he right names, specially the addon name and the model name (.p3d file).
Try and and try again, if you still can't find the solution than I'll take a look at it, but first try retry and read, now is a good time to read the tutorials about the cpp file, I bet it's a cpp file problem  ;) Also have you renamed the .p3d accordingly to the cpp file?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #17 on: 07 Jan 2003, 18:53:03 »
I think so, there was an already done CPP file in the torturial, I only changed 3 some stuff htat he told me to do + that IÂ've changed what I thought was what weapons he started with.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #18 on: 07 Jan 2003, 18:59:41 »
IÂ'll show ya what I changed:

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536

#define CanSeeRadar 1
#define CanSeeRye 2
#define CanSeeOptics 4
#define CanSeeEar 8
#define CanSeeCompass 16
#define CanSeeRadarC CanSeeRadar+CanSeeCompass
#define CanSeeAll 31

class CfgPatches
{
   class TEXT1
     {
         units[] = {TEXT1};
         weapons[] = {};
         requiredVersion = 1.10;
     };

};
class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class Civilian:Soldier{};

   class TEXT1:Civilian
   {
      displayName="TEXT2";
      weapons[]={"M16GrenadeLauncher"}; <=========================I changed this to {""}
      magazines[]={"M16","M16","M16","M16","M16","M16","M16","M16"}; <====I changed this one to {""}
      model="\TEXT3\TEXT3";
   };
   
};

All text1 was changed to beware_man

All text2 was changed to LUC beware

All text3 was changed to beware
« Last Edit: 07 Jan 2003, 19:00:35 by The real Armstrong »

Skaven

  • Guest
Re:Armstrongs newbie Qs
« Reply #19 on: 07 Jan 2003, 19:02:53 »
ok zip all you have and send it to me now, filpedro@hotmail.com I'll fix the problem and I'll tell you what was wrong  ;) if the file is bigger than 1.5 Mbytes zipped, than find a way to upload it.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #20 on: 07 Jan 2003, 19:10:03 »
IÂ'll it one more time, if it ainÂ't working, IÂ'll mail it to you.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #21 on: 07 Jan 2003, 20:17:34 »
Ok, skaven, here we go.... I couldnÂ't find the problem so IÂ'll mail it. itÂ's a 300 KB file, compressed in both RAR and PBO. Hope you can find the problem. Thx a lot, Yer the best!

ItÂ's on itÂ's way in eta 30 seconds.

Thx

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #22 on: 08 Jan 2003, 18:14:30 »
Thx again! I thought in the first place that I could do it myslef with your bug reports, but I couldnÂ't find the place where you should write da side=3 :-[ so I checked your(my) file and now IÂ'll ahve to check if itÂ's working!

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #23 on: 08 Jan 2003, 18:20:45 »
Well, now IÂ've to go on to the cpp file turtorials, I suck in cpp :P.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #24 on: 08 Jan 2003, 21:56:36 »
OK, I checked some AddOns from the download page and their pictures, and  :o :o :o! You guys who know this stuff must have much time/are sooooooo much better then me painting in paint shop pro or your importing the cammoflague from somethin else. Yer so great! And I sux at making cammo, I tried, 2 times, first time it looked like a TV that didnÂ't work (ya know, that screen with the black and white dots, except this time, it was in colours). the 2nd time it looked like snakes having a massive hug. How do you do this?! ???

(I told ya that I should read some cpp torturials, and I started with Snypers/Snypirs(canÂ't remember the name) turtroial, and he use to make great turtorials, but I didnÂ't understand a sh!t (except inte the start) so I thought that it would be better to do some skins first with allerady done cpp files and study them, step by step before I try the turtorial again.)

Skaven

  • Guest
Re:Armstrongs newbie Qs
« Reply #25 on: 09 Jan 2003, 01:13:54 »
Well about the painting, actually the best way to make textures for your soldiers is not to paint, but to make kind of a photographic manipulation using real pictures as reference.

for example, check this website for great cammo pics.

http://www.tridentmilitary.com/

Also check this pic to see what I mean  ;)






Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #26 on: 09 Jan 2003, 21:13:23 »
cool, IÂ'll try that on a spetz natz addon IÂ'm making (but I ainÂ't got long, only depacked the pbo ::))

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Armstrongs newbie Qs
« Reply #27 on: 09 Jan 2003, 21:40:42 »
Grrrr! I hate BIS! IÂ'm testing an oxygen turtorial, and when I was fixing o2 to work right I freezed of unhappiness when I saw this qoute:

Now its time to start o2. Start the main program  (thats "Objektiv2Light.exe" now in your C:\ofpedit\o2program folder). The viewer automatically starts with the program (if you have the original (not resisance) Operation Flashpoint CD in a CDROM drive, that is. Else you will get an error message telling you to put it in. You cant use the viewer without an original OFP CD).

(ey! Take it easy! IÂ've got the original, let me explain).

You c, IÂ've got the GOTY edition, and thats not the original edition, itÂ's a different (when you buy the box you think, ah great 3 CDs! But it ainÂ't Res, Red ham and the original, itÂ's a file disc for the install, a play disc and a soundtrack for play in each CD-player.).

Anyway, I thought, What the heck, I didnÂ't think BIS was so stupid that they didnÂ't make the program run with GOTY edition, but I was wrong, and now IÂ'm f*cked. If I canÂ't make an 3d file, how can I advance in my addon editing skills?

Anyone who got the GOTY edition and know how to solve this? Or do anyone have any other clue? Should I contact some kind of techincal support from BIS or codemasters?