Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Playing a view/camera on a model [Re: quasarchangel] #128510
05/08/07 09:23
05/08/07 09:23
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
view remote
{
layer =-1;
flags = visible;
}


action monitor // the monitor model
{
remote.bmap = bmap_for_entity (my, 0); //only one time is enough
// my.oriented = on; // oriented sprite why do you need it for a sphere?
while(1){
vec_set(angulo_inicial_sprite.pan, my.pan); just shorter
vec_set(portal.x, my.x); just shorter
tamanho_sprite=50;
wait(1);
}
}


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Playing a view/camera on a model [Re: Captain_Kiyaku] #128511
05/08/07 10:22
05/08/07 10:22
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
The flags = visible; was already there (see my code quotation in 1st page).
Thanks for shorting that lines, it will be usefull for me to short another ones in other scripts



Quote:

Are you using the monitor action on the sphere model? If so, I think you can remove the my.oriented=on; from the action. Then try it with a different model.

Also try adding a "remote.visible = on;" to the monitor action, before the while loop.




yes, i'll take out the my.oriented.
visible is already on.



Can anyone do that on a model and send me the project in a .rar or .zip?

Thanks.

Last edited by ExtraCortex; 05/08/07 10:23.
Re: Playing a view/camera on a model [Re: ExtraCortex] #128512
05/08/07 10:36
05/08/07 10:36
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Try this:

Portal Test


Also do you own the Pro version? Cause you can't render a view on a model without this version.


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Playing a view/camera on a model [Re: Captain_Kiyaku] #128513
05/08/07 10:38
05/08/07 10:38
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Yes, i have the old 6.2 pro, i love 6.2

Re: Playing a view/camera on a model [Re: ExtraCortex] #128514
05/08/07 10:39
05/08/07 10:39
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Quote:

Yes, i have the old 6.2 pro, i love 6.2




hmm sure

You propably should update, maybe it helps


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Playing a view/camera on a model [Re: Captain_Kiyaku] #128515
05/08/07 11:14
05/08/07 11:14
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Kihaku, wed is telling that some resources are needed in your portal.rar, BAUM1.mdl or something like that.

When i run it, everything appears grey.

Re: Playing a view/camera on a model [Re: ExtraCortex] #128516
05/08/07 11:16
05/08/07 11:16
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
well, just copy the warlock and name it like this xD
might forgot to include some models.

But it's working fine here.

As i said, you better update your Pro and see if it works then.


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: Playing a view/camera on a model [Re: Captain_Kiyaku] #128517
05/08/07 19:04
05/08/07 19:04
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
ok, now works fine!

Thanks!

I'll soon release my portal script, still need some fixes in the tangent thing.

Page 2 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