Can i scale a whole map?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Can i scale a whole map?

Post 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?
You must know that you are special, just like everyone else.
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

I've done this with my room at school - I just built everything massive :wink: I'll attach some screens later if your interested
ImageImage
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post 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
Image
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post 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.
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Scaling the player only changes how high he looks to others, but not the first person view
ImageImage
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

yea,i noticed that.
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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 ;)
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

yea,there it is 8-)
Image
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Post 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?
You must know that you are special, just like everyone else.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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)
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Post 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?)
You must know that you are special, just like everyone else.
Post Reply