Jump to content

Sign in to follow this  
.kju

PROPER Plants

Recommended Posts

Thanks Q...another great addon.

How to copy the view geometry from p3d to p3d (for personal inclusion of Durg's fix)?

----------------------------------------------------------

RE @Q: thanks for clarification...Best Regards

Share this post


Link to post
Share on other sites

Thanks for your interest HGuderian smile_o.gif

It is very simple. You just open both p3ds files with o2.

Now you go to the view geometry, mark all points with the mouse,

press copy c, go to the other model into the view geometry again.

Mark all points again, delete them with del key and copy v to

paste the information from the first model. Save. One model done. smile_o.gif

While writing this, it is probably very simple to automate that.

I will try to figure it out tomorrow. If not, i will upload the MLOD

models for anyone to edit.

It is very likely to get the permission from Durg, so the work

can be public most likely. wink_o.gif

Share this post


Link to post
Share on other sites

Here a function that you can use in O2 script:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#include "std/SpecialLod.hpp"

console=openStandardIO;

/*******************************

/*copyViewLOD

/* Description: deletes the ViewGeo LOD of _dstModel and copies the ViewGeo LOD of _srcModel into it and save this new model as _newName

/* _srcModel: path to the source model file

/* _dstModel: path to the model file that will get the ViewGeo LOD of _srcModel

/*

/* Example: ["P:\Durg\tree.p3d","P:\PROPER Plants\tree.p3d"] call _copyViewLOD;

/*******************************/

_copyViewLOD =

{

private["_srcP3d","_srcModel","_srcViewLOD","_dstP3d","_dstModel","_dstViewLOD"];

_srcModel = _this select 0;

_dstModel = _this select 1;

//_newName = _this select 2;

_srcP3d = newLODObject;

if(!(_srcP3d loadP3D _srcModel))then{console<<"Couldn't load " + _srcModel};

_srcViewLOD = (getObjects _srcP3d) select (_srcP3d findLevelSpecial LOD_VIEWGEO);

_dstP3d = newLODObject;

if(!(_dstP3d loadP3D _dstModel))then{console<<"Couldn't load " + _dstModel};

_dstViewLOD = (getObjects _dstP3d) select (_dstP3d findLevelSpecial LOD_VIEWGEO);

_dstViewLOD := _srcViewLOD;

if(!(save (_dstP3d as _dstModel)))then{console<<"Couldn't save " + _dstModel};

};

//here the code that calls the function

//best would be an iteration through all the models in one folder I suggest, but I guess you can do that yourself;)

It doesnt matter which model is loaded in O2 (could even be empty) when you run the script as it just work with the filenames you overgive to the function and doesnt use the interface data. Just the O2 "engine" is used wink_o.gif

Share this post


Link to post
Share on other sites

Will this demolish lag like your FANTASTIC grass pack, Q?

Cheers Sir

Stew

Share this post


Link to post
Share on other sites

thanks T_D smile_o.gifnotworthy.gif

@Stewy

The grass pack was merely a repack of Sgt.Ace work. wink_o.gif

Same here. There will be FPS improvement due to kegetys

lowplants shader removal tool (if you play with shaders low or more).

Share this post


Link to post
Share on other sites
  [b said:
Quote[/b] ]2. Ability to hide in bushes

Does this mean we can finally turn inside bushes instead of just crawling through from middle of the bush?Would be VERY welcome improvement! notworthy.gif

Share this post


Link to post
Share on other sites

Yes.

Right now a bush no longer blocks your movement at all.

It is only a visual model so to speak.

Like I said, it might be worth to consider to add a geometry point

in the center.

As this would block movement only very little and make the bush

possible to mow down with tanks.

I am not sure yet if its needed though.

Share this post


Link to post
Share on other sites

Any chance Durg will give his permission for you to implement his vegitation fix into this? I would have a go myself but the above instructions are way over my head crazy_o.gif realy hope he gives permission this would then be near perfect Q

Share this post


Link to post
Share on other sites

I noticed that you can fly through the trees with planes without any crash (choppers do crash). Might be effected by the reduced resistance of the trees.

I would suggest to make the yellow trees a bit darker, so larger forests of them fit better into the island. Just my opinion. wink_o.gif

Share this post


Link to post
Share on other sites
  [b said:
Quote[/b] ]you can fly through the trees with planes without any crash

I will test that now. However to me this seems very unlikely

that this is caused by the changes. Are you sure that behavior

is not happening for ArmA default?

As stated the great textures were done by Przemek kondor.

So please feel free to tell him about it in his thread:

Topic: Autumn (recolored) plants

Again thanks for the feedback. smile_o.gif

Share this post


Link to post
Share on other sites

Durg is a good guy and will likely supply you with the original viewblock fixed models for you to use.

Share this post


Link to post
Share on other sites

looks good smile_o.gif

  [b said:
Quote[/b] ]Durg78: Very nice, looks great! Absolutely use my view lod's I'd hate for these trees to not be use because they're missing the view blocking.

Share this post


Link to post
Share on other sites
  (DMarkwick @ Dec. 04 2008,14:57) said:
Durg is a good guy and will likely supply you with the original viewblock fixed models for you to use.

You're right!  I am a good guy.  tounge2.gif Thanks DMarkwick

I've given permission to use my view block models.

Share this post


Link to post
Share on other sites
  (DMarkwick @ Dec. 04 2008,20:57) said:
Durg is a good guy and will likely supply you with the original viewblock fixed models for you to use.

Yeah he is a great guy isn't he notworthy.gif

Share this post


Link to post
Share on other sites

Hi,

i was very surprised as i saw the pictures.

think it's the best plant addon i ever seen.

Very nice.

Keep going on.

Greets

Marc

Share this post


Link to post
Share on other sites

@Marccom

Please note that the beautiful Autumn plants textures are made by Przemek kondor!

Here was his initial release:

Autumn plants

Share this post


Link to post
Share on other sites

Sorry for my ignorance (I haven't tried the addon yet), but what does it do (graphically)?  Aside from changing to autumn colours and fast tree crush. I use High Shaders, does this increase performance or make the trees look better, or is it no use to some using High shading?

should I wait for: A4: Probably another version with the highpoly 1st (and 2nd) LOD removed.

Share this post


Link to post
Share on other sites

Lowplants will give you higher fps with high shader settings.

Check the link to its topic.

Also lowplants removes the white / bright glare of the textures

of the vegetation. You can see it on the linked screenshot in

the first post what I am talking about.

This is removed by lowplants as well (as if you set to very low

= no shader setting in options).

Share this post


Link to post
Share on other sites

Ahh I see. I kind of like those shiny leaves smile_o.gif.

Cheers for all these mods you make man. I found a link you posted a few days ago to your list of PROPER mods, some really useful stuff there. Looking forward to trying them out. notworthy.gif

anyway, back on topic..

Share this post


Link to post
Share on other sites

well we can also make a version without lowplants.

no probs

Share this post


Link to post
Share on other sites

Thread outdated. Please head for this topic:

PROPER plants 1.0

Moderator close this thread if you see this by chance. Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×