Page 1 of 1

porting from OFP

Posted: 2010-01-13 19:52:24
by Kitcho
HI all Im new here. I'm also a real idiot with regards to modding. I am not very switched on when it comes to such things, however I have a big interest in it, seeing how I play alot of ArmA 1 and don't own ArmA2.
Still I read your posts on modding, and still didn't understand too much so I guess it needs to be made easier than that.
I guess i wasnt meant to be an addon maker, lol

What id like to know is: What is required to port an addon from OFP to ArmA? and in terms of modding and extra work what is required?
Would someone be prepared to help me or take on this idea for me?


Sincerely
Ritchie.

Re: porting from OFP

Posted: 2010-01-14 04:08:41
by Snake Man
Kitcho wrote:What id like to know is: What is required to port an addon from OFP to ArmA? and in terms of modding and extra work what is required?
Would someone be prepared to help me or take on this idea for me?
Did you read our OFP porting wiki page yet, was it any help?

Re: porting from OFP

Posted: 2010-01-14 21:27:37
by Kitcho
Sorry Snake Man, like I said, I read them, but its still a little too complex for me. There is Too much in between or that is given that I dont understand.
I kinda need to be shown things, im more a visual learner and once I Have been shown things, I tend to be able to replicate them.
Again, my appologies.

Richard.

Re: porting from OFP

Posted: 2010-01-15 09:11:13
by Snake Man
Okay, start to ask me specific questions and I'll try to walk you through it.

Re: porting from OFP

Posted: 2010-01-15 22:24:16
by Kitcho
OK . thanks! thats really nice of you.
I downloaded the BI edit studio, a while ago, however, there are two mods which I would like to port.
1) BWmods tiger
2)MAS studios AH64 D/WAH 64D addons.

Easily two of my fave ofp addons.
However, the oxygen program wont load either of the .p3d file from the tiger. It says it cant display it or something. What could be going wrong?

(i warned you I was an idiot) hehe

Re: porting from OFP

Posted: 2010-01-16 17:32:59
by Snake Man
Kitcho wrote:However, the oxygen program wont load either of the .p3d file from the tiger. It says it cant display it or something. What could be going wrong?
Most likely the P3D is in ODOL format, o2 only reads MLOD format.

You can use ODOL Explorer to convert ODOL to MLOD.

Re: porting from OFP

Posted: 2010-01-21 02:04:57
by Kitcho
thanks snakeman. your advice is helping me. Since converting the file and being able to view it on O2PE, now comes the question Im sure someone else has asked before. How do I access the Lods?
Your "editing for dummies" pages suggests to have a crude working ArmA model, it is advisable to rename the res lods (?) and rename the proxys.

Can you explain it in a tiny bit more detail for me?

also can you advise on what aspects of the config file i should look at?

thanks
Ritchie

Re: porting from OFP

Posted: 2010-01-21 08:00:30
by Snake Man
Kitcho wrote:How do I access the Lods?
LOD's are on the top-right side on the o2 screen.
it is advisable to rename the res lods (?)
It is. Rename the LOD's like instructed in the OFP porting page.
and rename the proxys.
You can try if the existing proxys work in ArmA, I think the "gunner" and "driver" proxys work, but naturally on more detailed port you then need to move them around and adjust stuff.

But for first trial, just try it ingame with the OFP proxys and see what it says.
also can you advise on what aspects of the config file i should look at?
I have no clue how the AH64 config looks, but first thing you need to do is to change the requiredVersion to ArmA suitable number. Then to fix the inheritance which is not the same in OFP and ArmA.

Like

class All{};

That should be removed and only use the latest inheritance class name. I don't know the specific names but for example

class kitcho_helo: uh60mg
{
...
};

etc.

Re: porting from OFP

Posted: 2010-01-25 21:53:18
by Kitcho
Ok Snake Man, Im working on the BWmod tiger atm,
I have renamed the LODs (I hope I did as instructed), and I looked at the config file, however, after changing the required version, Im not sure what to do because if I leave the config largely untouched it will load into the BWMod section of ArmA right?
I compacted the file made it a pbo and tried to run it in the game.
The Game gets to the loading screen (where a little green quarter circle icon rotates at bottom left of screen) and then reverts to windows again.
What do I need to do here?

The config file holds alot of info regarding the sqs for the mod. (to change weapons and what not) --whats your advice here

Re: porting from OFP

Posted: 2010-01-26 11:05:38
by Snake Man
Put your current config into pastebin and then we can more easily start to go through it.

Re: porting from OFP

Posted: 2010-01-26 19:45:20
by Kitcho
you mean throw it away and start fresh? or display it somewhere?
I can do either since I have backups.

Re: porting from OFP

Posted: 2010-01-27 12:05:00
by Snake Man
Eh no, put your config here with C++ syntax highlighting so its easy to read.

Re: porting from OFP

Posted: 2010-01-27 19:51:04
by Kitcho
ok its on pastebin. Sorry I had never heard of it before, so I didnt know what you meant at first.
The only that hae been changed are the required version and that my name is credited with the port from OFP, personally you should add yours too, because I couldnt do this without you. thanks.
I selected C++ highlighting as requested.

I used my real name to post it.
look for posts made by : Richard Kitchenn

speak soon, work calls.

Re: porting from OFP

Posted: 2010-01-27 21:31:30
by Snake Man
What is the link for the pastebin entry you made?

Re: porting from OFP

Posted: 2010-01-28 06:28:46
by Kitcho

Re: porting from OFP

Posted: 2010-01-28 09:15:25
by Snake Man
Okay try this. You can see the whole point in my example config is that you just get the model ingame without worrying other stuff. Also I have not tested it, so I don't know if it works.

That is a start, especially you should see the class ah1w; how it works compared to the old config.

Re: porting from OFP

Posted: 2010-01-29 21:39:11
by Kitcho
http://pastebin.com/mb16ca6c

Here is what I have at the moment. I have compressed this into a pbo a few times and it still wont load. ArmA tells me that on line 15 there is an issue with the class definition "helicopter"
Im really sorry, I dont know enough about C++ or what im doing to do this without asking for help every step of the way.
:(

Re: porting from OFP

Posted: 2010-01-30 03:21:23
by Snake Man
Well what can I say... the config I put in pastebin didn't work then?

Re: porting from OFP

Posted: 2010-01-30 10:49:04
by Kitcho
It it not necessarily something you did. I didnt copy it word for word, tho it was pretty close, and some of the lines I edited to suit what I wanted, but there may be something I did in changing your lines that stuffed it up. idk

Re: porting from OFP

Posted: 2010-01-30 17:46:49
by Snake Man
Moved topic to editing area (just now noticed it was on wrong area).

Okay let me know if there is anything else you need help with.