PDA

View Full Version : Another one: how to make outdoor objects NOT collect snow?


Rapsheba555
3rd Jul 2009, 01:20 AM
I was wondering how one would go about telling an outdoor object to not collect snow. this is basically a clone of a statue, so the game automatically puts a basic white snow over flat surfaces, it's not one like a tree where the snow is actually part of the object. Is there just a basic little switch that tells the game to not put snow on this object when it snows?

MogHughson
5th Jul 2009, 12:45 AM
Have you tried setting flag fields 3, Not Affected By Snow?

I haven't tried it to know if it works, but it looks a likely bet.

Rapsheba555
5th Jul 2009, 03:50 AM
Finally someone answers me! *thanks the lord*

hmmm, how exactly do I go about setting that? It's under "bhav", I assume? And under that, is it "main" or "init?" I'm not very familiar with the flag fields yet, so... *puts on dumb face* :lol:

Rapsheba555
5th Jul 2009, 04:02 AM
Okay, yeah, I looked around in simpe and at several different infocenter tuts, but I'm totally lost. A picture would be the best way to explain it to me. :P

thanks. :D

GeneralOperationsDirector
7th Jul 2009, 09:23 PM
If you cannot set the object flag directly in SimPE, and needs to be set by a BHAV instead, you could put it basicaly anywhere that will get executed at least once. I don`t have SimPE open right now, nor do I have time to open it, so I can`t tell now if it needs to be set in SimPE or via BHAV.

Rapsheba555
10th Jul 2009, 08:56 PM
Okay...that meant nothing to me. :lol: I need step-by-step directions if possible, I've never done any real BHAV modding before, i'm more familiar with the TXMTs.

So, can you just go 1, 2 ,3 and throw out the names of the tabs and subtabs I need to go under to find what I need to edit?

GeneralOperationsDirector
10th Jul 2009, 09:16 PM
Sorry, no time right now. :(

ParsimoniousKate
14th Jul 2009, 03:42 PM
It's definitely one of those things that could be done a lot faster than explaining with pictures.

I'd be happy to have a go at fixing this if you run out of other options - email it to me ([email protected]) and I'll have a poke about with it. Modding is a gazillion light years away from my area of expertise, but I can do basic stuff like fixing lamp materials in the BHAV, height and placement stuff, tuning etc. I understand completely your frustration with it because it absolutely is just so much gibberish when you start out!

GeneralOperationsDirector
14th Jul 2009, 09:08 PM
Hokay, I`ve looked in SimPE and not found any way to set "flag fields 3, Not Affected By Snow". I couldn`t find either a place to set such a flag in any kind of object data, nor any way to set such a flag via BHAV. I`m sure such a way exists, but I don`t see it, or if I do see it I don`t recognize it. Then again, I`m somewhat new to SimPE. At least I`ve tried. ::sigh::

HugeLunatic
16th Jul 2009, 12:58 AM
In order to set the flag in the BHAV you will need to add a line to it. It's not just tabs and subtabs. You have to find the settings/flags, there are an amazing number of different things in BAHVs!

GeneralOperationsDirector
16th Jul 2009, 05:32 PM
Yeah, but I was looking in the Expression parameters dialog, and couldn`t find anything appropriately labeled. Do you know how to set that particular flag? What opcode is required, and what parameters? I know how to do BHAVs, but I cannot find anything in SimPE to help me figure out what to code. Is there a page on the WIKI detailing what flags can be set, and how? Alternatively, can it be set directly as an object property in one of SimPE`s property sheets somewhere? If so, where?

HugeLunatic
16th Jul 2009, 06:04 PM
I have no idea if there is a Wiki page, but yes I know how to set the flag. And when I ran a test object it did appear to work. MogHughson said field three, so I started going clicky-clicky to see what each one had. Don't know what dialog box is "Expression parameters", nor the property sheets. I tend not to look at the labels on the dialog boxes, only the contents. :) All I know is that for each field changed, the other menu's change dynamically with it, hence my clicky-clicky.

If Raps wants me to set his object, I'd be happy to. And take pics and show how I did it.

GeneralOperationsDirector
16th Jul 2009, 06:17 PM
I have no idea if there is a Wiki page, but yes I know how to set the flag. And when I ran a test object it did appear to work. MogHughson said field three, so I started going clicky-clicky to see what each one had. Don't know what dialog box is "Expression parameters", nor the property sheets. I tend not to look at the labels on the dialog boxes, only the contents. :) All I know is that for each field changed, the other menu's change dynamically with it, hence my clicky-clicky.

If Raps wants me to set his object, I'd be happy to. And take pics and show how I did it.You did this via BHAV, right? If so, I`d like to see that BHAV. The opcode and parameters would do for me, but I`d be willing to look into an actual package file. The "Expression parameters" dialog box is the one that comes up when you edit parameters for the Expression opcode. I don`t know what label it has; I was describing its functionality. :D The "property sheets" are the things that you edit the object in, the "plug-in view", to use the program`s own terminology, especially for record types such as OBJD, where you edit the object properties.

HugeLunatic
16th Jul 2009, 08:40 PM
You might understand this, I don't usually explain things well to non technical users and/or non mind readers. :D

Add BHAV line - link
Click the hammer (Wizard) by the operands (in Plugin view)

Select the following fields in order in pop up box:
My
flags field 3
Set Flag
Literal
Not Affected By Snow


What I do when I am looking for something in those drop down boxes is hit the first letter of what I am looking for. So for find flags field 3 I repeatedly hit "f" until I found it. When I made those changes on a package (already in Trash and emptied) it did appear to work, other items were getting snow cover except this one.

GeneralOperationsDirector
16th Jul 2009, 08:45 PM
I understood that **PERFECTLY**, thank you, HugeLunatic! Thank you very much!

Now to see if I can FIND that stuff!

...wandering off to load up SimPE to test it for myself...

Edit: Found it!

Opcode: 0x002
Parameters: 0x62000400FF0903070000000000000000

Rapsheba, I can now help you with this! YAY! You should insert this information into the INIT BHAV, after calling the default INIT, but it could really be placed anywhere that you are sure will get executed. :D .