Jump to content
Official BF Editor Forums

Harry

Moderators
  • Content count

    588
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Harry

  • Rank
    Advanced Member

Recent Profile Visitors

3,774 profile views
  1. Harry

    Make Your Own Menu

    You can try downloading it here: http://www.mediafire.com/?sharekey=acb2b1b...33f12c7f91fa741
  2. Harry

    Modify Menu Color And Button Text

    If you feel particularly adventurous, try running flasm over the main menu and find/replace the colorcodes. flasm is a command line tool, you need to use CMD to be able to operate it. Just running it will print help. To get the best effect: -Download flasm -Open menu_client, find mainMenu.swf (there are other swf files, endOfRound is the only one that actually gets used, for, you guessed it, endOfRound information, but also loading). -Extract the file to some (empty) directory. -Run flasm over the file and decompile it. It wil lbe practically unreadable. For cross referencing, try flare aswell, thoguh you cannot compile that, it is usefull to pinpoint interesting values. -Open the decompiled file in any texteditor. -For the normal menu, there will be some particulary large values around line 26718 (yes thats 26k lines). These values are the default UI colorcodes. -Adjust the values. They are in decimal, to make colorcodes, convert to hex using window calculator. -Recompile the output from flasm with flasm. -Put the file back -Run bf2.exe Replacing all colorvalues with the value 11259375 (= 0xABCDEF) (that is, the values near the line I gave), my menu turned quite blueish: Note that some colors are still different. Though the main UI elements follow the default colors, not everything is made from standard UI components and thus follow different rules. Also, I did a find replace on 0xFFFFFF to 0xABCDEF so all text was blue too. Also, making everything blue isnt particulary clear for the user And note: DICE didnt allow users to publish modified content of theirs. Just saying.. All in all, I recommend either just keeping the original menu, or just make a new one. The latter option is quite difficult, but not impossible. I just dumped an old tutorial of mine.
  3. Hi everyone, After digging through some archives, I found some old material I was working on when I was modding BF2. The project died a long time ago and I'm not sure if there is any usefulness in it, considering it applies to BF2 only, and BF:BC and BF:Heroes are already way through the pipeline. Anyway, I though of looking here and there is still a lot going on, so I'm just going ahead, it probably wont hurt anyone. Most of this comes from reverse engineering the original menu. Because of that, there is some DICE code from the original menu in the package. I have no idea of the legality of this, if its not allowed, give me a heads up and it'll be gone before you know it . Its mainly used for reference. Some base classes that are implemented in BF2 itself are given as stubs, because it cannot compile without them, even though the swiffplayer overloads those functions. That and they help when testing the movie without bf running. (is EA personnel still around btw?) Anyway, the package has an .fla file named scroller (first thing to be implemented was a scrollbar), folders dice (stubs and code), harry (my code) and mx (from dice, though not sure if it can be stubbed out). Also a folder hudImages that has the images my example uses when in the HUD configuration screen. And the most important: flashtut.pdf, file has a description of how the thing actually works. The ideal setup is to remove mainMenu.swf from the Menu_*.zip files, make a new folder in the mod's folder with the path "menu\External\FlashMenu" and put mainMenu.swf there. Add a shortcut for bf2 there and you should be set. As for compiling (I believe its in the notes), needs to be flash 7, _uncompressed_ (the fla file has this set already). Theres some debugging in there, but it runs. It also shows some cool filters you can apply when browsing, like Linux/Windows only Also, please note that this menu allows you to do stuff _without_ selecting a profile. This can result in crashes if you start doing too much. The actual 'package': flash.zip All in all, have fun with it. I'll keep peeking here now and then, unless the thread dies a silent death.... Oh, it requires some ActionScript knowledge and the ability to make something out of my code. I never said it was going to be easy Harry PS: some screenshots:
  4. Harry

    Need Fire

    I am unlocking this thread. Although what seems to be going on here isnt really suitable for all ages, I dont think its fair for Junk just to close his topic. Unless of course we need to trigger a new rant, you got to love those ones . Also, I personally feel that if posts are being removed, remove all posts that have a "negative" content, not jsut the one. Its not fair (althoguh a flamewar isnt fair) to the guy whose post was removed. Flamewars are fine, as long as its in the context of this threads title and first post, eg using a flamethrower. Wasnt python able to track players who lost 50% of their health to someone, and when killed assistance points were given? Maybe you can see how much the direct damage of the flamethrower did and give "asistance points" based on that. If the resulting healthloss was most likely not causes by enemy fire, give the guy with the flame the full points. Havent looked into this very much but it might be an idea.
  5. Harry

    Dc_ass.py - Modmanager Problems

    I suggest the usage of the [codebox] tag isntead of the [code] tag. These large scripts make it particulary hard to read the posts The bracket at line 271 isnt being closed, do so at line 274. Idk if oyu already do so, but use a program with syntax highlighting for python, it can help finding brackets and braces that arent matched correctly by giving wrong highlights when selected (Notepad++ is a good program, but python comes with its own IDE if I am correct).
  6. Harry

    Shader Editing Questions

    Problem is, those are the shaders that get compiled during load. When the BF2 shaders are compiled, they arent recompiled for your mod, they removed that feature in version 1.2 or something? SO even if you can get BF2 to read those shaders, only the uncompiled versions get used, the rest is read out of the cache (atleast thats what I got when I tried).
  7. Harry

    Enabling weathereffects

    You can supply the soundname, althoguh i dont know the command off the top from my head. Create a new sound and set the filename to nothing. You could also set the delay really high (or the volume low, idk if thats a settings for the lightning)
  8. Harry

    I'm New

    skydome is what you see in the sky of the map and you cannot get rid of it, although I doubt you actually would want to get rid of it, because if you do so, all what is left is a void (and youll get render issues:))
  9. Harry

    Lighting

    It was the glowshit object, which is glowing and dynamic if im correct. The hierarchy was Orb -Flag inside orb --Glowshit destroying the orb made the lights go out.
  10. Harry

    Lighting

    Idk, I think only the glow object was addtemplate'ed it it does flicker for me. I dont have the source at hand so I cant look it up atm (but you should dld the mod anyway =] )
  11. Harry

    Bundledmesh Shader For Static Objects

    You just apply the bundledmesh material in the 3dsmax materialeditor and you made a bundledmesh. I believe the hierarchy of bundoledmeshes and staticmeshes are the same, except for the root, which has to be named root_bundledmesh_NAME instead of root_staticmesh_NAME.
  12. Harry

    Lighting

    Yes you can. If you add a light to a destroyable object (PCO for example), the engine will hide the light when its in wreck mode, repair it and it comes back. The light will turn off (if you have ever played Desert-Conflict, you might have noticed a flickering behaviour of the flag-orb in CTF when the flag is carried around). Im not sure if the light is hidden if you tell the engine not to hide children when the PCO is wrecked, but you always set that boolean to false. Ofcourse, when you play on low settings lights are always off
  13. Harry

    Bf2 Console Messed Up

    turn of antialiasing from your video control panel (not the one ingame) might help. Also, if details are the problem, dont post pics in JPEg but rather PNG, your jpg is WAY to lossy Might also be the resolution of bf2, the higher it gets, the smaller the text.
  14. Harry

    Creating trigger(able)s

    Heh, how do you think I got to the code? Buying bf:sf? But you're right tho, its not extremely detailed, more a kick in the right direction. It doesnt even make proper note of the editor, I believe it should be able to handle triggers (I didnt have the latest when I wrote the tut) As for you, sxdemon, most of the times if you know why something doesnt work its an easy fix in battlefield :-P Have you tried loading the map in the editor or the debugger? Maybe some error pops up which could help you identify your problem
  15. Harry

    New Cpu (amd)

    if you want it for the editor id say the more powerfull singlecore, I havent seen bf2 utilise dualcore properties of processors, seems all the hard work is done with one thread.
×