Raised This Month: $ Target: $400
 0% 

ModelMoshMod v0.4b -- Updated for amxx 1.71


Post New Thread Reply   
 
Thread Tools Display Modes
ahh*pot
Member
Join Date: Nov 2005
Old 03-26-2008 , 01:44   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #221

I am requesting an update to support VIP team models on "as" maps. The VIP can hide on AS maps as other team members, you cant spot him.
__________________
ahh*pot is offline
Send a message via AIM to ahh*pot Send a message via Yahoo to ahh*pot
Karen
New Member
Join Date: Mar 2008
Location: NY
Old 03-27-2008 , 15:37   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #222

Hoping someone might be able to help. Im completely new to running a cs server. I've attempted to install this plugin and it appears to be done right, but them models arent loading/showing in server at all.

Here is my amx_mmm.ini file:

Quote:
;format as follows:
;STEAMID
;TERRORIST NAME
;COUNTER TERRORIST NAME
;
;Karen
"STEAM_0:1:7928250" "admin_te" "admin_ct"
;
;Karen
"STEAM_0:0:11986972" "admin_te" "admin_ct"
Here is the modules & plugins running in my game server:

Quote:
] "amx_showrcon amxx modules"
Currently loaded modules:
name version author status
[ 1] Fun 1.76 AMX Mod X Dev Team running
[ 2] Engine 1.76 AMX Mod X Dev Team running
[ 3] FakeMeta 1.76d AMX Mod X Dev Team running
[ 4] GeoIP 1.76 AMX Mod X Dev Team running
[ 5] nVault 1.76c AMX Mod X Dev Team running
[ 6] CStrike 1.76 AMX Mod X Dev Team running
[ 7] CSX 1.76c AMX Mod X Dev Team running
[ 8] Sockets 1.76 HLSW Dev Team running
[ 9] RegEx 1.76 AMX Mod X Dev Team running
9 modules 9 correct
================================

] "amx_showrcon amxx plugins"
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.76d AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.76d AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.76d AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.76d AMXX Dev Team plmenu.amxx running
[ 9] Teleport Menu 1.76d AMXX Dev Team telemenu.amxx running
[ 10] Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
[ 11] Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.76d AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.76d AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.76d AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.76d AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.76d AMXX Dev Team statscfg.amxx running
[ 21] Restrict Weapons 1.76d AMXX Dev Team restmenu.amxx running
[ 22] StatsX 1.76d AMXX Dev Team statsx.amxx running
[ 23] CS Misc. Stats 1.76d AMXX Dev Team miscstats.amxx running
[ 24] CS Stats Logging 1.76d AMXX Dev Team stats_logging.a running
[ 25] Battlefield2 Rank Mod 1.4 pRED* bf2rank.amxx running
[ 26] Amx_Super All-In-One-C 2.0 bmann_420/AMX(x) amx_super.amxx running
[ 27] Ultimate Sound 1.5 Dizzy ultimate_sounds running
[ 28] ModelMoshMod 0.4b Ronkkrop amx_mmm.amxx running
28 plugins, 28 running
The models are saved in my game server

[CounterStrike]
[models]
[player]
[admin_te]
+admin_te.mdl

[CounterStrike]
[models]
[player]
[admin_ct]
+admin_ct.mdl

========================

I noticed in the server FTP, mdl files, the ones i added have diff "Attribute" codes. It shows -rw-r--r-- and the original mdls show -rw-rw-rwx


Any help would be greatly appreciated. Thanks.

Last edited by Karen; 03-27-2008 at 16:26.
Karen is offline
JandroHGT
Junior Member
Join Date: Jul 2008
Location: Gijon, Asturias, Spain
Old 07-05-2008 , 22:09   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #223

I have some problems with this plugin. I put it all correctly, i restarted the server, and when i joined it, nothing happened. No models download..nothing :S

Ill post here my server info and plugins:

Plugins installed:

Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.0.3660 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.0.3660 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.0.3660 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.0.3660 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.0.3660 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.0.3660 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.0.3660 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.0.3660 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.0.3660 AMXX Dev Team mapsmenu.amxx running
[ 10] Admin Chat 1.8.0.3660 AMXX Dev Team adminchat.amxx running
[ 11] Anti Flood 1.8.0.3660 AMXX Dev Team antiflood.amxx running
[ 12] Scrolling Message 1.8.0.3660 AMXX Dev Team scrollmsg.amxx running
[ 13] Info. Messages 1.8.0.3660 AMXX Dev Team imessage.amxx running
[ 14] Admin Votes 1.8.0.3660 AMXX Dev Team adminvote.amxx running
[ 15] NextMap 1.8.0.3660 AMXX Dev Team nextmap.amxx running
[ 16] Nextmap Chooser 1.8.0.3660 AMXX Dev Team mapchooser.amxx running
[ 17] TimeLeft 1.8.0.3660 AMXX Dev Team timeleft.amxx running
[ 18] Pause Plugins 1.8.0.3660 AMXX Dev Team pausecfg.amxx running
[ 19] Stats Configuration 1.8.0.3660 AMXX Dev Team statscfg.amxx running
[ 20] Restrict Weapons 1.8.0.3660 AMXX Dev Team restmenu.amxx running
[ 21] StatsX 1.8.0.3660 AMXX Dev Team statsx.amxx running
[ 22] Bad Camper 1.4 beta Brad Jones bad_camper.amxx running
[ 23] ATAC 2.5.5.5 T(+)rget/f117bom atac.2.5.5.5.am running
[ 24] Ultimate KillStreak Ad 0.7 SAMURAI ut_killstreak_a running
[ 25] azure demon 2.0 Amxx User loadingsound.am running
[ 26] ModelMoshMod 0.2b Ronkkrop amx_mmm.amxx running
26 plugins, 26 running





My amx_mmm.sma

Code:
 
#include <amxmodx>
#include <cstrike>
#define MAX_MODELS 64
new nbrmodels
new sSteamID[200][32]
new sTModel[200][32]
new sCTModel[200][32]
//change users model, if a match is found in the steam id array, make change to model, based on team.
public new_round(id)
{
    if( get_cvar_num("amx_CustomModels") ){
            new sSteamIDTemp[32]
        get_user_authid(id,sSteamIDTemp,32)
        for (new i=0; i<200; i++){
            //if if id matches steamid at index i in the array.
            if ( equal(sSteamIDTemp,sSteamID[i]) ) {
            //if T
                if ( cs_get_user_team(id) == 1 ) {
                    cs_set_user_model(id, sTModel[i])
            }
            //if CT and not vip
            if ( (cs_get_user_team(id) == 2) && (!cs_get_user_vip(id)) ){
                cs_set_user_model(id, sCTModel[i])
            }
                } 
        }
    }
    
}

//this forces users to precache the models so they HAVE to see the models people have.
//later versions will include an element in the ini file which will let you choose if it does or not.
public plugin_precache()
{
    new filename[64]
    new sModelLoc[80]
    new sModelLoc2[80]
    get_localinfo( "amxx_configsdir", filename , 31 )
    format( filename, 63 , "%s/amx_mmm.ini" , filename )
    if (file_exists(filename))
    {   
        new szText[256]
        new a, pos = 0
      
        while ( nbrmodels < MAX_MODELS && read_file(filename,pos++,szText,255,a) ) 
        {         
            if ( szText[0] == ';' ) continue
            if (parse(szText, sSteamID[nbrmodels], 31, sTModel[nbrmodels], 31, sCTModel[nbrmodels], 127) < 3 ) continue
            
            sModelLoc = ""
            add(sModelLoc,80,"models/player/",0)
            add(sModelLoc,80,sTModel[nbrmodels],0)
            add(sModelLoc,80,"/",0)
            add(sModelLoc,80,sTModel[nbrmodels],0)
            add(sModelLoc,80,".mdl",0)
            precache_model( sModelLoc )
            sModelLoc2 = ""
            add(sModelLoc2,80,"models/player/",0)
            add(sModelLoc2,80,sCTModel[nbrmodels],0)
            add(sModelLoc2,80,"/",0)
            add(sModelLoc2,80,sCTModel[nbrmodels],0)
            add(sModelLoc2,80,".mdl",0)
            precache_model( sModelLoc2 )
            ++nbrmodels
        }
    }else{ 
        server_cmd("echo [AMXX] 404 Error!!! amx_mmm.ini not found!!!") 
        log_amx("[AMXX] 404 Error!!! amx_mmm.ini not found!!!")
        }
}
 
 
public plugin_init()
{
    register_plugin("ModelMoshMod","0.2b","Ronkkrop")
    register_event("ResetHUD", "new_round", "b")
    //does nothing yet.  Later it will allow you to turn on and off model switching on the fly
    //for now, pause the plugin.
    register_cvar("amx_CustomModels","1")
    return PLUGIN_CONTINUE
}

and my amx_mmm.ini

Quote:
;Jandro
STEAM_0:1629283
DNJandroT
DNJandroCT
;Jandro_end

The models are in:

cstrike/models/player/DNJandroT/DNJandroT.mdl
cstrike/models/player/DNJandroCT/DNJandroCT.mdl




what i am doing wrong? :/
JandroHGT is offline
Send a message via MSN to JandroHGT
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 07-06-2008 , 01:31   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #224

Example:

;iceman 2
"STEAM_0:0:8920179" "aoc_t1" "aoc_ct"

Files are in models/player/aoc_t1/aoc_t1.mdl and same for the ct
__________________
bmann_420 is offline
zozor
Junior Member
Join Date: Aug 2008
Location: Sweden
Old 08-03-2008 , 12:02   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #225

Hey i use this on my server and i got 2 players me and my friend as 1 models . I dont know but i use like this ;comments allowed here
"1" "DefaultT" "DefaultCT"
"STEAM_0:1:17608267" "Terminator" "Terminator"
Then it says Couldnt find DefaulT in the addons/models/players . mdl. Can some 1 help me ?
zozor is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 08-03-2008 , 18:55   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #226

Take out the defaults
__________________
bmann_420 is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 08-30-2008 , 23:33   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #227

Is this to be used only for STEAM_IDs ?
What about lan servers where admins use nick and passwors ?
iggy_bus is offline
niFe
Senior Member
Join Date: Apr 2008
Location: Planet Green
Old 04-09-2009 , 18:41   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #228

great plugin.. nice
__________________
niFe is offline
anime4ever
Junior Member
Join Date: May 2010
Old 05-02-2010 , 15:58   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #229

it wont work for me
but i have done everthing that was said in the tutorial
anime4ever is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-06-2010 , 15:37   Re: ModelMoshMod v0.4b -- Updated for amxx 1.71
Reply With Quote #230

Then something is not right, usually its the dir structure of the models. Care to share them?
__________________
bmann_420 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 10:57.


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