Ok, this is something I did yesterday when I had few hours extra time. It is persistent Gardening System. Meaning that player can plant flower and trees and they remain after reset. Also trees grow and suchs. At the moment it is on very alpha stage. Depending are people interesting on seeing system like this.
You�ll need SoU, HotU and CEP
This is updated version 0.2 has following changes:
* Fixed local variable bug with merchant.
* Fixed bug with GetNearestPlant() function
* Trees can now be cutted down
* Flower can be picked up
* Cutted and picked flower are now deleted from database
* Removed mergetiles.hak :P
And please, ppl are free to send any ideas what to add etc :)
Posted by Acrodania at 2005-09-21 12:38:28 Voted 9.75 on 09/18/05
You can also keep down database bloat in the Bioware database by setting the variable to "" or NONE instead of deleting it. Then you could do a quick test to determine if the plant/tree was cut down and reuse the number sequence with the new planting.
The database access could be faster since it didn't have non-existant items in the loops and the database itself wouldn't grow as fast as things were removed and replaced. In NWNX this query could be very easily done, offering even greater speed with this conversion...
But I LIKE the idea and how its implemented. I can see very good use for it in many aspects beyond just gardens and other plant-life :)
Acrodania:
Yeah, I know about this little issues, there is also few others things to deal, like DM-Wands, but I just need to find some time (and inspiration) some day to fix bugs and add more features. :)
Your idea how to handle area spells is an good one, I will add it to my todo-list. :)
Posted by Acrodania at 2005-09-21 06:38:36 Voted 9.75 on 09/18/05
One minor issue I noticed after playing with the system is when you blast something with a fireball or other area effect spell it destroys the tree, flowers, etc. But it doesn't remove it from the database.
I would recommend the following: Use a custom tree/plant and add a small script to the OnDeath of that placeable. For trees this runs a function like the CutTree one, for flowers and other plants the CutFlower. For trees this would kill the tree. For other plants I would suggest an invisible placeable "marking" the plant, then after a set number of days that plant would re-grow. You could do the same with trees also to simulate re-growth.
This would allow mage's and cleric's spells to actually effect their surroundings but give the system a way to "naturally" recover.
But nice script, it works well :)
Posted by Acrodania at 2005-09-18 20:42:57 Voted 9.75 on 09/18/05
Nicely done! I like the idea and you seem to have thought the basic concept through well. It is very functional and unique! And can be expanded for many things...
Posted by Acrodania at 2005-09-18 12:53:41 Voted 9.75 on 09/18/05
Nicely done! I like the idea and you seem to have thought the basic concept through well. It is very functional and unique! And can be expanded for many things...
Posted by Acrodania at 2005-09-18 09:42:31 Voted 9.75 on 09/18/05
Nicely done! I like the idea and you seem to have thought the basic concept through well. It is very functional and unique! And can be expanded for many things....
Sorry for typos, wonder why here is no edit button :)
Oh, and forget to add that at the moment I am using NWN DB so it isnt very good for PW´s. Well, I have tried to reduce lag as much I can, but cant beat nwnx. Anyways, I will make system to use nwnx in some point but it is not my priority, those who use NWNX know how to port this to use it, I myself have not yet used it at all so I am not going to make double DB-system soon.
As allways, I am not a genius, and if ppl have ideas, suggestion how to make system work better, find bugs, add more flowers/trees or just want to bitch, send email to: [email protected] or just comment your opinions here :)
Gomisan:
Yes and no. I have made this to use CEP at the moment because with it there is no need of creating any else custom items than seeds and plants and also with CEP there is like 10 time more flowes and trees to use. Without CEP, I´d had to make first custom trees and flowers and then custom seeds and plants.
So at the moment CEP is needed, but of course I can (and will) export .ef file on some point. If you wish you can do that of course yourself, there are only three scripts :)
I will soon make manual how to install and create flowers and suchs. I know that my approac if a bit different than many others, ´cause I am not using "tag based" system.
It looks like you may have forgotten to include the .hak file in your download. missing hak "mergetile". I look forward to trying this out once the problem is resolved. =)
JFK _________________________ My other sword is a +5 Holy Avenger
JFK Swimming Skinmesh Fish Link
JFK Makeshift Weapons Link
Posted by Baphomet ( 202.222.xxx.xxx ) at 2005-09-08 02:29:09
Great idea; keep working on it!
Posted by www.nwn-td.clan.st ( 212.234.xxx.xxx ) at 2005-09-08 01:21:21
hey, very interesting project!
i'll try it and return opinion
You must be Logged In to post comments in this section.