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

Decals/Models Lister v0.2 [development]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   Brad (55)
VEN
Veteran Member
Join Date: Jan 2005
Old 05-27-2006 , 13:20   Decals/Models Lister v0.2 [development]
Reply With Quote #1

Code:
DESCRIPTION
  This plugin is for developers: outputs decals/models index/name list
  Note: should be compiled locally

MODS
  Currently supported mods:
    Counter-Strike (cs) - by default
    Half-Life (hl)
  To switch from one mod to another change #include decals/cs below
    Example: #include decals/hl
  Note: if you want support for other mod, provide me $moddir/decals.wad file

MODULES
  fakemeta

COMMANDS
  dml_decals [name] [index]
    dml_decals - outputs full decal index/name list
    dml_decals "{ammo" - outputs decal index of the given decal name
      Note: only part of name can be specified (case insensitive)
    dml_decals _ 137 - outputs decal name of the given decal index
    Note: mod-specific decals list required for that command
  dml_models [name] [index]
    dml_models - outputs full model index/name list
    dml_models "models/w_hegrenade.mdl" - outputs model index of the given model name
      Note: only part of name can be specified (case insensitive)
    dml_models _ 92 - outputs model name of the given model index
    Note: mod-specific decals/models list not required for that command
  Note: commands access level can be changed below (default: ADMIN_ALL)

CVARS
  dml_log_on <0|1>
    dml_log_on 1 - output will be directed to the server console and log file
    dml_log_on 0 - output will be directed to the server console only
    Notes:
      CVAR default value can be changed below (default: "0")
      log filenames can be changed below (default: "decals.log", "models.log")

VERSIONS
  0.2   expanded commands functionality
        "dml_models" command is safe now
        few other improvements
  0.1   first release
Attached Files
File Type: sma Get Plugin or Get Source (decalsmodelslister.sma - 2921 views - 5.9 KB)
File Type: zip decals_lists.zip (1.9 KB, 1031 views)
File Type: rar decals_images.rar (288.9 KB, 1288 views)

Last edited by VEN; 01-08-2007 at 07:50.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-28-2006 , 05:28  
Reply With Quote #2

Version 0.2 released.

Now "dml_models" command as functional/safe as "dml_decals".
Now only part of name can be specified (case insensitive).
VEN is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 06-11-2006 , 09:12  
Reply With Quote #3

This is very helpful for lots of different things... even things not related to AMX Mod X ... Great plugin idea and I'm sure it will be used quite frequently by me... GJ!
SubStream is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-11-2006 , 09:51  
Reply With Quote #4

I'm glad you like it, thanks! I created that plugin as a draft while working on my other plugin but then i realised that it could be useful to other developers as well so i improved and released it. :)
VEN is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 08-28-2006 , 09:44   Re: Decals/Models Lister v0.2 [development]
Reply With Quote #5

Is it possible to lookup the models ingame? (If they are visible/on a wall/floor/whatever)
__________________
Sig(h)!
Obbin is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-28-2006 , 10:26   Re: Decals/Models Lister v0.2 [development]
Reply With Quote #6

What's wrong with using PMTools?
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
VEN
Veteran Member
Join Date: Jan 2005
Old 08-28-2006 , 12:18   Re: Decals/Models Lister v0.2 [development]
Reply With Quote #7

Quote:
Is it possible to lookup the models ingame? (If they are visible/on a wall/floor/whatever)
Not sure what did you mean?
VEN is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-28-2006 , 12:55   Re: Decals/Models Lister v0.2 [development]
Reply With Quote #8

Scroll down to "PMTools":

http://racc.bots-united.com/english/downloads.html

Orangutanz has been working on something like this that gives you ALL the info of an ent as well, I've been using it for a while.

EDIT: I guess neither do the exact same thing, so nevermind.
__________________

Last edited by Hawk552; 08-28-2006 at 13:00.
Hawk552 is offline
Send a message via AIM to Hawk552
Reply



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 10:50.


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