Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
background models #309325
02/08/10 17:23
02/08/10 17:23
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
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.
Re: background models [Re: draculaFactory] #309329
02/08/10 17:45
02/08/10 17:45
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Use a VIEW entity or a SKY entity.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: background models [Re: Redeemer] #309403
02/09/10 05:08
02/09/10 05:08
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
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.
Re: background models [Re: draculaFactory] #309406
02/09/10 06:54
02/09/10 06:54
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
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)
}


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: background models [Re: alibaba] #309472
02/09/10 16:24
02/09/10 16:24
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
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.
Re: background models [Re: draculaFactory] #309833
02/11/10 15:18
02/11/10 15:18
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North 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.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: background models [Re: Redeemer] #310498
02/15/10 05:11
02/15/10 05:11
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
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.
Re: background models [Re: draculaFactory] #310519
02/15/10 08:25
02/15/10 08:25
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
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
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: background models [Re: Helghast] #310559
02/15/10 15:12
02/15/10 15:12
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline OP
User
draculaFactory  Offline OP
User

Joined: Feb 2005
Posts: 647
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.
Re: background models [Re: draculaFactory] #310561
02/15/10 15:49
02/15/10 15:49
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North 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.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1