some more questions

Posted By: harleyb12

some more questions - 04/25/07 22:46

how do you get terrain to cast a shodow? is this posable? and how do i stop models from playing there animations? and how do i make water partially see through? also how do i get the bonus models into the editor? i ave more questions but i cant remember them now.
Posted By: MrCode

Re: some more questions - 04/26/07 00:20

1) Terrain doesn't (at least not that I know of) cast shadows yet.

2) You need to assign a script action to your model (that involves animation) if you don't want it to cycle through it's animations.

3) To make a water cube see-through, you need to assign it the "Transparent" flag by right clicking it and selecting "Properties".

4) What "bonus models"?

You should really look through the manual before posting anything on the forums. A lot of beginner questions are answered there.
Posted By: xXxGuitar511

Re: some more questions - 04/26/07 00:31

Mr Code is [mostly] correct. You really should go through the manual...

1) yes, with stencil shadows.

2) [correct]

3) yes, but it must be compiled as a map-entity first...

4) he means the models included on the CD if you purchased it by mail, OR, the models downloadable on the downloads page. Copy them into your projects folder before using them.
Posted By: harleyb12

Re: some more questions - 04/26/07 01:24

do i copy the folders with stuff in them as well? or just the things in the folder? and sorry for my noobieness but what manual? ive done and read the toutorial but it just shows the super basics. also how would i make my trees leaves cast a shadow?
Posted By: MrCode

Re: some more questions - 04/26/07 03:19

I would recommend that you just copy the models and stuff (not in their folders) into the "work" directory of your main GStuidio6 folder.

That way you won't get "file not found" errors from the editors or the engine (that's the default directory where it looks first, unless otherwise defined in your script).

The manual is the help file you can get to by going Help->Contents or by pressing F1.
Posted By: harleyb12

Re: some more questions - 04/26/07 22:26

are my objects not sopposed to cast a shadows on the terrain? is it not posable just like terrain casting shadows? if not that is bull. also the tutorial talks about less items on the screen=better fps. how would i do that with a island thats mostly forest and very little ammount of buildings?
Posted By: MrCode

Re: some more questions - 04/26/07 22:40

For that project, I would recommend that you use LOD. LOD (Level Of Detail) allows for better frame rates, because any object that has it gets simpler and simpler as you move further and further away from it.
Posted By: harleyb12

Re: some more questions - 04/26/07 22:46

how do i enable lod? and do map entites cast shadows? i ask this because i have a command center thats a map entitie because building it takes like 4 hours so i didnt want my island taking that long. what are all the disidvanteges to using map entiteis? how would i go about making grass? is there a plugin or something that can spread it without me having to duplicate it over and over? and how do i block the blue form the skybox seens how its an island? and how would i make a sun? with particals? and how would i spread trees all over my island without duplicating a billion times?
Posted By: harleyb12

Re: some more questions - 04/30/07 01:13

hello?
Posted By: tompo

Re: some more questions - 04/30/07 04:57

1. LOD is automatic stuff stored in DirectX. You have to make 4 different models with _01, _02...etc at the end of entity's name to show the engine which one should be loaded.
2. grass... you may duplicate it in script f.e. while number of grass is less than something then make another grass at my position plus random distance. Like my.x += random(2000) -1000; And read about shaders on Wiki
3. Trees... is a lot of different ways to make trees. You may duplicate dummy model with function to create tree at his position. You may duplicate them like a grass. You may try to search some terrain (map) generator to put the trees. And of'course use LOD and fog settings to keep playable framerate.
4. Sun, sky, clouds...etc just READ HELP(F1) time to time! and search forum to find all Your answers.
Posted By: harleyb12

Re: some more questions - 05/01/07 12:45

^to be honest i lost you at grass. i know im a super noob. here ill just make a list of the questions left
1.how would i make my trees leaves cast a shadow?
2.are my objects not sopposed to cast a shadows on the terrain?
3.how do i block the blue form the skybox seens how its an island?
4.how would i make a sun?
i'll add to the list
Posted By: MrCode

Re: some more questions - 05/01/07 22:18

An easy sun would require going to WED's "Map Properties" option and clicking the "Sun" tab. Adjust the values to your likeness.

Your tree's leaves don't cast a shadow because (tell me if I'm wrong) you're using sprites. Make them models if you want them to cast "real" shadows.

A faker's way to do that with sprites is to paint your own shadow sprite and put it under the tree.

As for the sky issue, if you mean the blue engine background that blends with the sky (if there's one there), then I think you'll just have to find a workaround (like using a skysphere model that engulfs the entire level and then some).

For your "shadows on terrains" question, it's already been answered:
Quote:


yes, with stencil shadows.




Posted By: harleyb12

Re: some more questions - 05/01/07 22:32

when i say sun i mean like a circle in the sky. i already know about that sun.
and how do i use stencil shadows?
Posted By: xXxGuitar511

Re: some more questions - 05/02/07 01:24

1) create a sun sprite, then make use a "skillfully" made panel [such as in the lensflare effect.

2) var stencil_shadows = 1;
Posted By: harleyb12

Re: some more questions - 05/02/07 23:43

how would i do number 2 in your list guitar?
Posted By: xXxGuitar511

Re: some more questions - 05/02/07 23:51

If your using the templates, then open Display00.wdl, find the line where it says:

var stencil_shadows = 0;

And then change it to a 1 [one].
Posted By: Rhuarc

Re: some more questions - 05/08/07 17:23

Quote:

when i say sun i mean like a circle in the sky. i already know about that sun.




Ohhh... I thought you meant the SQUARE in the sky.....

-Rhuarc
Posted By: harleyb12

Re: some more questions - 05/09/07 01:20

quote: An easy sun would require going to WED's "Map Properties" option and clicking the "Sun" tab. Adjust the values to your likeness.
i meant that i already knew how to make light come from the sky but not how to make the actuall sun. i didnt mean to be rude...
© 2024 lite-C Forums