Go Back   Project Reality Forums > Project Reality Mod > PR Community Modding
PR Community Modding : Discussion on PR community mod projects.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 06-24-2008, 01:53 PM   #1

arjan's Avatar
[Help] statics dissapearing at certain distance in editor?

what the title says? what can i do abou it?



Ingame name: Cpl Behr[13thMEU]
[WIP] Sector Arjan (map)
arjan is offline Reply With Quote
Old 06-24-2008, 08:47 PM   #2

zangoo's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

renderer.minCullDistance 2000
this makes everything draw at 2000m, this could cause lag.

staticMeshRenderer.noLods 1
this makes everything looks its best, could cause lag.

Ballistics or Tracers? Please Vote
[DM] member, We are now recruiting!
Xfire:Zangoo
zangoo is offline Reply With Quote
Old 06-24-2008, 08:50 PM   #3
PR Contributor

[R-CON]Z-trooper's Avatar
Send a message via MSN to [R-CON]Z-trooper Send a message via Skype™ to [R-CON]Z-trooper
Re: [Help] statics dissapearing at certain distance in editor?

if its custom made statics you might need to add more lod's

[R-CON]Z-trooper is offline Reply With Quote
Old 06-24-2008, 08:52 PM   #4

zangoo's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

nolods would fix that issue.

Ballistics or Tracers? Please Vote
[DM] member, We are now recruiting!
Xfire:Zangoo
zangoo is offline Reply With Quote
Old 06-25-2008, 04:47 AM   #5
PR Operations Lead
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Re: [Help] statics dissapearing at certain distance in editor?

Quote:
Originally Posted by zangoo View Post
nolods would fix that issue.
nooo... no lods forces the object into its highest lod for w/e distance its at, it still keeps the same cull distance which is where it draws.

to force a object to draw for a larger distance ingame you need to increase its cull radius.

[R-DEV]Rhino is offline Reply With Quote
Sponsored Links
Old 06-25-2008, 05:32 AM   #6

spacemanc's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

Quote:
Originally Posted by [R-DEV]Rhino View Post
nooo... no lods forces the object into its highest lod for w/e distance its at, it still keeps the same cull distance which is where it draws.

to force a object to draw for a larger distance ingame you need to increase its cull radius.

How is this done - I sent a PM a while back asking this.
Do you change the following line in the .con?


GeometryTemplate.setSubGeometryLodDistance 0 0 500

If so, what do the numbers mean, and also not all statics have that line in the .con.
spacemanc is offline Reply With Quote
Old 06-25-2008, 05:53 AM   #7
Gameserver Moderator

Jonny's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

I think its the top right side of the editor, there is a textbox you type it into and a dropdown menu or two.

Ballistics + Zeroing
!!!Nedlands1 for [R-CON]!!! (Done)
!!!Nedlands1 for [R-DEV]!!!
Jonny is offline Reply With Quote
Old 06-25-2008, 06:03 AM   #8
PR Operations Lead
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Re: [Help] statics dissapearing at certain distance in editor?

ye, i generally ignore PM's about modding / mapping questions unless they need to be kept private for w/e reason cos I get loads of PMs per day and mainly cos even if I do awanser the question it only helps one person where by a forum post it has the potential of helping lots of people, I have solved many of my modding problems from a simple forum search of the question on BFeditor or w/e without even having to post a topic or post.

if you look in the .tweak file of most statics you will find a line a bit like this:

Code:
rem *** Generated with Bf2Editor.exe [created: 2006/5/15 12:52]
GeometryTemplate.doNotGenerateLightmaps 0
GeometryTemplate.lightmapOverride 0
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
GeometryTemplate.glowing 0
GeometryTemplate.noLighting 0
ObjectTemplate.activeSafe SimpleObject afghan_back8m01
ObjectTemplate.creator EDMUND:Edmund_Fovargue
ObjectTemplate.modifiedByUser "Edmund Fovargue"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.cullRadiusScale 5
ObjectTemplate.geometry afghan_back8m01
ObjectTemplate.setCollisionMesh afghan_back8m01
ObjectTemplate.mapMaterial 0 Mud 1001
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
the line in bold will extend the cull radius of your object, setting it to 2 will make it draw for 2x the distance it did before adding it, setting it to 5 will be 5x the distance etc.

[R-DEV]Rhino is offline Reply With Quote
Old 06-25-2008, 07:29 AM   #9

arjan's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

Ok thanks guys.



Ingame name: Cpl Behr[13thMEU]
[WIP] Sector Arjan (map)
arjan is offline Reply With Quote
Old 06-25-2008, 08:48 AM   #10

zangoo's Avatar
Re: [Help] statics dissapearing at certain distance in editor?

Quote:
Originally Posted by [R-DEV]Rhino View Post
nooo... no lods forces the object into its highest lod for w/e distance its at, it still keeps the same cull distance which is where it draws.

to force a object to draw for a larger distance ingame you need to increase its cull radius.


wouldnt min cull distance fix the cull radius issue, from my tests in the editor, the forcenolod 1 and mincullradius 2000, everything is in its best lod and draws at any distance up to 2000m

Ballistics or Tracers? Please Vote
[DM] member, We are now recruiting!
Xfire:Zangoo
zangoo is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
dissapearing, distance, editor, statics
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:59 PM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.