AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=43)
-   -   Changing model (https://forums.alliedmods.net/showthread.php?t=34465)

-: Xdc :- SqUiD! 09-01-2005 02:57

Changing model
 
k i wanted to change the model of master cheif from the default green to THIS
i downloaded it then put it into /models/player/masterchief/ then renamed it to masterchief.mdl
i changed my servers map then chekced to see if it worked and it stayed the same
so i went into the .sma and changed the model to /models/player/masterchief/master_chief.mdl and renamed the model to master_chief.mdl too see if it would make me download a new file but it never did and is still at default model green
if theres a quick link or somthing u can give me it would help or just plain tell me what im doing thats wrong

vittu 09-01-2005 04:31

/models/player/masterchief/master_chief.mdl

bold must match...

-: Xdc :- SqUiD! 09-01-2005 04:48

:D lol i knew it was somthing stupid like that thanks vittu ill give it a try :wink:

-: Xdc :- SqUiD! 09-01-2005 17:39

:wink: k after doing this i get these errors in my HLSW console
[AMX] Error raised (module "AMX") (function "register_event")
[AMX] Function not found (name "Entvars_Set_String") (plugin "sh_masterchief.amx")

vittu 09-01-2005 17:42

make sure vexd is enabled

-: Xdc :- SqUiD! 09-01-2005 17:47

:cry: in the .sma it has:
#include <amxmod>
#include <vexd_utilities>
#include <superheromod>

// GLOBAL VARIABLES
new gHeroName[]="Master Chief"

so im pretty sure in enabled :-(

vittu 09-01-2005 17:51

That means it wants to use vexd, that doesn't mean it's enabled you need to enable it (stupid amx). Type meta list in server console or hlsw and show us what it says.

btw it should be #include <Vexd_Utilities>, v and u capitalized... will fix that in master chief didn't even notice that.

-: Xdc :- SqUiD! 09-01-2005 17:54

k i changed it to caps on the .sma and recompiled and did meta lsit in hlsw and its enabled
[ 4] VexdUM RUN - vexdum_mm.dll v0.9.9 ini ANY ANY

i reset map and i still get the same errors :-S

vittu 09-01-2005 18:03

How much of the code did you change, cause it doesn't make sense that amx is having a problem with register_event.

-: Xdc :- SqUiD! 09-01-2005 18:06

1 Attachment(s)
heres the .sma take a look for yourself


All times are GMT -4. The time now is 07:51.

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