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

Getting Model Bodygroup Names


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wicked95
Member
Join Date: Dec 2012
Old 03-05-2015 , 11:44   Getting Model Bodygroup Names
Reply With Quote #1

Can I get the bodygroup names of a model throu pawn?
I know I can see them from the .qc file and hardcode it in the plugin but if there's a way I can get them would be nice.

Last edited by wicked95; 03-05-2015 at 11:45.
wicked95 is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 03-05-2015 , 12:41   Re: Getting Model Bodygroup Names
Reply With Quote #2

What exactly are you trying to achieve?
__________________
Currently offline for study.
RateX is offline
wicked95
Member
Join Date: Dec 2012
Old 03-06-2015 , 02:29   Re: Getting Model Bodygroup Names
Reply With Quote #3

I'm trying to get these bodygroup names in an array for a menu.

Attached part of .qc file:
Attached Thumbnails
Click image for larger version

Name:	Без име.png
Views:	337
Size:	3.9 KB
ID:	142945  

Last edited by wicked95; 03-06-2015 at 02:31.
wicked95 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 03-06-2015 , 04:16   Re: Getting Model Bodygroup Names
Reply With Quote #4

I am not sure, but i think that is not possible.
__________________
Jhob94 is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 03-06-2015 , 06:52   Re: Getting Model Bodygroup Names
Reply With Quote #5

Quote:
Originally Posted by Jhob94 View Post
I am not sure, but i think that is not possible.
If you are not sure, then don't post?
It is possible to get bbox and cbox from model file, I have code for that, will post when I get home. I think you should be able to adjust to that.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-06-2015 , 07:17   Re: Getting Model Bodygroup Names
Reply With Quote #6

Yes you can, any file can be parsed.

Someone has a model example to attach?
__________________
Arkshine is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 03-06-2015 , 07:50   Re: Getting Model Bodygroup Names
Reply With Quote #7

Try the one from this thread
__________________
Currently offline for study.
RateX is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-06-2015 , 09:58   Re: Getting Model Bodygroup Names
Reply With Quote #8

You can play with that.

Output example

Code
__________________

Last edited by Arkshine; 03-06-2015 at 10:04.
Arkshine is offline
wicked95
Member
Join Date: Dec 2012
Old 03-06-2015 , 15:54   Re: Getting Model Bodygroup Names
Reply With Quote #9

Thank you. That was a big help.
You can lock the thread.
wicked95 is offline
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 17:43.


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