AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Retard Kate. [Female Hero] help? (https://forums.alliedmods.net/showthread.php?t=231990)

SkumTomteN 12-23-2013 15:00

Retard Kate. [Female Hero] help?
 
Alright. The female hero kate. when using secondary weapons. like dual infinity.

she bends over like a retard.

could anybody remove the animation thats causing this?. i would do it myself. but I dont really know what anim to remove.

i got a screen of the same "situation", but its criss and not kate.

Retard Screen. :
http://i.imgur.com/TBuptG0.jpg


DOWNLOAD:
http://dropcanvas.com/kl0gc/1
couldnt attach it.

yokomo 12-23-2013 16:00

Re: Retard Kate. [Female Hero] help?
 
1 Attachment(s)
This only happen when you set modelindex on player model, the solution is easy, you need to set player_w.mdl as modelindex for female characters. That player_w.mdl i found from cso folder too.

SkumTomteN 12-24-2013 11:52

Re: Retard Kate. [Female Hero] help?
 
Quote:

Originally Posted by yokomo (Post 2075586)
This only happen when you set modelindex on player model, the solution is easy, you need to set player_w.mdl as modelindex for female characters. That player_w.mdl i found from cso folder too.


I have a plugin. that sets modelindex.

Dont understand what you mean.

Code:

new const DBUG_PLAYER_MODEL[][] = {
       
              "spetsnaz",
              "gign",
              "ADMIN",
              "fast_jumper",
              "classic",
              "zombie_siners",
              "china",
              "gsg9",
              "davidblack",
              "gerrard",
              "zombie-rus_s0h2",
              "pirateboy",
              "hero",
              "chngirl01"
}

that is what i have written. in the plugin.

yokomo 12-24-2013 12:29

Re: Retard Kate. [Female Hero] help?
 
Quote:

Originally Posted by SkumTomteN (Post 2075872)
I have a plugin. that sets modelindex.

Dont understand what you mean.

Code:

new const DBUG_PLAYER_MODEL[][] = {
       
              "spetsnaz",
              "gign",
              "ADMIN",
              "fast_jumper",
              "classic",
              "zombie_siners",
              "china",
              "gsg9",
              "davidblack",
              "gerrard",
              "zombie-rus_s0h2",
              "pirateboy",
              "hero",
              "chngirl01"
}

that is what i have written. in the plugin.

Don't understand? arrr sad, here is an example how to fix that issue:
PHP Code:

#include <amxmodx>
#include <fakemeta>

new ModelIndexFemale

public plugin_precache()
{
    
ModelIndexFemale engfunc(EngFunc_PrecacheModel"models/player_w.mdl"//cso female hitbox, use this hitbox for cso female models only.
    
engfunc(EngFunc_PrecacheModel"models/player/criss/criss.mdl"//use criss for example, but as far as i know all cso female models are bugged.
}

public 
plugin_init()
{
    
register_plugin("CSO Female HitBoxFix""0.0.1""wbyokomo")
}

//foward playerspawn, for example we hook spawn forward to set player model
public OnSpawn(id)
{
    
//set cso female playermodel
    
set_user_info(id"model""criss"//for example criss
    
    //set a correct female hitbox to prevent holding dual elites bug
    
fm_cs_set_user_model_index(idModelIndexFemale)
}

//func cs set player model index
fm_cs_set_user_model_index(idvalue)
{
    if(
pev_valid(id) == 2set_pdata_int(id491value5);



SkumTomteN 12-26-2013 20:44

Re: Retard Kate. [Female Hero] help?
 
Quote:

Originally Posted by yokomo (Post 2075899)
Don't understand? arrr sad, here is an example how to fix that issue:
PHP Code:

#include <amxmodx>
#include <fakemeta>

new ModelIndexFemale

public plugin_precache()
{
    
ModelIndexFemale engfunc(EngFunc_PrecacheModel"models/player_w.mdl"//cso female hitbox, use this hitbox for cso female models only.
    
engfunc(EngFunc_PrecacheModel"models/player/criss/criss.mdl"//use criss for example, but as far as i know all cso female models are bugged.
}

public 
plugin_init()
{
    
register_plugin("CSO Female HitBoxFix""0.0.1""wbyokomo")
}

//foward playerspawn, for example we hook spawn forward to set player model
public OnSpawn(id)
{
    
//set cso female playermodel
    
set_user_info(id"model""criss"//for example criss
    
    //set a correct female hitbox to prevent holding dual elites bug
    
fm_cs_set_user_model_index(idModelIndexFemale)
}

//func cs set player model index
fm_cs_set_user_model_index(idvalue)
{
    if(
pev_valid(id) == 2set_pdata_int(id491value5);



Havent tried it yet, need to wait until 2nd dev is online.

But thanks, good to have people like you on these forums.

Makes everything better.

+1


All times are GMT -4. The time now is 20:31.

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