porting from OFP

ArmA editing, missions, modeling, textures, terrains

Moderators: Lone Wolf, Snake Man

Post Reply
Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

porting from OFP

Post by Kitcho » 2010-01-13 19:52:24

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.

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-14 04:08:41

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?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-14 21:27:37

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.

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-15 09:11:13

Okay, start to ask me specific questions and I'll try to walk you through it.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-15 22:24:16

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

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-16 17:32:59

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.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-21 02:04:57

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

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-21 08:00:30

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.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-25 21:53:18

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

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-26 11:05:38

Put your current config into pastebin and then we can more easily start to go through it.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-26 19:45:20

you mean throw it away and start fresh? or display it somewhere?
I can do either since I have backups.

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-27 12:05:00

Eh no, put your config here with C++ syntax highlighting so its easy to read.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-27 19:51:04

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.

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-27 21:31:30

What is the link for the pastebin entry you made?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-28 06:28:46


Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-28 09:15:25

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.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-29 21:39:11

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.
:(

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-30 03:21:23

Well what can I say... the config I put in pastebin didn't work then?
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Kitcho
Newbie
Posts: 10
Joined: 2010-01-12 08:50:26
Gaming Interests: Armed Assault (ArmA)
Editing Interests: All, I (try) to edit everything.

Re: porting from OFP

Post by Kitcho » 2010-01-30 10:49:04

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

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: porting from OFP

Post by Snake Man » 2010-01-30 17:46:49

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.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Post Reply

Who is online

Users browsing this forum: Bytespider and 9 guests