Jump to content
The Dark Mod Forums

problem changing players head


BlackMagic

Recommended Posts

I figured out that I could change player head - to add a cowboy hat instead of thief cowl - but it bobs down into vision when moving. Also it covers view when looking up.
I created the head by creating a def file for the hat and the "new" player head.

entityDef prop_cowboy_hat_whi
{
    "inherit"             "func_static"
    "editor_usage"            "A cowboys's hat"
    "editor_displayFolder"      "props/wearables/hats"
    "mass"                "0.6"
    "model"                "models/darkmod/wearables/headgear/hat_cowboy.ase"
    "skin"                "wearables/hats/hat_white_plain"
    "remove"             "0"
    "solid"                "0"
    "arrowsticking_disabled"    "1" // grayman #837
}

entityDef atdm:ai_head_thief_player
{
    "inherit"    "atdm:ai_head_base"
    "model"        "head_08"            // bare head
    "skin"           "heads/clean_heads"
    "def_attach1"   "prop_cowboy_hat_whi"        // attaches to side without attach pos
    "pos_attach1"    "velvetcap_1"
    "attach_pos_origin_velvetcap_1"            "2 7 0"    // y z x ?
    "attach_pos_angles_velvetcap_1"            "90 0 -98"

Is there anything I can do to fix this or am I just screwed?

 

Lookup.jpg

Darkwood.jpg

Link to comment
Share on other sites

SORRY for the multiple messages. EVERY time I clicked on submit, it said portal time out, and it seemed like it had no been submitted - so I kept trying. Finaly gave up, and NOW i can see it TOO many times.

GEEEZ pita!

Link to comment
Share on other sites

Try adding:

"pm_runbob" "0"
"pm_runpitch" "0"
"pm_runroll" "0"
"pm_walkbob" "0"
"pm_bobpitch" "0"
"pm_bobroll" "0"
"pm_bobup" "0"
"pm_crouchbob" "0" 

to your custom player def

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

nbohr1more; Thanks for responding. I would have reported back quicker, but dealing with health issues. SO, I tried adding that info to my head def and then to the hat def, and then both. Didn't help. Do I need to make an ACTUAL player def?

when I have a bit more energy I will try to find out how to do that - IF I need to. So many layers to this stuff.

Link to comment
Share on other sites

I have a bit of energy this morning, so I copied the tdm_player_thief.def into my fm\def folder and made the changes.

Didn't help. Even did a dmap just to be sure, but the darn hat still blocks the view. WHAT am I doing wrong?

Think maybe this stuff is just beyond my aging brain... :{

Link to comment
Share on other sites

Sorry that didn't work. Not sure why.

I guess the best approach would be to replace the mirror with an x-ray render and set the "hat entity" with suppressInSubView 2 :

https://wiki.thedarkmod.com/index.php?title=Xrays

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...