Raised This Month: $32 Target: $400
 8% 

List all props from a map?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-23-2018 , 00:00   List all props from a map?
Reply With Quote #1

My question is same as the title. Is there any way to list all the props available on a given map? I need a dynamic way to find this as map list is every growing.

Just a way to list all the models used on a map?
__________________

Last edited by Spirit_12; 07-14-2018 at 18:43.
Spirit_12 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-23-2018 , 00:07   Re: List all props from a map?
Reply With Quote #2

VIDE bsp mapping tool would probably be easiest. Other than that i think you can look through the model precache list, but that'll list almost everything the game uses not just props. Listmodels command will show loaded models client-side
Mitchell is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-23-2018 , 00:08   Re: List all props from a map?
Reply With Quote #3

use this command in the console "listmodels"
Wont give you all what you asked but close enough because this will list all precached models regardless if they are used or not
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-23-2018 , 00:13   Re: List all props from a map?
Reply With Quote #4

Hmm that should do the trick.

Thanks guys
__________________
Spirit_12 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-14-2018 , 18:44   Re: List all props from a map?
Reply With Quote #5

Apparently, the above method didn't work. I need a way to store all models into a menu. Any other recommendations ?
__________________
Spirit_12 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-15-2018 , 01:51   Re: List all props from a map?
Reply With Quote #6

use stripper dump.
Visual77 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-15-2018 , 04:07   Re: List all props from a map?
Reply With Quote #7

That lists all entities regardless of it has a model or not. I need to add this to the menu.
__________________
Spirit_12 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-15-2018 , 05:31   Re: List all props from a map?
Reply With Quote #8

Quote:
Originally Posted by Visual77 View Post
use stripper dump.
That would work fine for entities that aren't compiled into the maps, such as prop_physics or prop_dynamic. It won't work for prop_static or prop_detail as they become part of the map geometry in BSPs (i.e. they only exist in the VMF).
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-15-2018 at 05:33.
Powerlord is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-15-2018 , 19:43   Re: List all props from a map?
Reply With Quote #9

You could loop to max entities, check classname, pull model netprop.
__________________
Neuro Toxin is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-16-2018 , 01:31   Re: List all props from a map?
Reply With Quote #10

Quote:
Originally Posted by Neuro Toxin View Post
You could loop to max entities, check classname, pull model netprop.
Quote:
Originally Posted by Powerlord View Post
That would work fine for entities that aren't compiled into the maps, such as prop_physics or prop_dynamic. It won't work for prop_static or prop_detail as they become part of the map geometry in BSPs (i.e. they only exist in the VMF).
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 04:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode