Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Text on a VIEW Render Target? #478493
10/29/19 00:56
10/29/19 00:56
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I have scoured the manual, the forum and as many AUM installments as I can looking to find out if it's possible to have text display on an in-game bitmap used as a render target for a VIEW.

Similar to how weapon ammo was displayed on the weapons in Doom 3:
[Linked Image]

So far, this seems to be the only thing remotely similar to what I'm looking for:

AUM Volume 38 - Code Snippets - Editable text
This creates text in your 3d level using particles

Before I delve into this script, which seems very complex to me, I am wondering if I am maybe just missing something. This seems like something that should not be that difficult, I think. Does anyone know if there is an easier way to do this?

Re: Text on a VIEW Render Target? [Re: Dooley] #478494
10/29/19 07:09
10/29/19 07:09
Joined: Oct 2008
Posts: 681
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 681
Germany
You need a TEXT or PANEL Object and use the target_map Pointer or bmap Pointer (View)

Code
BMAP* bmap = bmap_for_entity(yourEntityPointer, SkinNumber);
TEXT* txt = txt_create(….);

txt.target_map = bmap;
view.bmap = bmap;


EDIT: Or Draw_obj… and bmap_rendertarget

Last edited by Ayumi; 10/29/19 12:33.
Re: Text on a VIEW Render Target? [Re: Dooley] #478497
10/30/19 02:56
10/30/19 02:56
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Thanks for this!


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