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

Ingame Model Viewer 1.2b


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development        Approver:   ConnorMcLeod (74)
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 12-10-2010 , 18:59   Ingame Model Viewer 1.2b
Reply With Quote #1

--=Ingame Model Viewer 1.2b=--

Discripcion:
Viewer models in game

Credits:
Ruedas

Changelogs:
1.1:Loading data .ini
1.2:Viewer V model.
1.2b:Change menu.

Cvar:
amx_mv_entsolid 1|0

Cmd:
Code:
say /MVp              //Create entity,Model Player.
say /MVp2            //Create entity,Model Aiment.
say /MVpmenu      //Menu entities
 
say /MVvmenu     //Menu V Model
Register Model:
In the .ini
Code:
;Keys:
;PLAYER_MODEL
;V_MODEL
 
;Registered player models:
;Key  :   Location model
PLAYER_MODEL:models/player/urban/urban.mdl
PLAYER_MODEL:models/player/terror/terror.mdl
 
;Registered  V model:
;Key  :   Location model
V_MODEL:models/v_usp.mdl
V_MODEL:models/v_awp.mdl
Screenshot.

Sorry for my English,use translator.
Attached Files
File Type: zip model.zip (33.5 KB, 635 views)
File Type: zip Ingame_Model_Viewer.zip (5.1 KB, 570 views)
File Type: sma Get Plugin or Get Source (Ingame_Model_Viewer.sma - 1384 views - 17.1 KB)
__________________

Last edited by ConnorMcLeod; 10-08-2011 at 12:09.
Destro- is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-10-2010 , 19:06   Re: Ingame Model Viewer 1.2
Reply With Quote #2

You are not authorized to upload AMXX files. Please remove it from the package.
__________________
Arkshine is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 12-10-2010 , 19:21   Re: Ingame Model Viewer 1.2
Reply With Quote #3

Sorry I did not know.
__________________
Destro- is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 12-10-2010 , 19:33   Re: Ingame Model Viewer 1.2
Reply With Quote #4

more description please
change model? create entity? give weapon with new model? I'm an idiot who doesn't understand everything that makes this plugin ?
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-11-2010 , 06:45   Re: Ingame Model Viewer 1.2
Reply With Quote #5

In few menus callbacks you forgot to destroy the menu.

So, you have to put models on server, then change map, and then see models ??
Uh Uh what is your problem with jedi model viewer ? xD
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 12-11-2010 , 07:48   Re: Ingame Model Viewer 1.2
Reply With Quote #6

@Connor:JHLMV has some little probs with Win7 and Vista , I think ..You have to end process by Task Manager , or it will remain in your system with ~40% CPU load .
[But I think JHLMV is not his problem :p ]
5c0r-|3i0 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-11-2010 , 08:14   Re: Ingame Model Viewer 1.2
Reply With Quote #7

I think you should add:
- When you open menu, it checks file last change time, and if it changed, it reloads the models, and then displays the menu. With this method you won't need to restart map
- Ability to save spawned models, so it won't just be dummy models viewer, but a way to spawn models around the map.
__________________
xPaw is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 12-11-2010 , 09:33   Re: Ingame Model Viewer 1.2
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
In few menus callbacks you forgot to destroy the menu.

So, you have to put models on server, then change map, and then see models ??
Uh Uh what is your problem with jedi model viewer ? xD
,jaja,Change the old menu.

Quote:
Originally Posted by xPaw View Post
I think you should add:
- When you open menu, it checks file last change time, and if it changed, it reloads the models, and then displays the menu. With this method you won't need to restart map
ok
__________________
Destro- is offline
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 12-15-2010 , 05:30   Re: Ingame Model Viewer 1.2b
Reply With Quote #9

By look, it looks good.

But use english in your plugin please.

PHP Code:
set_fail_state("Error: mv_models.ini no encontrado.")
set_fail_state("Error: mv_models.ini no contiene nada"
PHP Code:
register_clcmd("say /MVp""check_create_ent")
register_clcmd("say /MVp2""check_create_ent2")
register_clcmd("say /MVpmenu""show_menu_mvp")

register_clcmd("say /MVvmenu""show_menu_mvv")
register_clcmd("say /MV""client_disconnect"
why not hook everything in just one function? ?

PHP Code:
register_clcmd("say""12345"
then check for the arguments.

Last edited by Excalibur.007; 12-15-2010 at 05:34.
Excalibur.007 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-16-2010 , 10:39   Re: Ingame Model Viewer 1.2b
Reply With Quote #10

Quote:
Originally Posted by Excalibur.007 View Post
why not hook everything in just one function? ?
Because it's stupid and inefficient
__________________
xPaw 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 05:35.


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