Remove collision mesh from a static object.. serverside

Ask questions, discuss ideas, get answers
Post Reply
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Remove collision mesh from a static object.. serverside

Post by fo0k »

Im great at CSM.. and fail at SSM.. I want to remove the collmesh from all the big laggy EU Pines, Asps etc on a map..
I could do this with a custom object patch but I guess there is a much easier way to do it..

How? Thx
User avatar
Apache Thunder
Posts: 1213
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Remove collision mesh from a static object.. serverside

Post by Apache Thunder »

Errr...what about this?

Code: Select all

ObjectTemplate.active (name of object)
ObjectTemplate.hasCollisionPhysics 0
There will still be client side buggyness when they pass through a tree the client expects to be solid no matter how you do this. :P
ImageImageImage
I have cameras in your head!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

as a ssm mod i remmed out all trees years ago from our server (static objects.con), was thinking it might save some resourses.
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re:

Post by fo0k »

freddy wrote:as a ssm mod i remmed out all trees years ago from our server (static objects.con), was thinking it might save some resourses.
heh! Awesome.

Yeah they are only needed for visual in this instance and just cause lag..
I'll try this and if not will go with your approach, thunder.
User avatar
Apache Thunder
Posts: 1213
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Remove collision mesh from a static object.. serverside

Post by Apache Thunder »

Ahh yes, removing the statics from the map had the same effect as removing the collision physics when done server side.
ImageImageImage
I have cameras in your head!
Post Reply