Forum Jump :

Author Message

Juman  



Posts: 3
Rank:


Level: Member

Country: id
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2016-09-28 04:13        
     
Hello there.
my name is Juman, i'm from Indonesia.
I just bought this awesome game a week ago, and i heard you can make your own addon too. So i started to learn from basic (watching youtube for tutorials) and so far i got to this oxygen tools. I've been Working on an addon, a weapon, Mosin Nagant. also i have prepared UV map ready for texturing, but before i do texturing thing, i decided to test it in Arma 2 editor with alpha trigger to add weapon to see if the addon works, but sadly it says "Cannot open object mosin\mosin.p3d". i'm really Extremely new to this addon making thing, so any help will be appreciated.

Anyway, this is the screenshot

Mod Folder (Unpacked my pbo) : http://imageshack.com/a/img922/2303/JItOnj.png
config.cpp : http://imageshack.com/a/img922/3858/cdVLdf.png
config.cpp (part 2) : http://imageshack.com/a/img924/4168/ECifJv.png
Oxygen 2 : http://imageshack.com/a/img924/8844/NMXLhN.png
face properties : http://imageshack.com/a/img922/1600/JZWfl7.png
rvmat properties : http://imageshack.com/a/img924/5494/VtbEAI.png

Editor : http://imageshack.com/a/img921/3228/awqLAq.jpg AND http://imageshack.com/a/img922/6620/gYLEzK.jpg
Test in Arma 2 : http://imageshack.com/a/img921/2588/W9vdzE.jpg AND http://imageshack.com/a/img921/7516/mlAepA.jpg


Author Message


Posts: 1189
Rank:


Level: Member

Country: tr
Location:
Occupation: Computer Science student
Age: 20
In-game name: Wak

 
#2 Posted at 2016-09-28 09:29        
     
I think your path to the model is wrong. You addon is called Mosin_Nagant, so you'd want to use that and not `mosin`. This is because arma doesn't know the name of the pbo file, it only knows the `$PREFIX$` file, which is automatically generated to be the same as your CfgPathes entry. So try `\Mosin_Nagant\mosin.p3d`.

Sometimes I like to think as I started the whole "earplugs" thing.

W0lle: The only advice I can give you is: Do not try to understand BI. You will not succeed and it only makes your brain go boom. I would even go so far and say that not even they understand their own actions :-D.

#define getDamage getDammage

Advertisement


Author Message

Juman  



Posts: 3
Rank:


Level: Member

Country: id
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2016-09-29 10:41        
     
Thanks a lot friend, it worked now!

never thought about the cfg patches before