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.
[Help] Trying to get unlocks to work
Making or wanting help making your own asset? Check in here
-
3===SPECTER===3
- Posts: 831
- Joined: 2007-05-05 01:13
Return to “PR:BF2 Community Modding”
Jump to
- Announcements
- ↳ Announcements & Highlights
- ↳ Development Blogs
- ↳ Changelogs
- ↳ Events
- PR:BF2 Mod Forums
- ↳ PR:BF2 General Discussion
- ↳ PR:BF2 Suggestions
- ↳ PR:BF2 Feedback
- ↳ Maps
- ↳ Vehicles
- ↳ Infantry
- ↳ Coop & Singleplayer
- ↳ PR:BF2 Bugs
- ↳ PR:BF2 Tales from the Front
- ↳ Tactics & Strategies
- ↳ Map Strategies
- ↳ Infantry Tactics
- ↳ Squad Leader Tactics
- ↳ Commander Tactics
- ↳ Armor Tactics
- ↳ Aircraft Tactics
- ↳ PR:BF2 Clans
- ↳ Clan Wars
- ↳ Clan Recruitment
- ↳ PR:BF2 Community Factions
- ↳ Mapping
- ↳ Objects
- ↳ Coding
- ↳ Modelling&Animations
- ↳ Texturing
- ↳ Chilean Forces 1978
- ↳ Indonesian Forces
- ↳ Faction Archives
- ↳ African Resistance Fighters
- ↳ Australian Forces
- ↳ Dutch Forces
- ↳ Finnish Defense Forces
- ↳ New Zealand Def. Force
- ↳ Norwegian Forces
- ↳ Polish Forces
- ↳ Czech Forces
- ↳ Brazilian/FARC Forces
- ↳ PR:WWII General Discussion
- ↳ PR:WWII Suggestions
- ↳ PR:Falklands General Discussion
- ↳ PR:F Suggestions
- ↳ PR:Vietnam General Discussion
- ↳ PR:V Suggestions
- ↳ PR:BF2 Community Modding
- ↳ Modding Tutorials
- ↳ Community Maps
- ↳ Community Tasks
- PR Server Forums
- ↳ PR:BF2 Server Feedback
- Project Reality Support
- ↳ PR:BF2 Support
- ↳ General Technical Support
- ↳ Hardware
- ↳ Software
- ↳ OverClocking & Networking
- ↳ PR Dev Blogs
- ↳ Official PR Tournament News
- ↳ Tournament Website
- ↳ PR Dev Journal Archives
- ↳ 2009
- ↳ 2008
- ↳ 2007
