PavelBlend / blender-xray

STALKER (aka xray-engine) import/export plugin for Blender 3D
BSD 2-Clause "Simplified" License
191 stars 39 forks source link

Altering locations of grass in level.details using X-Ray plugin #245

Closed Szabi123 closed 5 years ago

Szabi123 commented 5 years ago

Dear Pavel!

I would like to learn how to perform the following tasks in level.details file using your Blender plugin:

  1. Change the locations of an already existing plant model on the map.
  2. Add a completely new mesh model into the row of the already existing models and define it's locations on the map.

I know, that each plant has got an own color and their locations are defined by painting or removing this specific color on the map. However you have a video called "level details plugin" and I assume you are talking about something similar, but unfortunately I don't understand russian language.

So my question is: would it be possible, that you could create a quick tutorial video specifically about those two tasks I wrote? Nothing special, just to choose a plant, delete some of it's locations from the map and add some new locations to the map, plus adding a new model and define it's locations on the map, so that I could see this process step by step in Blender from start to finish.

I would be really grateful if you could do this tutorial for me, like you did previously with other tasks.

Thank you so much in advance!

p.s.: I like your method of editing level.details in Blender so much, becouse this way we can avoid having to fidget with SDK.

PavelBlend commented 5 years ago

I looked at your file. I do not know how to fix this bug. This is most likely a feature of the vertex grass shader. I still see two options for correcting this defect:

1 - leave everything unchanged, as in the game this error is not very noticeable (no one will peer into every grass model).

2 - do not use crosshair models (even the developers of the GSC abandoned models in the form of crosshairs in the days of the alpha version of the game. In the final version of the game I have not seen such models)

Szabi123 commented 5 years ago

Hi!

Thank you for looking into it!

I think I will fix this the way, that I enable "no waving" option. These kinds of plants are so strong in real life, that they don't really bend in the wind like normal grass does.

Thanks for your help!