Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 748 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
tattoo for model #397025
03/13/12 18:29
03/13/12 18:29
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
Hi,
i want to give the option in my game to
set some tattos at the players model anywhere on the body
( face,arms ect..)
did someone know how i can do that?
set a bmap over a skin?
tnx for every help

Re: tattoo for model [Re: GameScore] #397027
03/13/12 18:33
03/13/12 18:33
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Look at the function ent_decal wink

Re: tattoo for model [Re: Ch40zzC0d3r] #397046
03/13/12 20:53
03/13/12 20:53
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
or use pixel_to_bmap(BMAP* bmap,var x,var y,var pixel); to draw onto model skin (ent_decal can be used only with commercial or pro)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: tattoo for model [Re: sivan] #397052
03/13/12 21:28
03/13/12 21:28
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
tnx for your answer
i got the commercial edition

i checked ent_decal
but some questions i have about it
how can i resize and move the decal after the decal is created and placed?

Re: tattoo for model [Re: GameScore] #397068
03/14/12 05:01
03/14/12 05:01
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
I think this doesnt work cuz the pointer to object is a particle.
So PARTICLE* p = ..
And then use the ptr p to move idk if that works!

Re: tattoo for model [Re: Ch40zzC0d3r] #397087
03/14/12 13:26
03/14/12 13:26
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
or create a shader?

Re: tattoo for model [Re: MrGuest] #397129
03/14/12 20:50
03/14/12 20:50
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
ent_decal is a nice tool
but please can tell me someone how can i delete the 1st decal after
a 2nd is created?

Re: tattoo for model [Re: GameScore] #397130
03/14/12 20:56
03/14/12 20:56
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
PARTICLE* p = ent_decal(...);
[...]
p.lifespan = 0;

store the particle global, reset the lifespan and then assign the new decal


Visit my site: www.masterq32.de
Re: tattoo for model [Re: MasterQ32] #397164
03/15/12 21:54
03/15/12 21:54
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
tnx

Re: tattoo for model [Re: GameScore] #397224
03/16/12 18:39
03/16/12 18:39
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
ok now i can remove the 1st decal after create a 2nd one
but how can i remove one of the 4 decals i created?

i mean if i have 4 decals created on my model
and i want to remove the 2nd or 3rd
how can i do that?

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