SA-MP Forums Archive
[Include] ALL model names (and bone names) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] ALL model names (and bone names) (/showthread.php?tid=182114)



ALL model names (and bone names) - Slice - 09.10.2010

sup,
I'm working on a "hold object studio" to help finding, placing, and rotating objects in SetPlayerHoldingObject. I wanted it to show the name of whichever model being viewed, so I made this! I will add search functionality in the future aswell.
This contains the names of 14831 model IDs and all the available bones.

Example usage:
pawn Код:
new
    szBoneName[ MAX_BONE_NAME ],
    szModelName[ MAX_MODEL_NAME ]
;

GetBoneName( 4, szBoneName );
GetBoneName( 1234, szModelName );
Download: model_info.inc (908 kb)


Re: ALL model names (and bone names) - edit - 09.10.2010

that's awesome! nice one slice


Re: ALL model names (and bone names) - [HiC]TheKiller - 09.10.2010

Lol... Wow. That's a nice long include.


Respuesta: ALL model names (and bone names) - MrDeath537 - 09.10.2010

Thanks you, I know some people will use it.


Re: ALL model names (and bone names) - CyNiC - 09.10.2010

Great, thanks for your dedication.


Re: ALL model names (and bone names) - samgreen - 09.10.2010

Quote:
Originally Posted by g_aSlice
Посмотреть сообщение
sup,
I'm working on a "hold object studio" to help finding, placing, and rotating objects in SetPlayerHoldingObject. I wanted it to show the name of whichever model being viewed, so I made this! I will add search functionality in the future aswell.
This contains the names of 14831 model IDs and all the available bones.

Example usage:
pawn Код:
new
    szBoneName[ MAX_BONE_NAME ],
    szModelName[ MAX_MODEL_NAME ]
;

GetBoneName( 4, szBoneName );
GetBoneName( 1234, szModelName );
Download: model_info.inc (908 kb)
Looks great, but your example usage is wrong. Pretty sure you meant GetModelName.


Re: ALL model names (and bone names) - [4k]Wang - 09.10.2010

Nice work slice <3.


Re: ALL model names (and bone names) - playbox12 - 10.10.2010

That is actually pretty, cool.


Re: ALL model names (and bone names) - LarzI - 18.10.2010

In what way did you get this code?
Did you really type in every single model name, or did you use some kind of generator to make the code?

Either way, this is awesome!


Re: ALL model names (and bone names) - Slice - 18.10.2010

Quote:
Originally Posted by LarzI
Посмотреть сообщение
In what way did you get this code?
Did you really type in every single model name, or did you use some kind of generator to make the code?

Either way, this is awesome!
I made a php script that went through all GTA .ide files and generated the switch statement.