News:

Come Chat with us live! Learn how HERE!

Main Menu

Small Objects

Started by -[=AHs=]- DarkEnix, October 20, 2007, 12:54:17 AM

-[=AHs=]- DarkEnix

hmm , i've been wondering if how to make object small , not just the model , i mean.. THe WoHLe ThInG is like , if u juz change the model size , the player or whaterver's actual size will still be there , means ur touching air or something , all i want to know is to change the whole size thing of buildables n players

Taiyo.uk

Entity sizes are in scripts/entites.def. You need to edit this to change them. Do this as a mod to avoid borking your default trem install.

-[=AHs=]- DarkEnix

okok..thx <goes to make small stuff wating to see if it got right!!>

-[=AHs=]- DarkEnix

erm..u see..i cant find any entites.def in scripts

Taiyo.uk

/path/to/where/you/installed/tremulous/scripts/entities.def

Look harder.

benmachine

Quote from: Taiyo.uk/path/to/where/you/installed/tremulous/scripts/entities.def

Look harder.
It isn't actually there. Bounding box definitions can be found in src/game/bg_misc.c

entities.def is related to mapping I believe.
benmachine

Taiyo.uk


OverFlow

It's actually simpler than that...

data-1.1.0.pk3/overrides/classes/*.cfg

-[=AHs=]- DarkEnix

Quote from: OverFlowIt's actually simpler than that...

data-1.1.0.pk3/overrides/classes/*.cfg

LOL thats juz the model size , im talking abt the whole THING , if u juz change the model size , the hit box is still the same..now im talking abt even redeuce the hit box + model

benmachine

overrides/classes/builder.cfg:

name        "Granger"
model       builder
modelScale  1.0
skin        default
shadowScale 1.0
hud         alien_builder_hud

mins        -20 -20 -20
maxs        20 20 20
crouchMaxs  20 20 20
deadMins    -20 -20 -4
deadMaxs    20 20 4
zOffset     0.0


OverFlow wins.
(hi OverFlow)

An exampe double-size granger would be:

name        "Granger"
model       builder
modelScale  2.0
skin        default
shadowScale 2.0
hud         alien_builder_hud

mins        -40 -40 -40
maxs        40 40 40
crouchMaxs  40 40 40
deadMins    -40 -40 -8
deadMaxs    40 40 8
zOffset     0.0


although you might need to play with zOffset, not entirely sure what that does.
benmachine

-[=AHs=]- DarkEnix

OHHH..THX.. ben..im kinda thinkin of makin something like ur tiny..LOL..faster it..hehe..well..thanks ben , ur a great modder