Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
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
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Blood paint on skin! #226165
09/08/08 10:10
09/08/08 10:10
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
Is there a way to paint pre-defined blood splashes on a entity skin?

My idea is:

c_trace (shoot)

if a entity is hit at the hitted position a pre defined blood splash with random roll and size get added to the skin file or in other way.

Anyone know if there is a possibility to do that? Maybe with shaders? or any other ideas? smile

greets

Re: Blood paint on skin! [Re: Rasch] #226181
09/08/08 11:40
09/08/08 11:40

F
Fear411
Unregistered
Fear411
Unregistered
F



ent_decal

look it up in the manual

Re: Blood paint on skin! [Re: ] #226184
09/08/08 11:52
09/08/08 11:52
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
Well thanks

Is it possible that this function only is avaiable in lite-c?

Re: Blood paint on skin! [Re: Rasch] #226421
09/09/08 18:52
09/09/08 18:52
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
I guess it's lite-c only because I also can't get it run.

I posted the same question: http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=225237#Post225237
but nobody reyplied...

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Blood paint on skin! [Re: Dark_samurai] #226465
09/09/08 21:51
09/09/08 21:51
Joined: Nov 2005
Posts: 5
D
Darkwraith Offline
Newbie
Darkwraith  Offline
Newbie
D

Joined: Nov 2005
Posts: 5
I have the manual for my GS6.60, and I can't find any reference to ent_decal. I'm guessing lite-c only as well.

Re: Blood paint on skin! [Re: Darkwraith] #226467
09/09/08 21:59
09/09/08 21:59
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
ent_decal is also in c-script i can see but thereīs another one. ent_decalvertex which paints on the position as the givenvertex. but this one donīt work for me. Maybe itīs not implented or only lite-c

edit: ok if i use ent_decal(you,bloodspray,target) that should wrk the engine crashes.

Re: Blood paint on skin! [Re: Rasch] #226573
09/10/08 11:58
09/10/08 11:58
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Quote:
I have the manual for my GS6.60, and I can't find any reference to ent_decal. I'm guessing lite-c only as well.


ent_decal is only available since A7.10.1 but this doesn't automatically mean that it's lite-c only.

Quote:
edit: ok if i use ent_decal(you,bloodspray,target) that should wrk the engine crashes


I don't get a crash, but it doesn't create anything.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Blood paint on skin! [Re: Dark_samurai] #226830
09/11/08 16:21
09/11/08 16:21
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
I'm pretty sure though that you could use pixel_for_vec, pixel_to_bmap and pixel_for_bmap to make up a decal code. In theory it's possible, but I'm not sure how fast it would be.


- aka Manslayer101

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