.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > SDK Programming discussions > Half-Life 1 SDK
Half-Life 1 SDK For developments focused around Half-Life (and its mods) Half-Life

Reply
 
Thread Tools
Changing player size?
Old
  (#1)
Jengerer
Member
 
Status: Offline
Posts: 1
Join Date: Apr 2012
Default Changing player size? - 13-04-2012

Hey,

A bit of a shot in the dark, since HLSDK is rather dead, but I've been trying to figure out how to change the player's size and having no luck.

I found the UTIL_SetSize function being called in the CBasePlayer::Spawn() function and tried to modify the parameters, but no changes were made. I tried changing the HULL_MIN/MAX in util.h, and nothing. I even tried doing a search for all hull-related values of -36 and 36 (the values used in the min/max definitions for human entities) and replacing them with 0, but still this did nothing.

Did GoldSrc hard-code the player size in the engine? Is it possible to change the player size in a minimally hacky way?

Cheers,
Jengerer

P.S, I'm using SDK 2.3 if that makes any difference at all.
  
Reply With Quote
Re: Changing player size?
Old
  (#2)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Default Re: Changing player size? - 13-04-2012

Try to find it in AMXX forums....
  
Reply With Quote
Re: Changing player size?
Old
  (#3)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 277
Join Date: Apr 2011
Location: Australia
Default Re: Changing player size? - 27-05-2012

It should be possible: Natural Selection did it.
Are you trying to use a larger model as well?
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com