Skip to content
View in the app

A better way to browse. Learn more.

Learn more

General Blender Questions:

This is not related to em4 but a general question for you blender users:

The first question I have is related to Blender and the ability to use the bone structures, supposedly it can do this, do any of you guys know if it has a bone structure system and if it works/can export to 3DS format...  Any info you have on it would be appreciated.

The second question is related to Blender and any abilities it has to do animation frames within the app, and also if those frames are remembered when exported to 3DS format as well.

Neither of these tasks are related to EM4 but before I dive into learning the system I kinda wanna make sure it can do what I'd need it for, and does it without major problems before I put the time into learning it, since it would be fruitless if in the end it has just as many problems as zmod does or more..  Anything you guys know about the two tasks above and Blender's ability to do them cleanly I'd appreciate, it'll save me some homework when the time comes to have to do it.

Thanks guys, MK

  • Replies 61
  • Views 243
  • Created
  • Last Reply

Top Posters In This Topic

  • MikeyPI
    MikeyPI 35 posts
  • Pottyscotty
    Pottyscotty 24 posts
  • itchboy
    itchboy 2 posts

Posted Images

Featured Replies

  • Author

Basically I'm going for an RTS similar in concept to EM4/5 but much upgraded, better functions/features (like the working trailers/tillers), diff types of ladders capable of working like the scissor style (cherry picker).  Better resource management like water supplies, etc.  Essentially an upgraded game under the same basic premise but with a hell of alot less bugs/faults so that it doesnt crash or memory bleed like em4 does.  Alotta the things that em4/5 should've been able to do I can make it do since I have to write everything from the ground up.  When it comes time to do the missions and all that shit I'm going to have to consult with real FF's/EMT's/PD's to try to get everything with some measure of reality without going over the top.   My goal is to make what EM5 should have been without needing a supercomputer to run it.

My goal is to avoid what many mods have done in being so complex they simply put are un-playable on moderate machines, while I'm not designing for extremely aged computers I do want a relatively "cheap" computer to be able to play the thing, and play it well.  Raf and them's game for EX will need a monster computer and will still suffer performance issues because they've kinda missed the boat on what the unity engine does well and what it does not.  In viewing their videos of what they have so far you can clearly see a "stutter" effect from the traffic/lighting which will just get worse over time as they add in more.  That is why i've set my limits early on so that I can put more resources towards useful shit instead of blowing the whole performance paycheck on eye candy that is just going to bog it down.  If nearer to the end of the project it runs extremely well I can always upgrade things to include more, but I sure as shit don't want to have to try to work out later how to reduce it.

Perhaps in the long-run I can exploit the "draw" distance/ quality settings, even though that will mean a massive increase in game size it would allow the prettier examples to exist under High settings while allowing low to have similar to what I've got right now, but that's a bridge I must cross much further down the line.  For the moment I am trying to implement the "core" assets of the game starting with the most complicated shit first working backwards to the easier shit as I go, more or less "proof-of-concept" tasking right now to ensure the "critical" shit works in such a way that should up-scale well.  Visuals can always get increased later on, but for now I need the important shit (esp AI related) working smoothly and in a way which does not chew tons of resources.

Well I hope it goes well. I won't be getting their game because of performance, I've also noticed so many things about it that will add way too much stress on their game that they seem oblivious to.

With EM4 being as limited as it is and EM5 not even being an option I'm glad that you are taking the time to think about things and develop it properly. 

  • Author

Well I can tell you from my limited time in dealing with unity what they've done is taken all the crowdfund cash they've gotten and simply bought a shitpile of asset packages and just worked long enough to make them cross-compatible, aside from that they've done very little with it.  In my limited time I've downloaded several "example" packages to see the various methods to implement things, along with to see what all the engine can do and ultimately found that 99% of those asset packs are totally incompatible with one-another to the point you have to basically work with them one at a time in order to see what they do independently.  Trying to put them together usually results in fatal errors and the way unity works you can't proceed with even "minor" compiler errors.  Hence why I'm fairly sure they've just bought most of what they've got and worked out the compatibility issues (not to mention I've seen sevaral of their "features" for sale in the asset store standalone of their game.

Their game (not unlike their mods) is being approached in the quick and dirty method of making it look good without much thought into stability or proper function.  What I've seen of it thus far, most of the tasks are "basic" and very easy to setup, but are nowhere near optimized nor "perfected" to prevent basic problems.  For example their camera will clip into buildings because they did not setup any "clipping" constraints to it so if you rotate it into  something it will go through it.  At the moment Mine does the same, but I've not implemented proper camera controls yet, it's in it's most basic structure mostly to test the game features with basic pan function working (zoom and rotate are quirked to hell I have to fix that but it's a low prio).  Their lighting will bog the system to high hell and their traffic network system is not properly optimized, from the looks of it they just used a waypoint nav system package that included the traffic lighting system and all that in it.  IMO their game is overhyped and most of what it does you can do yourself with the basic unity core without all the assets bogging it down.

My system I had to re-design 4 or 5 times to find an optimized setup that should upscale fairly well, and in truth I'm not done tampering with it even though it works to see if I can further simplify and optimize it, aside from adding in the advanced behaviors such as avoidance after being obstructed a set time and redirection systems to actually go around emergency vehicles in the direction ordered by the unit(s).  Under my system the dirbar will actually permit the vehicles to pass left, right, or both, or in the instance of single-lane roads and/or totally obstructed roads force them to U-turn, it's part of the advanced code structure I still have to write but it's entirely plausible to implement from what I've got thus far.

My goal is to build a proper upgrade to the game which should be not only visually and functionally an improvement, but performance wise it should be able to be stable and work on a relatively low-cost machine.  Those are my "goals" for the game at it's core, which is why I'm taking the time to work on the "Critical" functions first, since if one of them is impossible or performance-killing there is no sense in continuing down the path I'm on if it won't work out properly.  In my testing/research thus far (less than a month or so into it) I believe that unity was designed fairly well for an RTS and should be able to do a function similar to EM4/5 without being a performance whore.  The key areas that will have to be worked out are particles and lighting, both of which scare me a bit with unity's engine system but if those are the worst things I have to contend with I'm in pretty good shape.  The AI system and code used in unity are both pretty sharp so as long as I can dream it up and code it in an efficient way it should be possible to make a proper upgrade.  While I don't expect it to be EM4 stock for performance requirements I'm hoping for a  relatively cheap machine (something like 4 gig, 2 ghz) to be able to run it well.  If the system runs well as it up-scales I'm probably going to use performance settings to swap the assets out using the current ones for "medium", cheaper ones for low, and upgraded versions of these for high performance machines, in the least I'd like to have a "normal" and "high" setting option so that you can have the current em4-style assets and an upgraded visual version as well, but that is totally dependent on what the core of the game does.

In working from the ground-up having to code everything myself I have the luxury of designing it to do explicitly what I want/need it to do but in the most efficient means possible.  While some of the example "free" assets helped give me ideas of how to implement things, they really did not do what I needed them to do  so given that fact I doubt the "paid" assets would be any better in that regard.  The way I'm approaching this project is simply put: Either it does what I exactly want it to do and does so in a performance-friendly way or I won't be doing that task.  I'd bet the farm they bought many asset bundles that in the end did not work as intended for their use and just had to eat the cost, in playing with unity to setup my AI system and user-drivable vehicle setup I've found far too often that one way that works may be okay in some ways, but usually chews performance and causes problems in others.  Having no "base" to work off really does mean that creativity is essential and being willing to try several times to find the "sweet spot" method in spite of one or two previous ones working.  I like the methodology but for someone who's trying to "rush" or doesnt want to take the time it would be a serious problem not having constraints to work within.

That and things like the minimap which is just another camera shot from above which shows things like the buildings, AI cars and your vehicle in full quality. That is going to have a huge cost on the performance.

As I said, good luck with it. Sounds really interesting and at the moment you never now when this game's going to draw it's last breath so we need the stability.

  • Author

The "minimap" isnt just a cam shot from above with the things shown, there are several ways to do that, most of which don't cost performance.  One for ex is to "translate" the data from global to local scaling and have a simulated mini-map where everything is proportioned down.. Basically an off-cam mini version of the real map (I'd prolly hide it under the floor or under the GUI) that is scaled way the hell down, you just tell it to take the real-world data and scale it down to match the mini-map scale (ie -1000% on the scaling of position and move the gameobjs accordingly using transform.translate since physics dun matter.  Easy method to do it just off the top of my head that would work reasonably well without chewing tons of performance. =)  Believe it or not, I'm actually pretty good at this shit mostly because it requires creativity to solve the problems, most the time the solution is buried under 5 or 10 tries later to get the right one for the intended use.

 

I'm trying to work out the "core" items right now, once most of those are done I would expect the progress to pick up, the good news for me is I have tons of custom-content I created for NYC2 that I can siphon for assets so I won't be losing tons of time in having to create everything from the ground up.  I'm working on a submarine sim game in 2D using unity that is stagnate at the moment for that very reason: Having to make 100% of the content from the ground up is costly and time consuming.  With this project at least I have the bulk of the assets which I can already re-use.  Making people and alotta misc. small objects is going to add some time, but the small objs is in my wheelhouse so I'm less worried about that than people.  At least the chick model is starting to take shape, so hopefully I'll have that completed by the end of the week and be able to work on the bone struct.

The cool thing about unity is you can scale shit in the editor, so I can basically make things identical in scaling using the same bone struct over and over again and just use unity's scale system to make a man for ex appear taller or a child smaller.  That Is my hope, anyway... If the bone struct and subsequent pose behavior can be re-used on all the various people models I should be able to create a decent variety fairly fast using that method.  For the moment though I just want to create one with "basic" anim functions (walk, run, stand, sit, prone, getting up, etc.)  so that I can make the functions for the AI system for peds functional.  From there, I can worry about complexity to it once I finish the vehicle advanced components.  

I appreciate the vote of confidence and the well wishes, I'm on my own for the most part which in a way sucks since it doesnt permit much delegation of the workload but at the same time it also means that I know exactly what I've put into it and how it's function is atm.   The things that I admit this project probably won't take into account for the time being is modability: (em4-style mod-creation) and multiplayer.  MP should be possible to implement but that I will likely have to outsource because I know little,if anything about setting up shit to send data back and forth in an MP environment.  The modability system is possible to mod the game, but a UI-based system like EM4 has where you get an included editor would require tons of work to implement, frankly massive effort to create "easier" means to work the game where I'd be spending more time creating shit to make it easier to mod than I did in the actual game it's self.

The workaround to that would be to create a mod function setup where it can "load" from specific folders and provide extensive documentation/examples of how-to mod my game.  That would be more feasable as a band-aid than trying to create a whole editor for it (for the time-being anyway).  I'm using unity's software to do the work right now, which is massively useful, but leaving the game 100% unlocked and in a development build would mean that anyone with unity could tear it apart and take all it's core assets, which would be foolish to do from a practical standpoint.  Unity supports mods but I have to do it in a specific way so as to permit altering the game without leaving it unlocked and for things like the map that poses a serious problem.  Adjusting the models to be something different is entirely possible, likewise people, but the map layout is a place that I honestly have no idea how to get around.

  • Author

I got it to work one time, however when I didnt save at that point and reloaded the existing savepoint I followed the step of going into obj mode + trying to select the armiture.  When I try to do that I cannot grab the armiture.  I have to let go of the model and grab the armiture, trying to "add" the armiture to the selection does not work when clicking for w/e reason.  If I try to use the lasso tool to grab both I can but it shows information when Ctrl+P is pressed for the model object, not the armiture.

Press Control + P and select 'with automatic weights'.

Instead of showing what it should it shows shit about parenting to the object or vertex.  Any idea why the hell I'm seeing this?  I had it work one time but was not happy with the placement of the skelly, it was pinching the upper shoulder so I re-loaded and adjusted it, only now for it to not wanna cooperate.

Make sure the mouse icon isn't grayed out on your objects since that'll make them unselectable.

6e2ea207b7d44543a3025d897dd27fb2.png

To bring up that menu you have to make sure you select the model and then the armature. By grabbing both at the same time it's probably putting the armature first.

  • Author

I really don't like Blender's key UI it's quite easy to make it quirk out..  I have muh figure and the proper bone struct (from what I've played with) so hopefully I can get cracking on trying to make a basic animation for it, something like walking to start with just to ensure A. it works and B. I can manage to pull it off =/  least I'm making progress on this, thanks for your help I really appreciate it.

Animations in blender are actually quite easy and there are loads of tools you can use for it. If you've got a good reference then walking animations can be pretty simple.

It's no problem at all. It's easier when you can actually communicate with a person when learning how to do stuff then just watching/reading a one-way tutorial.

 

  • Author

It's mostly the CTRL/Alt/Shift thing that gets my ass alot with blender, that and my instinct is right mouse selects and left does actions.. Blender kinda does it diff so I have to get used to it.  But elas: I tried what you told me and tinkered with the posing system (not happy with the animation result, but it's a nice place to start, it doesnt loop right yet.. But here's my first new person =)  They are never in order anymore I hate the new forum version.

anim05.PNG

anim03.PNG

anim04.PNG

anim02.PNG

anim01.PNG

Thank you once again for teaching me what I had to know in order to use blender to do it, unity has tools to do it but they're clunky as fuck and everyone suggests blender so I figured I'd do the same.  To use a new person from blender in em4 I think you'd probably need zmod3 to import the char/bones anim sets over... I don't see anything within the blender system that can permit dumping to em format, perhaps the dude who did the plugin could try to add it, but I don't think he added anything for it at this time.

anim05.PNG

anim03.PNG

anim04.PNG

anim02.PNG

anim01.PNG

Not at PC currently but if you go into file > user preferences in there somewhere (Input I would imagine) there is a tick box to switch left and right click around :-) I got used to it after a while but I remember it being a pain when I started with it.

Glad I could help, great result so far!

  • Author

Considering I intend to use it specifically for animating shit I should be able to get used to it, hopefully I don't encounter too many issues, right now I have to try to make a few different animsets for the new char.  Like I said in the previous post, I think the only way that a new char from blender would be usable in em4 is one of two ways:  Either it would have to have an upgrade done to the export plugin, or Zmod3.  If you have a "special-use" char that is meant to do a specific thing and that one particular task only (doesnt need basic anims like regular chars have (IE climbing a ladder) you can use blender to create the animation set; export it as individual "frames" and use hoop's anim converter to create the anim data manually.

Really of the options since I have 0 exp with zm3 and  cannot say for sure what it would do with a new character made in blender, I can tell you the latter method I mentioned would work fine.  If you wanted a true 100% legit char you'd be a busy sob since you'd have to re-create all the animation steps for a "normal" character using the method of creating the frames and extrapolating the data from them using hoop's anim converter tool.  I wish that someone "upgraded" that anim converter to be able to extrapolate from multiple frames @ once and dump them all at once as a single file, but sadly nobody did that.  If I understood how the anim converter macro worked better I'd use unity to spoof the same functions in a new app.

  • 2 weeks later...
  • Author

I figured I'd let you know since you've had problems with animations before in the past:  I've started creating a program so that you can do the animation conversions through that, basically all you have to provide is the frames themselves (v3o's with the movement for each frame in them) and the proggy does the rest for you.  So far I've managed to get the v3o's into it, convert the data into usable shit so I can track the movement, and done the conversion for the first line of the first frame.  I just have to up-scale that function so that it does all the lines + all the frames of a respective modification and it should be 100% functional.  

I'd like to take some time and add some bells and whistles to it, things like being able to click a button and have the proggy automatically invert the frames/process so that you can just export the open movement, rename the animation, click the button and you'll have done as well. I'd like to add in drag-n-drop function so you can just drag the frame into the import window and it automatically gets the location data from it, but i'm not sure if the engine can handle that shit easily or not.  I'm not trying to go too over the top here and I def aint buying functions for an em4 addon app.  Basically whatever I can come up with on my own is what the app will get; if I can't get drag-n-drop I might try to create an auto-importer button where you store the data somewhere it knows to look, name them right and it will automatically add the shit to it's self.  That's kinda plan-B since that would take a mighty bit of coding and the program it's self is already pretty hefty in code.

I decided to make this app as a "Thank You" for the time and effort (and headaches) you saved me by teaching me how the hell to make ppl using blender actually have their animations working.. That'll go a long way in muh new game since I can now make my own ppl fairly well.  So this is my thankye, it's fairly easy to use the thing, as it stands but i'm going to try to make it more convenient than it is atm.  The current setup works but you have to manually enter the filelocation\name.. Not that big a deal since you can copy/paste from your file browser and add the filename if you named them animation01, 02 03 etc but still annoying to have to do that.  We'll see if I can't get something easier/better to do that but the engine wasnt really meant to do what I'm using it for.

  • Author

Here's a pic of the proggy as it's currently developed.

 

app01.PNG

App02.PNG

That's absolutely brilliant, thank you so much. I have so much I need to animate at the moment so if you can get this working it'll be an absolute lifesaver.

You and me man. My heli rotor anims are going to be much easier to make if I ever manage to get off my ass and finish it lol.

Haven't even bothered with them myself. Just let the helicopters defy physics.

  • Author

Welp, since I have alotta boshit coming up (moving and other things) I prolly won't have the time to completely finish the thing (yet).  Thus, I grant ye a "beta" of sorts, it is operational (far as I can tell, havent overly tested it but it spit out a rotating door just fine, no diff than hoop's macro tool did so it should do well, tested up to 10 frames so it should up scale to 999 without problems, after that... seek help).

Basic operation of the fucker... Click the lil arrow button > next to the filepath button for the first frame (very important to load the first frame first).  Add as many frames as you need, ensure you load the right num of framespaces, due to how that "list" works if you have to remove one later it's liable to wipe all the stored data in that list (no bueno).  For each of your "frames", load the filepath into each respective drop-down following the same proceedure you did for loading the first one. 

When the load file popup comes up just enter the file location and press import i think it was.. Cancel will "clear" whatever functions are/were running and go back to the main view.

For the filepath click within the black bar field, type out the filepath (I find it best to open a win browser, get to the destination which holds your anim frame models + where you want the file dropped, and copy that and just keep pasting/modifying it as required to add the frames and the final filepath joint (just remember to remove the model name)).  Once you enter the filepath location EX C:\Games\FileDrop\  Click the arrow to it's left ....

Enter the anim name, enter the anim speed.

Press convert and be patient, the larger the file the more data it's chewing. It will spit out a text file named the same as the animation name within the destination location containing all the anim frames in order converted. Simply copy them to the bottom of your v3o and you should be good to go.

http://www.emergency-planet.com/Tutorials/Converter.rar

This is a standalone app, you guys should be able to figure it out, most of the "blocks" against doing stupid things to crash it are in place, I still have to add a few and there are a few visual bugs, I'm pretty aware of them, but if you guys encounter any "fatal" glitches that it totally crashes let me know. I'm fairly sure there is no way to do that but the engine was designed for games, not programs so I kinda kitbashed it here.  Don't distribute this thing, as it's a beta it's not nearly totally bulletproof and it can be fucked up if you make mistakes. I figure you guys have the sense to use it right so it should suit your needs and save you some time.  The final ver I'll add an "Invert" function so you can do open and close with the same loading instead of having to re-situate all the frames yourself the button will tell it to do it automatically.  For now though this is the best I can give ya guys to tinker with. hope it makes your life easier.

I chopped out the "endframe" field since it convoluted things quite a bit, the code dropped from 800 lines (roughly) down to 650 (roughly) so it's a good improvement in weight... Really anyone with sense should *hopefully know the endframe should be the last one in the list. Time will tell on that front.  Chopping that out saved a good bit of room for the thing to go wrong with so it should be more reliable.  Realize the engine wasnt meant to do what I'm making it do so it's kind of a kitbash job here, thus I'll add in the "convenience" items and clean it up going forward but I doubt it'll have a file browser or any of that stuff, I'm hoping I can implement a drag-n-drop system but if it's trying to copy the file instead of access it that won't work.  We'll see, anywho it works from what I can tell, hopefully it works well for you guys. (dunno how many/if it can do multiple huge anims at once, I really didnt design it to do that (I can prolly add a feature to "wipe" all the data and revert to start state, but that isnt there yet; kinda was going for getting the functions done to make it usable rather than making it optimal yet.).

  • Author

I noticed a bug when I fucked up and essentially "broke" it all over again, it won't do the first frame unless you use the start frame as the first frame.  Not a big deal I will fix that (when I fix the rest of the shit that is currently broken).  But for now I am pretty sure the ver u guys have will require the start frame to be set as the first frame as well (whoops).  I was rushing and forgot about that....  I was trying to implement the inverse feature and unfortunately screwed up to the point I had to access what I thought was a good backup but it wasnt.  It was in fact going back to an error in the loop cycle and I missed that existing.  Thus I have to repair all that bullshit again before I can even go forward to including the inverse feature.  Sucks to be me right now, but hopefully I can fix it relatively painless, prolly gna take me a day or two to "get back into" the code to remember how I cleared it before.  Pretty sure it was just moving shit around, but we'll see.

I repaired the "problematic" issues that the older version I had backed up had,  the program is in essence returned to the same state as what you guys have so it's basically back the way it is (with the addition of the primary condition for the inversion process).  I also updated the gui so that it "fits" the program's window, which makes it a bit easier to see the damned thing.  I still would like to remove the frame0 issue, but for now you can "defeat" that by simply adding the first frame, to the first frame slot in the list (which means adding an additional frame slot), then if you wanna save weight, delete the values it dumps for frame0, problem is how it's written that's a tough one to eliminate easily.  I also still have to sort out the inversion process, I tested it earlier today on the "Working" version of the code and found that it ended up in an endless loop, in spite of the fact that there were closing conditions for it, it did not seem to want to "Break" out of that cycle, nor did it throw an exception so I have no idea what the hell it was doing.  The debug logs didnt really tell much.  Good news on that front is i'm pretty sure I went a different way in resolving the original problems than I did the last time, so it might work this time on the inverse process.  Lastly, it is possible to enter an "inaccurate" filepath and not have it throw an exception that the file isnt found, I'd like to resolve that as well and I believe the app will be pretty well buttoned up.

  • Author

Okay, so here's what's done: The thing has all "check" conditions in place it should need, it'll tell you if you enter an invalid filepath, it now does frame0 for you (no longer have to enter start frame in the list as well), everything else is good.  I have to try to implement the inversion process but that'll take time most likely, if you guys want the current version let me know; otherwise i'm going to assume you want to wait till i do the last thing i'm going to do to this project.

Sorry about the delayed replies, been away and just grabbing Wi-Fi whenever it shows up. I'll have to download when I'm back and give it a go.

  • Author

It's fine really, that version has some bugs to it, the current version only has one bug remaining which I should be able to clear relatively quickly.  Once that is resolve you guys can have at it.  I'm going to call the current version that I have (neener you guys don't) V1.0 and let you guys be the "testers" of sorts on it, I think it's fairly self-explanatory, there is instructions included now and plenty of functions in it.  The "clear" function is a beta feature for if it glitches out; in reality though totally un-necessary since it loads so quickly.  It may display "not responding" when loading, that happens with larger frame lists/models, it is normal and will cease when it completes it's processes.  Once I fix this last issue that I'm going to clear you guys can have the current ver.  It has the function to do a conventional forward frame, along with a functional system for inverting the process (just ensure you rename the thing before you export otherwise it'll just add into the forward list with the forward names..... I just have to fix the "counter" of the inverse function, right now it's not going from 0 downward in the list for inverse.. Should be easy to fix but I have to tinker with that a bit more then I'll pack it and upload it.

 

And here you go V1.0 of this thing, it should work without bugs/glitches. You two guys are my beta-testers of sorts here, make sure you name ur frames something easy to copy like ladder01_frm01.v3o; ladder01_frm02.v3o etc....  The best method to load them is to copy the first one's location c:\games\ladder01_frm01.v3o and just keep pasting it editing it to match the appropriate frame.  I suggest leaving the original model's name alone so that when you're doing ur frames it's 01 02 03 04 05 etc (that way it matches the system's count so it's easy to know you're putting the right frame where it needs to be.

Lemme know if you guys encounter any problems, it's pretty self-explanatory and if you need to, check the instructions out, they cover how to run pretty much everything.

Happy animating guys.

www.emergency-planet.com\Tutorials\AnimationConverter.rar

  • Author

Bumping the timestamp. see file above for V1.0. At a later date I may create an auto-add feature when I need a break from my real projects but imo it's pretty damned useful as it is.

Thanks mike, will test when i can.

  • Author

yw, once you guys give it a good "stress testing" if it works fine (assuming I'm still available) I'll publish it in the dl center, if I'm not around and you guys are confident it's stable and behaving right go head n publish it.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.