[Help] Trying to get unlocks to work

Making or wanting help making your own asset? Check in here
Post Reply
3===SPECTER===3
Posts: 831
Joined: 2007-05-05 01:13

[Help] Trying to get unlocks to work

Post by 3===SPECTER===3 »

Okay Ive already posted about this in the BFSP and the BFEditor forums but haven't gotten much help with it. Anyway, Ive been trying to get unlocks working in my personal Project Reality Single Player minimod. Now Im running 1.41 BF2 along side 1.5 BF2 and I use the 1.41 for my singleplayer mods. Anyway, recently I found this on the BFSP forums [url]http://www.battlefie...showtopic=15002[/url] it gets unlocks working in singleplayer and works in 1.41. So of course im all excited that I can finally have unlocks in PR. And the reason I want them is because I want multiple versions of one kit, not because I want a different way of obtaining limited kits. So I download this and try it out with BF2 and FH2, works like a charm. So then I go to try it with PR and I add some unlocks to the officer kit, go ingame and see that everything SEEMS to be working correctly. Theres an arrow by the officer kit and a blank box next to it indicating that my next unlock doesn't have a small picture for that, no big deal. I click the arrow and it looks like it worked. (i.e. the button depresses and pops back up) but the gun picture didn't change. I go ingame to so if maybe it was just an error with the picture and it turns ut its not, the gun didn't change at all.

Now Ive been working on this for awhile and I can't find a fix at all. But what I did find is that it might have something to do with the line "ObjectTemplate.unlockIndex 1" in the kit. I found this out because in FH2 I made a bunch of unlocks and forgot to put in this line. The effect was the same thing that happened to the PR kit. The button shows but nothing happens when I click it. The only problem is that I have this line in the PR kit and its still funky. So doesn anybody know what this line does? and what the value at the end does?

Also, Ive changed the spawn hud in PR with BF2 to see it that was the problem but it wasn't. Just throwing that in there to try and give you all the information. Any help is appreciated, I've been working on this awhile.
Post Reply

Return to “PR:BF2 Community Modding”