Charky 0 Posted November 17, 2006 Hi again! One thing: I have downloaded last vilas mod and I like it; but why hasn't the editor added a readme with the addon? Please, can someone give me a hint, where can I find a readme for vilas weapons and ammo, 'couse I would like to write some of the names into the init field in the game. Where can I get it??? tnx Charky p.s. I was searching for readme and script names, but nothing so far. Share this post Link to post Share on other sites
panzergrenadier3 39 Posted November 17, 2006 You can find the names of weapons and magazines in the config.cpp Share this post Link to post Share on other sites
somebloke 0 Posted November 17, 2006 Also i believe there is another topic identical to this in the Addons & Configs section of the forum. Share this post Link to post Share on other sites
Charky 0 Posted November 17, 2006 no added vilas addon does not contain cpp file (i recon) does anyone have a similar problem? I search under vilas-what??? Share this post Link to post Share on other sites
somebloke 0 Posted November 17, 2006 Vilas Site See what's on there. Share this post Link to post Share on other sites
Charky 0 Posted November 17, 2006 I already visited that and the only thing I leearned there is that their info is slightly por! any plan"B"? uh-oh. I found a list of weapons and ammo, but I mostly don't know, what it means... It's an enigma!!! Share this post Link to post Share on other sites
somebloke 0 Posted November 17, 2006 Nope, you can't un-pbo it as it's binarized. Share this post Link to post Share on other sites
Charky 0 Posted November 17, 2006 Man o man!!! What shall I do?! so...unpbo it...hmmm Share this post Link to post Share on other sites
PEPE 0 Posted November 17, 2006 What weapons/ ammo do you need?, if you uses unpbo, you can find in the vilasconfig cpp the 90% of the weapons and the ammo, The vietnam weapons have a particular config file. Share this post Link to post Share on other sites
Charky 0 Posted November 17, 2006 those on resistance side (sa-58, akm, fal,...) wait! Found it. Thanks, folks! Share this post Link to post Share on other sites
sudayev 27 Posted November 17, 2006 Dude, you have to UnPbo teh config file. You can do this with config from previus version of vilaspack (Think`s september edition). If you wont find the config, PM`me and I`ll send you the stuff. Share this post Link to post Share on other sites
Charky 0 Posted November 17, 2006 Thanks, man. It would be nice of u, if u can send me the stuff. I found vilasconfig, unpbo-ed it, I know the weapon names, but there is no sign of the ammo names. I tried everything so far and no effect. More help! tnx Share this post Link to post Share on other sites
sudayev 27 Posted November 17, 2006 OK, so you have the confing now. What you can do right now, is to dig thru lots of text and find what your`re looking for. Takes some time but it`s the only way. Ex. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class vim24: m21 { scopeWeapon=2; scopeMagazine=0; picture="\vmod\i\m40.jpg"; model="\vmod\vim24"; displayName="M40A1"; magazines[] = {vim24m}; modes[]={"Single"}; class Single { ammo="kulasniperka"; ammo="kulasniperka" that`s ammo for svd rifle. Weapons are listed under class CfgModel, so does ammo under class CfgAmmo. Takes time but its the only way. Share this post Link to post Share on other sites
W0lle 1052 Posted November 18, 2006 Correction on this: Your're right on the ammo thing, but if he's looking for a weapon and the magazine classnames (which I believe he does) then in your example the classname for the weapon is "vim24" and the classname for the magazine is "vim24m": <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">magazines[] = {vim24m}; Share this post Link to post Share on other sites
badlymad 0 Posted November 18, 2006 UnPboing the file was pretty much unecessary, since if all the files from the RAR were extracted, there would be a pdf called "list" which gives all the classnames of the weapons and ammo (excluding the WWII weapons though). Share this post Link to post Share on other sites
Charky 0 Posted November 18, 2006 Well, it has gone worse. I've used init field and added ak47, sa58, fn-fal, pk, g3 versions. The priblem: mostly I can add weapons, but I can't add magazines; I was guessing, that sa58 has "visa58" name and "visa58mag" Fine and dandy. But! We have m16 rifle. M16a2 has m16mag. m16a1 is not compatible with the mag; it uses 5.56 (name of the mag) WTF?! And so on. Bfitish l1a1 was made from fn-fal. In the game fal uses "fnfalmag", wich is not compatible with l1a1 - that one uses "falmag". IT TS THE SAME THING!!! I can also add SMG's (pps, uzi, mp5, m12,...), but not the ammo. The problem is that I have guessed some ammonames, basing on the weaponnames. Readme lacks ammonames and I'm not a telepath to figure out all of the names. U know whar I mean. If anyone knows sth, please add a reply, as so far Tnx, Charky p.s.: W0lle gave me a great info abiut mags ("ppsm"=ppsmag) Thanks buddy! Share this post Link to post Share on other sites
somebloke 0 Posted November 18, 2006 Can i point out that the weapons are Not the same. Â Vilas weapons do not use the same magazines as the BIS ones. In fact i doubt any Addon uses BIS magazines. Share this post Link to post Share on other sites
Charky 0 Posted November 18, 2006 I know that they don't use bis models. I'm talking about vilas only. Commands for ammo are so different... Most if the ammo commands came out my head, basing on weapon names. Any other news? Tnx Charky Share this post Link to post Share on other sites
W0lle 1052 Posted November 18, 2006 It's all about browsing the config file and then copy&paste the stuff you need. All you need to browse is the CfgWeapons section. There you find all used Weapons and their magazines classnames. I don't have that mod, but depending on how many weapons it contains it's just a little bit of work Share this post Link to post Share on other sites
hoz 0 Posted November 18, 2006 Moving to A&M Discussion. Share this post Link to post Share on other sites