How to Make Cyclers Solid with Blocks

A Forum Thread for Counter-Strike 1.6

Yeah, How to make the Models to be Solid just like Source Engine Models (Without placing Invisible Blocks in the Model), Any Ways?
Sign up to access this!

Replies

  • Captiva avatar
    Captiva username pic Joined 2y ago
    CS:S Manager CS1.6 Manager Moderator
    Do a Job
    Life Tree Flag Affiliation: Life Tree
    21,897 points Ranked 212th
    46 medals 5 legendary 9 rare
    • 30 submissions featured Medal icon
    • Submitted 100 Skins Medal icon
    • 2017 Top Contributor Medal icon
    • Reached 100 subscribers Medal icon
    • Returned 5000 times Medal icon
    • 10 submissions featured Medal icon
    Captiva avatar
    Captiva
    Life Tree Flag
    Affiliation
    Life Tree
    1mo
    As far as I know, it's depend on the size of the hitbox.
    急いでいる風のように avatar
    Mantra
    急いでいる風のように
    URL to post:
  • Sneaky.amxx avatar
    Sneaky.amxx username pic Joined 8y ago
    Moderator
    Offline
    2,575 points Ranked 2040th
    23 medals 5 rare
    • Submitted 20 Gamefiles Medal icon
    • Received thanks 50 times Medal icon
    • Submitted 50 Maps Medal icon
    • Submitted 20 Maps Medal icon
    • 6 years a member Medal icon
    • Became a Studio Leader Medal icon
    Sneaky.amxx avatar
    Sneaky.amxx
    GlobalModders Development Flag
    Affiliation
    GlobalModders Development
    GoldSource Engine Expert
    1mo
    What kind of model are you trying to make solid? And by solid do you mean the hitboxes are incorrect? Assuming its a player model larger than normal, you need to set model index.

    const OFFSET_MODELINDEX = 491;

    const OFFSET_LINUX = 5 // offsets 5 higher in Linux builds

    const OFFSET_LINUX_WEAPONS = 4 // weapon offsets are only 4 steps higher on Linux

    new const DEFAULT_MODELINDEX_T[] = "models/player/terror/terror.mdl"

    new const DEFAULT_MODELINDEX_CT[] = "models/player/urban/urban.mdl"

    new g_ModelIndex;

    public plugin_precache() 
    {
    g_ModelIndex = precache_model("models/player/your_model/your_model.mdl")
    }

    public fm_set_user_model(player)
    {
    player -= 100

    engfunc(EngFunc_SetClientKeyValue, player, engfunc(EngFunc_GetInfoKeyBuffer, player), "model", g_player_model[player])

    g_has_custom_model[player] = true

    if(equali(g_player_model[player], BOSS_MODEL)) {

    client_print(0, print_chat, "Your Model Index (%i) has been set!", g_ModelIndex);

    fm_cs_set_user_model_index(player, g_ModelIndex);
    }
    }
    stock fm_cs_set_user_model_index(id, modelIndex)
    {
    if (pev_valid(id) != 2)
    return;

    set_pdata_int(id, OFFSET_MODELINDEX, modelIndex)
    }
    stock fm_cs_reset_user_model_index(id)
    {
    if (pev_valid(id) != 2)
    return;

    switch(fm_cs_get_user_team(id))
    {
    case CS_TEAM_T:
    {
    set_pdata_int(id, OFFSET_MODELINDEX, engfunc(EngFunc_ModelIndex, DEFAULT_MODELINDEX_T))
    }
    case CS_TEAM_CT:
    {
    set_pdata_int(id, OFFSET_MODELINDEX, engfunc(EngFunc_ModelIndex, DEFAULT_MODELINDEX_CT))
    }
    }
    }


    If you mean a regular model like a prop, you can't make a model solid, you can make a solid entity by setting pev_solid and then tie a model to that entity.

    • Helpful x 1
    • Informative x 1
    Powerful AMXMODX coder avatar
    Mantra
    Powerful AMXMODX coder
    URL to post:
  • DVDS avatar
    DVDS Joined 5mo ago
    Offline
    848 points Ranked 6266th
    1mo
    Hi, i have been mapping the game for years, and i have also tried many times to do the same... and i think, really, that you cant make a props have an attribute like "solid" without you creating a block inside it... 
    Mapper avatar
    Mantra
    Mapper
    URL to post:
  • Tenryuu avatar
    Tenryuu Joined 9y ago
    CS1.6 Manager
    13,412 points Ranked 361st
    45 medals 5 legendary 9 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • Returned 5000 times Medal icon
    • 2017 Top Contributor Medal icon
    • Submitted 50 WiPs Medal icon
    1mo
    uonly with blocks (for vanilla w/o amxx mods)
    cyrcle_sprite entity + blocks (black/blue texture with additive flag)
    [hentaisquad.]
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Author

Wirmaple7321 avatar
Wirmaple7321 Joined 10mo ago
Offline

Wirmaple7321
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 184 Views
  • 7 Posts
  • 1moSubmitted

More from Submitter

WiPs by Submitter

More Mapping Threads

bcp.crwdcntrl.net tracking pixel