Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
1 registered members (AndrewAMD), 599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Hiding multiple entities in multiple views #269143
06/02/09 00:59
06/02/09 00:59
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline OP
Serious User
MrGuest  Offline OP
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
Hi,

Please can you advise on this post if this is possible in GS, or if a future requirement should be requested for something like
NO_FLAG1 thro NO_FLAG8 in the view options

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=268736#Post268736

Also setting FLAG1 on sky entities does not hide them in views with NOFLAG1

Many thanks
MrGuest

Re: Hiding multiple entities in multiple views [Re: MrGuest] #269179
06/02/09 07:10
06/02/09 07:10
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Hiding the sky is implemented in the newest beta version.

If you want to hide entities in certain views in a complex way and flag1 is not enough, use a material event. We don't have any ignore flags free for adding flags2..8.

Re: Hiding multiple entities in multiple views [Re: jcl] #269302
06/02/09 15:33
06/02/09 15:33
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline OP
Serious User
MrGuest  Offline OP
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
Perfect laugh
Thanks!

Re: Hiding multiple entities in multiple views [Re: jcl] #271988
06/15/09 23:20
06/15/09 23:20
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
Hey, JLC that sounds like exactly what I need. How does that work? Is there any tutorial or something on how to create an entity that is only visible in one view when there are 2 different views looking at the same entity?

My game's main camera is a third person camera close behind the player, but I also have a small secondary view in the corner of my game. That second view is far above the character pointing straight down (so it is acting like a minimap).
What I would like to do is to have some entities to work as indicators (red or green circles), loaded in my game around each player. I have got that working, but they are visible in both views, I want them to only be visible in the minimap but not in the main window.

I have no idea how I would tell a view to not show an entity with that flag. Any suggestions are welcome


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: Hiding multiple entities in multiple views [Re: Carlos3DGS] #272027
06/16/09 08:34
06/16/09 08:34
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Set FLAG1 for all entities except the indicator entities, and set the NOFLAG1 flag in the secondary view.

Re: Hiding multiple entities in multiple views [Re: jcl] #272065
06/16/09 11:03
06/16/09 11:03
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
It is much easier than what I thought it would be.
Thanks for your help smile


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: Hiding multiple entities in multiple views [Re: Carlos3DGS] #272069
06/16/09 11:21
06/16/09 11:21
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Not as easy, because what I told was wrong: It's the opposite way, set FLAG1 for the indicator entities, and set the NOFLAG1 flag in the primary view. I thought that you wanted to suppress the normal entities in the second view, but I now realize that you want to suppress the indicator entities.

Re: Hiding multiple entities in multiple views [Re: jcl] #272407
06/17/09 22:43
06/17/09 22:43
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
thanks for the correction, I was going crazy trying to figure out what I was doing wrong.


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1

Moderated by  old_bill, Tobias 

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