New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function: get/set/resetPedsLODDistance #231

Merged
merged 14 commits into from Jul 22, 2018

Conversation

Projects
7 participants
@CrosRoad95
Contributor

CrosRoad95 commented Jul 8, 2018

Type: client
Functions:

  1. int getPedsLODDistance( ) -- return current lod distance
  2. bool setPedsLODDistance( int distance ) -- set new lod distance, accepted distance 0 - 500
  3. bool resetPedsLODDistance( ) -- reset to default, 60.0f

Function mainly for dayz servers

Default, 60 units
image

100 units
image

500 units
image

image

Example script:

for i=1,100 do
  createPed(0,1425.13928 + i * 10, -2497.20703, 13.55469)
end
setPedsLODDistance(500)

CrosRoad95 added some commits May 30, 2018

@Einheit-101

This comment has been minimized.

Show comment
Hide comment
@Einheit-101

Einheit-101 Jul 8, 2018

This is so amazing, thank you.

Einheit-101 commented Jul 8, 2018

This is so amazing, thank you.

Show outdated Hide outdated Client/game_sa/CSettingsSA.cpp
@saml1er

This comment has been minimized.

Show comment
Hide comment
@saml1er

saml1er Jul 13, 2018

Member

I tested the pull request, it works fine. Once a new property is created for lods, it can be merged.

Member

saml1er commented Jul 13, 2018

I tested the pull request, it works fine. Once a new property is created for lods, it can be merged.

@qaisjp qaisjp removed the review required label Jul 14, 2018

CrosRoad95 added some commits Jul 22, 2018

@saml1er saml1er merged commit e31ff91 into multitheftauto:master Jul 22, 2018

1 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
WIP ready for review
Details

@patrikjuvonen patrikjuvonen added this to In progress in release/v1.5.6 via automation Aug 7, 2018

@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Aug 7, 2018

@patrikjuvonen patrikjuvonen moved this from In progress to Done in release/v1.5.6 Aug 7, 2018

@patrikjuvonen

This comment has been minimized.

Show comment
Hide comment
@patrikjuvonen

patrikjuvonen Sep 7, 2018

Collaborator

This PR is not ready. We're missing high_detail_peds option from video settings.

cc @CrosRoad95

Collaborator

patrikjuvonen commented Sep 7, 2018

This PR is not ready. We're missing high_detail_peds option from video settings.

cc @CrosRoad95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment