Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Martin_HH, TipmyPip), 1,279 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A6.40.5: Ent_Morphskin does not work! #168721
11/21/07 16:54
11/21/07 16:54
Joined: Feb 2006
Posts: 324
Germany
M
maybenew Offline OP
Senior Member
maybenew  Offline OP
Senior Member
M

Joined: Feb 2006
Posts: 324
Germany
Hello,

i want to use ent_morphskin to change the texture of one skin of an entity (the entity has 4 skins overall), I want to change the last one.

is there a way to do this?
ent_morhskin does not work when executed from the skript... only when called from the debug panel!

thanks and regards

Re: A6.40.5: Ent_Morphskin does not work! [Re: maybenew] #168722
11/21/07 17:07
11/21/07 17:07
Joined: Jul 2006
Posts: 511
Germany,NRW
KMS Offline
User
KMS  Offline
User

Joined: Jul 2006
Posts: 511
Germany,NRW
Bisher hab ich ent_morphskin nur benutzt,indem ich eine externe Textur geladen habe.Das funktionierte allerdings problemlos.Wie und ob diese Anweisung mit einer Textur,die in dem Modellfile enthalten ist,weiß ich nicht.Aber ich denke,daß Du zum Wechseln der Skin einfach my.skin =2; oder so schreiben kannst.Ent_morphskin funktioniert glaube ich nur mit externen Files.


You need full animated lowpoly-fishes?Look at
http://www.projekt-3d.de/pages/shop2pag.html
Re: A6.40.5: Ent_Morphskin does not work! [Re: KMS] #168723
11/21/07 20:37
11/21/07 20:37
Joined: Feb 2006
Posts: 324
Germany
M
maybenew Offline OP
Senior Member
maybenew  Offline OP
Senior Member
M

Joined: Feb 2006
Posts: 324
Germany
Quote:

Bisher hab ich ent_morphskin nur benutzt,indem ich eine externe Textur geladen habe.Das funktionierte allerdings problemlos.




genau das will ich machen, allerdings manipuliert ent_morphskin immer den ersten skin...
ich will eine neue datei in den 4./5. skin laden!

Re: A6.40.5: Ent_Morphskin does not work! [Re: maybenew] #168724
11/22/07 03:31
11/22/07 03:31
Joined: Jul 2006
Posts: 511
Germany,NRW
KMS Offline
User
KMS  Offline
User

Joined: Jul 2006
Posts: 511
Germany,NRW
Jetzt hab ich das Problem erst verstanden! Da bin ich auch ratlos.


You need full animated lowpoly-fishes?Look at
http://www.projekt-3d.de/pages/shop2pag.html
Re: A6.40.5: Ent_Morphskin does not work! [Re: KMS] #168725
11/22/07 06:44
11/22/07 06:44
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
There are several possible options you might consider and try:

1/ In A660 there is bmap_blit, but I don't think that is available in A405.

2/ Give the entity you want to change an action script where you use:
my.skin = 5;
ent_morphskin(my,"newskin.tga");
I think that will only change the currently selected skin.

3/ Make the skin file a multiple frame file: "newskins+5.tga".
Here you will have to copy the textures you use for skin 1-4 into the first
4 positions of the new texture, and the new skin 5 texture into position 5.
Then change the complete skin of the entity in an action code:
my.skin = 0;
ent_morphskin("newskins+5.tga");
That will swap all skins of the entity.

These are just a few ideas,
cheers,
tindust


Moderated by  HeelX, rvL_eXile 

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