Jump to content

Model/Bot Scaling


Go to solution Solved by Circa,

Recommended Posts

Posted

Hmm... does OpenJK support model scaling (i.e like modelscale.cfg in JA+) in a base game?

 

I know you can scale an NPC, but is there any way to scale a bot/player model in base JKA?

Posted

Not know for bot, for player SP, if you use "playermodel Ahsoka "and the ahsoka.npc is scaled with "scale 90" or any other value (100 is default) , also player is scaled.

that's is using consolle command with chetting.

but i suppose this can be setted also by editing the menu when you load the character and the first map about character compilation.

in this case, if is a playermodel setting on UI files, should memorize the setting for all games, include saves. the problem is set the ingamecharacterselect menu for setting this "playermodel \ scaling" change only if you select ahsoka as playable race.

Cerez likes this
Posted

Thanks. I didn't know that "playermodel" loaded the NPC in SP. That's quite interesting.

 

What about bots, guys? Is there any way to scale bots in base JKA MP?

  • Solution
Posted

Are you asking for OpenJK or baseJKA?

 

baseJKA - no

 

And I'm assuming the same goes for OpenJK as well, though I'm not one to ask.

Cerez likes this
Posted

Thanks. I didn't know that "playermodel" loaded the NPC in SP. That's quite interesting.

 

What about bots, guys? Is there any way to scale bots in base JKA MP?

the comand to set into UI menu is:

playermodel "namenpc"

if you put playermodel ahsoka, you load ahsoka.npc, playermodel alora, alora.npc, etc. XD

but about scale attribution... i fear the unique mode is an intro script of the level when you set

affect player

SET_SCALE, value.

with icarus. :(

 

example by my mod:

 

 

 

Ariel2.npc

{

    playerModel    Ariel <-

    scale        110 <-----

    customSkin    pure

    weapon    WP_SABER

    saber    claw7

    saber2    claw7

    FP_HEAL    3

    FP_LEVITATION    3

    FP_SPEED    0

    FP_PUSH    0

    FP_PULL        0

    FP_TELEPATHY    0

    FP_GRIP        0

    FP_LIGHTNING    0

    FP_RAGE    0

    FP_PROTECT    3

    FP_ABSORB    3

    FP_DRAIN    0

    FP_SEE        3

    FP_SABERTHROW        0

    FP_SABER_DEFENSE         0

    FP_SABER_OFFENSE         0

    forceRegenRate        150

    forcePowerMax        200

    forceRegenAmount        5

    rank        captain

    reactions        1

    aim        5

    move        3

    aggression    2

    evasion        3

    intelligence    5

    playerTeam    TEAM_PLAYER

    enemyTeam    TEAM_ENEMY

    class        CLASS_JAWA

    yawSpeed    100

    walkSpeed    55

    runSpeed        120

    snd        Ariel2

    sndcombat    Ariel2

    sndjedi        Ariel2

    sndextra        Ariel2

    health        10000

    dismemberProbHead    0

    dismemberProbArms    0

    dismemberProbLegs    0

    dismemberProbHands    0

    dismemberProbWaist    0

    moveType        "flyswim"

}

 

On ingame menu, about the next button about the start of new game...

itemDef

        {

            name                nextscreen_button1

            type                ITEM_TYPE_BUTTON

            rect                530 460 172 24

            text                @MENUS_NEXT

            desctext            "Inizia la partita."

            font                2

            forecolor            1 0.688 0.281 1

            textscale            .7

            textalign            ITEM_ALIGN_LEFT

            textalignx            8

            textaligny            -1

            visible                0

 

            mouseEnter

            {

            }

            mouseExit

            {

            }

            action

            {

                play            "sound/weapons/Air_Reaver/airreaver2.mp3"

                

                setcvar                 "ui_char_model" Ariel2

                                uiScript                "characterchanged"

                uiScript        "resetcharacterlistboxes"

                uiScript          "giveweapon"    "1"

 

                setcvar         g_char_model "ariel2"

                setcvar         g_char_skin_head "head_a1"

                setcvar         g_char_skin_torso "torso_a1"

                setcvar         g_char_skin_legs "lower_a1"

                setcvar         g_char_color_red "255"

                setcvar         g_char_color_green "255"

                setcvar         g_char_color_blue "255"                

                setcvar            sex "f"

                setcvar            g_saber "claw7"

                setcvar            g_saber2 "claw7"

                snd                   "Ariel"

                uiScript         "updatecharcvars"

                close            all

                exec             "map yavin1"

                exec                  "helpusobi 1"

                              exec                  "wait 30"

                              exec                 "playermodel Ariel2"

            }

        }

 

 

 

Cerez likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...