Add addon Report Exe variables and stuff
Location
Addons
Filename
Exe_variables_and_stuff.pdf
Category
HUDs
Licence
Commercial
Uploader
BF2all
Credits
notepad++
Added
Size
31.6kb (32,357 bytes)
Downloads
124 (1 today)
MD5 Hash
6715efb90c3839a79c7938585eb4fcc3
Embed Button
Embed Widget
Description

This is not a BF2.exe dump, but it contains most of the HUD vars and stuff. Usefull, if you work with the HUD and maybe other exe related things.

Preview
Exe variables and stuff
Comments
Mohammed_Furqon
Mohammed_Furqon

Thanks a lot mate!
This is awesome!

Reply Good karma Bad karma+4 votes
BF2all Author
BF2all

welcome

Reply Good karma+2 votes
facku.00.rosemary
facku.00.rosemary

Can you explain??

Reply Good karma Bad karma+2 votes
Guest
Guest

x2

Reply Good karma Bad karma+1 vote
Bluenix_indo
Bluenix_indo

Just wait to finish my bf3hud more faster cause this, thx bf2all

Reply Good karma Bad karma+2 votes
S4NTRIyPdH@PR
S4NTRIyPdH@PR

bruh can you share your bf3 hud if its already
completed? lol thx wkwkwk

Reply Good karma Bad karma+1 vote
Bluenix_indo
Bluenix_indo

Well there's still lot that haven't i working like spawn kit, scoreboard, squad management, secondary weapon, player name but i will try to finish fastest as i can

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

hope it helps, though work

Reply Good karma+1 vote
Paindeblaze
Paindeblaze

I can't hardly wait for your custom HUD, keep it up buddy..!! :)

Reply Good karma Bad karma+1 vote
Brazil45
Brazil45

Somebody tell me how to use this ?

Reply Good karma Bad karma+1 vote
Brazil45
Brazil45

has some digitavel command where I can update of example Ranks Captain, Lieutenant Colonel, Colonel and etc by Singleplayer in Offline Rank ?

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

how about, search for 'rank' inside the doc and mess around with the finds?

Reply Good karma+1 vote
Brazil45
Brazil45

already tried to do this more I did not find any command to type in the console that causes it to automatically drop to qa promotion of certain rank for example captain promotion

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

sry bro, miscommunication. This for HUD makers. If you have questions for offline rank you better ask the guys who made the offline rankup.

Reply Good karma+1 vote
euwinpro
euwinpro

Thank you very much!
I'm looking for a variable that shows the game tickets as a bar (no FriendlyTicketsString) but I think there's no

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

Possibly, there are ways to work with vars in python and give them back to the hud. The hud makes bars out of vars. Me no pro, bro :(

Reply Good karma+1 vote
Pobblebonk
Pobblebonk

Thanks for this list. It contains some really interesting variables!
Is it possible to use the selectunlock.aspx?pid= for making a better kit-selection system? As far as I understand this is used for selecting a certain Kit instead of selecting just the next one like selectNextUnlock does. If it does what I think it does, how do I use it? Would it be:
hudBuilder.setButtonNodeConCmd "spawnManager.selectunlock.aspx?pid" x ?

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

By experience of others and own, i wouldn't recommend to work on the default select sys . Seems like a abandoned dead end. Just in case, here some other stuff:

objectTemplate.deleteComponent
objectTemplate.removeTemplate int -> void
objectTemplate.addTemplate std::string -> void
objectTemplate.replaceItem std::string -> void

objectTemplate.itemIndex int -> int
objectTemplate.itemType int -> int
objectTemplate.itemType int -> int

objectTemplate.setActiveTemplate int -> void
objectTemplate.setObjectTemplate int std::string -> void

objectTemplate.alternateTemplate0 std::string -> std::string
objectTemplate.alternateTemplate1 std::string -> std::string
objectTemplate.alternateTemplate2 std::string -> std::string
objectTemplate.alternateTemplate3 std::string -> std::string
objectTemplate.alternateTemplate4 std::string -> std::string
objectTemplate.objectTemplate std::string -> std::string

objectTemplate.unlockIndex int -> int
objectTemplate.unlockLevel int -> int

ObjectTemplate.listTemplateClasses -> std::string
objectTemplate.listTemplates -> std::string
objectTemplate.clearTemplateList -> void

Reply Good karma+1 vote
Pobblebonk
Pobblebonk

Thanks for the anwser! Do you know, what the "alternateTemplate0-4" does? I've never seen this in any con/tweak file. Is there a way to take a look on bf2 source code?

Reply Good karma Bad karma+1 vote
BF2all Author
BF2all

No, was playing around with this, like try and error, but not good outcome.
Would be nice to have a proper decompiler to look what it does exactly.

Therefor i made this article: Moddb.com

Have a look

Reply Good karma+1 vote
Pobblebonk
Pobblebonk

Playing around with variables or functions seems to be a major part of battlefield 2 modding ;). I hope someone replies to your article! Even though I don't have experience with python I think my programming skills should be high enough to understand some parts of the source code.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Addon
Browse
Addons
New
Add addon
Report
Report
Share
Community Rating

Average

9

6 votes submitted.

You Say

-

Ratings closed.

Related Games
Battlefield 2
Battlefield 2 First Person Shooter
Related Engines
Refractor 2
Refractor 2 Commercial
Related Groups
DICE
DICE Developer & Publisher
Electronic Arts
Electronic Arts Developer & Publisher