| Search this Thread |
|
|
|
|
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
Hello, I've just had an idea that I felt was somewhat original: I'd like to add a pie menu option on tombstones which, when chosen, would display a little dialogue in the top right corner of the screen (like for NPCs saying they're done with their work) containing a short poem. The function would check the gender and the dead Sim, and the cause of their death, to choose a poem out of 18 and put the right pronouns in the text. If needed, though, pronouns can be avoided, as seen below: Quote:
I'm a complete newbie in knowledge of BHAVs and creation of functions, but I'm willing to learn. Is this a particularly hard mod to create with a bit of learning, and if it's feasible, may I get pointed in the right direction as to how to implement this? Thanks in advance. | |
|
|
||
|
|
|
|
|
#2 |
|
Echo
|
As far as BHAV projects go, this is fairly achievable. Have a read of these two:http://modthesims2.com/showthread.php?t=142907 http://modthesims2.com/showthread.php?t=194588 and you should have a good idea of how to go about it! |
|
|
|
|
|
#3 |
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
Thanks for confirming that it's possible, Echo. However, I've had a quick look at both tutorials and two question arise:1) The basic BHAV tutorial seems to explain how to add a function to one object. Or does it explain how to add a function to, say, every single tombstone in the game? It seems platinum tombstones are different objects, and making a function six times may be tedious (as I told you, I know virtually nothing so far, it probably has to do with urn/stone semi-globals or something). 2) Is it possible to make the top right corner dialogue appear instead of that box in the middle of the screen? The box in the middle of the screen pauses the game, you see, and it'd get very annoying if you're reading a large number of epitaphs. |
|
|
|
|
|
|
|
|
#4 |
|
Echo
|
1) I'd have to look more closely, but I expect all of the gravestones share common semi-globals, in which case you would create the function once then update all the tombstone pie menus. Not overly involved. 2) Yes, that's just a different dialogue type, the basic operation is the same. You won't find tutorials for every variation of modding, you have to find the thing that's close, then figure out how to tweak it for what you specifically want to do. If you get through both those tutorials, there are plenty of people who can give you a hand manipulating what you've learned to achieve what you've described.
|
|
|
|
|
|
#5 | |
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
Quote:
I'll first try to add a function that displays a simple text on a cloned tombstone, then I'll come back and ask for help on both making that function available for all tombstones, and making the text more complex.
| |
|
|
||
|
|
|
|
|
#6 |
|
J. M. Pescado
|
This is possible to do. It's even theoretically possible to carve your own. There is, however, a caveat: Tombstones moved to community lots will lose all this data unless you alter the method by which the entire tombstone-transfer-system works. This is also doable, but not for newbies. |
|
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off. |
|
|
|
|
|
|
#7 | |
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
Quote:
Crap. | |
|
|
||
|
|
|
|
|
#8 |
|
Phaenoh
Sprinkles and Streaks!
![]()
|
This is an awesome idea French, I hope you stick with it. |
|
Currently: jones' Veronaville Home Makeover Contest Latest: Catalog Mod V2 Like my work? Help me make a difference! I'm all about the stickers, gotta catch 'em all! |
|
|
|
|
|
|
#9 |
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
I'll do everything I can to stick to it, and will try to rather ask for extensive support than give up (that is, if people who know more than me don't mind me pestering them with millions of "how do I do this" questions PS: The bug Pes mentions appears to have been fixed somewhere along the way... the forums mention some haunted community lots... |
|
|
|
|
|
|
|
|
#10 |
|
Frenchie
Original Poster
Forum Resident
Join Date: Oct 2005 |
Update! I've created the basic function after going through the BHAV tutorial and making a hacked tombstone (basically, no other tombstone would have that function, if I understand well). ![]() Now I'll need to study how to make such a function appear on every tombstone. Does it have anything to do with the pie menu strings/functions resource group? Should I set it to something else than 0xFFFFFFFF? |
|
|
|
|
|
|
|
|
#11 |
|
Echo
|
Yep, they need to have the same group and instances as the ones in the original object, then they will override those. In the case of BHAVs, when you need to add new ones, then you need to given them the same group as the ones in the original object, but give them different, unique instance numbers.
|
|
|
|
|
|
#12 | |
|
J. M. Pescado
|
Quote:
| |
|
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off. |
||
|
|
|
![]() |

Want to talk with fellow simmers?


Have a read of these two:


Twitter
del.icio.us
StumbleUpon
Google