Links
AUM Magazine
Newest Posts
cloud plugin, made by ello five years ago
by Error014
39 minutes 21 seconds ago
Crytek's SSAO development thread
by jane
40 minutes 11 seconds ago
How to turn the my entity smoothly to a target?
by Spirit
55 minutes 4 seconds ago
Wierd invalid pointer.
by paracharlie
Today at 14:23
String comparison
by 3dgs_snake
Today at 14:02
Latest Screens
Overlay Window Project
Marble Ball Dash
Sea
Gravix
Secret Of The Sword - Castle Rooms
Who's Online
66 registered (alibaba, ChrisB, Blink, BlueFlame, aztec, 3dgs_snake, Bone, bodden, Benni003, 7 invisible), 152 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Dr_Varsims, Doford, Sunshine21, tgamorris76, Polygon
14951 Registered Users
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#309325 - 02/08/10 18:23 background models
draculaFactory Offline
User

Registered: 02/04/05
Posts: 636
Loc: Williamsburg, VA USA
Is it safe to assume that there is no way to place large models in the background that the camera cannot get close to?
_________________________
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Top
#309329 - 02/08/10 18:45 Re: background models [Re: draculaFactory]
Redeemer Offline
User

Registered: 12/21/08
Posts: 547
Loc: America
Use a VIEW entity or a SKY entity.
_________________________
Sheridan Rathbun, programmer. I know C-Script and Lite-C very well. I have roughly 8 years of experience in game development. If you have a question or a job offer, PM me!

"Hexen: Edge of Chaos" Doom3 mod approaching release! http://www.hexenmod.com/

Top
#309403 - 02/09/10 06:08 Re: background models [Re: Redeemer]
draculaFactory Offline
User

Registered: 02/04/05
Posts: 636
Loc: Williamsburg, VA USA
See here is the thing... A view entity is close to the camera and covers everything else, which isn't what I was looking for. A sky entity does not work in this manner; it still allows the camera to get close to it and it still may be contacted by other models. I've tested this up, down, and sideways; setting those flags simply does not work. I knew someone was going to respond saying this jeez.
_________________________
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Top
#309406 - 02/09/10 07:54 Re: background models [Re: draculaFactory]
alibaba Online
User

Registered: 05/05/08
Posts: 728
Loc: in a House
i think you can use a normal model and use a script to hold a distance, then you can never touch the model.

you could use something like this:
while(1)
{
my.x=camera.x+500;
wait(1)
}
_________________________
Commercial Edition
A7.85.3
--------------------
Testen... Ich hasse testen!

Top
#309472 - 02/09/10 17:24 Re: background models [Re: alibaba]
draculaFactory Offline
User

Registered: 02/04/05
Posts: 636
Loc: Williamsburg, VA USA
Yes I am currently using that method, however, the background model will still intersect with other models in the area which is something that I am trying to avoid.
_________________________
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Top
#309833 - 02/11/10 16:18 Re: background models [Re: draculaFactory]
Redeemer Offline
User

Registered: 12/21/08
Posts: 547
Loc: America
Quote:
A sky entity does not work in this manner; it still allows the camera to get close to it and it still may be contacted by other models.


Umm, no. A sky entity does not interact with your level or any objects in it. You define a SKY entity like this:

Code:
SKY* test_sky =
{
  /* clip distance is 50000 quants */
  /* to keep our model IN FRONT of any skybox you have */
  /* keep its x, y, z parameters LESS than 50000 quants */

  type = "mountains.mdl";
  x = 30000;
  y = 30000;
  z = 0;

  /* the sky entity will NOT react with any other objects, and */
  /* it will stay exactly 30000x quants and 30000y quants away */
  /* from the camera at all times */
}



So, like I said: use a sky entity.
_________________________
Sheridan Rathbun, programmer. I know C-Script and Lite-C very well. I have roughly 8 years of experience in game development. If you have a question or a job offer, PM me!

"Hexen: Edge of Chaos" Doom3 mod approaching release! http://www.hexenmod.com/

Top
#310498 - 02/15/10 06:11 Re: background models [Re: Redeemer]
draculaFactory Offline
User

Registered: 02/04/05
Posts: 636
Loc: Williamsburg, VA USA
Well gee golly corn cobs grin



I didn't think that sky entities were defined like this lol. Hmmmm... I guess er maybe um, I don't maybe you were mistaken? One thing is for sure; something is missing.
_________________________
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Top
#310519 - 02/15/10 09:25 Re: background models [Re: draculaFactory]
Helghast Online
Expert

Registered: 01/02/04
Posts: 2863
Loc: The Netherlands
http://www.conitec.net/beta/aview-scene.htm

that should get you sorted. Redeemer did make the mistake calling it SKY* where it should read ENTITY*
Even the best make a mistake sometimes wink

regards,
_________________________
Formerly known as dennis_fantasy
http://www.designorhea.com/

Top
#310559 - 02/15/10 16:12 Re: background models [Re: Helghast]
draculaFactory Offline
User

Registered: 02/04/05
Posts: 636
Loc: Williamsburg, VA USA
Helghast, I know that you are trying to help, but that method simply does not work. I've been trying to do this for over a month now.

Quote:

Redeemer did make the mistake calling it SKY*


I know he did grin I knew he did before I even pasted the code lol. Oh burn.
_________________________
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Top
#310561 - 02/15/10 16:49 Re: background models [Re: draculaFactory]
Redeemer Offline
User

Registered: 12/21/08
Posts: 547
Loc: America
Whoops! I'm pretty sure that was how it was done in C-Script, but I must be mistaken. I'll have to look it up again...

@draculaFactory:
This might seem rather obvious, but have you checked in the manual for this? The manual should have an entry for sky entities.
_________________________
Sheridan Rathbun, programmer. I know C-Script and Lite-C very well. I have roughly 8 years of experience in game development. If you have a question or a job offer, PM me!

"Hexen: Edge of Chaos" Doom3 mod approaching release! http://www.hexenmod.com/

Top
Page 1 of 2 1 2 >


Moderator:  HeelX, oliver2s, Shadow969, TSG_Torsten 

lite-c | chip programmers | download | shop | resources | magazine | manual | support faq | wiki | bugs | beta features | forecast

Conitec Datasystems, Inc · 5000 Thorne Drive, Suite F · La Mesa, CA 91941 · Tel +1 (619) 462-0515 · Fax +1 (619) 462-0519 · info (at) 3dgamestudio.net