Results 1 to 6 of 6

Thread: script_brushmodel limit

  1. #1
    ... connecting
    Join Date
    Jul 2013
    Posts
    6
    Thanks
    0
    Thanked 6 Times in 2 Posts

    script_brushmodel limit

    Hey all,

    I'm currently making a map for Call of duty 2, patch 1.2
    Map will be dynamic with walls that go up and down. The problem is I haven't tought about the cod2 crap engine limits.
    Anyone who knows what is the limit for 1 map for script_brushmodels? I think I will have approx 70-100 walls...
    Or is their any other way to fix this issue?

    Thanks in advance,
    Fristi

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Fristi View Post
    Hey all,

    I'm currently making a map for Call of duty 2, patch 1.2
    Map will be dynamic with walls that go up and down. The problem is I haven't tought about the cod2 crap engine limits.
    Anyone who knows what is the limit for 1 map for script_brushmodels? I think I will have approx 70-100 walls...
    Or is their any other way to fix this issue?

    Thanks in advance,
    Fristi
    With portals you can add more brush models in your map. (it will also improve fps)

    The limit is:

    Quote Originally Posted by kung foo man View Post
    script_brushmodel 256 or so (soft limit should be around 200, since at some point nades are invisible etc.)
    Last edited by Mitch; 10th April 2014 at 19:09.

  3. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Probably your gamestate will get too large

    Max 256 visible entities afaik, with 1024 max entities total, you can use showtoplayer() to improve the performance a bit and increase the max number of walls slightly
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. #4
    Private MeGaBooM's Avatar
    Join Date
    Sep 2013
    Location
    germany
    Posts
    42
    Thanks
    22
    Thanked 20 Times in 9 Posts
    Quote Originally Posted by Mitch View Post
    With portals you can add more brush models in your map. (it will also improve fps)

    The limit is:
    Never used portals, what can you do with it and how to use it?

  5. #5
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    Never used portals, what can you do with it and how to use it?
    ->Portals<-

    They divide the map into cells, so you will improve your FPS, as Izno and Mitch said

    Portalling process (I haven't read it, just found it on the inet xD)
    Last edited by pollo; 11th April 2014 at 13:14.

  6. #6
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    cod2/docs/portals/portals.htm
    and there are also plenty of tutorials (youtube & co) on how to portal your map out properly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •