Page 1 of 1
Can i scale a whole map?
Posted: Tue Dec 28, 2004 7:05 pm
by HyperKiller
Can i?
You may be wondering why.
Well i used MoHradiant to make a 3D model of my room. Then i designed some furniture for my "new" room. But i made the whole thing in 1px=1cm ratio. It was good for demonstration purposes. But now i think it would be nice to add working doors... To make a simulation of my room?
An idea: can i save the whole room (just the solid stuff(cant find a better expression)) like a prefab, and then scale thet?
An idea2: Is it maybe possible to scale the player?
Posted: Tue Dec 28, 2004 7:25 pm
by Mj
I've done this with my room at school - I just built everything massive

I'll attach some screens later if your interested
Posted: Tue Dec 28, 2004 8:01 pm
by Green Beret
well i know you can scale a player using a trigger so im guessing yes its possible.
im just not sure what the code might be.
Code: Select all
$player scale 0.5//just guessing
waittill prespawn
Posted: Tue Dec 28, 2004 8:17 pm
by At0miC
You can scale brushes (or complete objects you made) by pressing the L buttom in radiant, hold left mouse and move it up or down to make it bigger or smaller. If that is what you mean.
Posted: Wed Dec 29, 2004 3:26 am
by Mj
Scaling the player only changes how high he looks to others, but not the first person view
Posted: Wed Dec 29, 2004 3:56 am
by Green Beret
yea,i noticed that.
Posted: Wed Dec 29, 2004 5:57 am
by lizardkid
btw it's
Code: Select all
$player.scale = .5
level waittil spawn
and it's better if you make your map to size FIRST then you test it. like make a small room and compile, test. only way to get a feel for it

Posted: Wed Dec 29, 2004 6:05 am
by Green Beret
yea,there it is

Posted: Wed Dec 29, 2004 5:06 pm
by HyperKiller
1.Yes, this "L" scale command can be useful, but is there any way of scaling a whole map by numbers(x2 , x0.12 , ...) Get the idea?
2.When you use this "L" scale, the brushes are not aligned to grid. If i save the map like this, and then compile it, will the compiler align all the brushes to grid?
3.How does the engine know from what height to make the 1st person view and how high a player can jump? Could i change that?
Posted: Wed Dec 29, 2004 11:27 pm
by Master-Of-Fungus-Foo-D
there is more than one grid size. hit three on the keyboard, and you will see smaller quares. Hit 5 on the keyboard an you will see bigger squares. Four would be considered the "normal grid size". And as long as the brushes you scaled using 'L' are aligned to grid one then the game will work(i think)
Posted: Thu Dec 30, 2004 11:12 am
by HyperKiller
i know about the grid stuff.
even if it is set to one , nothing is alligned.
(does the compiler then work in decimal numbers?)