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
3 registered members (fairtrader, AndrewAMD, 3run), 576 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Einschussloch [Re: Scorpion] #159657
10/08/07 15:56
10/08/07 15:56

A
Anonymous
Unregistered
Anonymous
Unregistered
A



add einfach

my.facing = off;
my.oriented = on;

Re: Einschussloch [Re: snake67] #159658
10/08/07 16:28
10/08/07 16:28
Joined: Jul 2007
Posts: 288
Germany, NRW
Martek Offline OP
Member
Martek  Offline OP
Member

Joined: Jul 2007
Posts: 288
Germany, NRW
Das Sprite erzeugen klappte immer schon...
Habs jetzt auch mit den Löchern geklabbt. Sie kleben jetzt an der Wand.
Hab den Code von 5c0rp10n, falls einen Wissen will, wie ich es gemacht habe.
Danke für eure Hilfe...

Mfg, Pingulord


3D Gamestudio A7 Extra
Re: Einschussloch [Re: Martek] #159659
10/08/07 18:08
10/08/07 18:08
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
@Fear411
o gott, damit hatte ich auch Probleme...das klappt nämlcih bei 6.6 und 7 nicht mehr...

und ja, ich hab das mit dem ausblenden ganz vergessen...sonst wird das wirklich unschön^^°

also ich mach es meistens so: einfach gaaaanz langsam asufaden, dass es gar nicht auffällt (und realistischer ist als plöp und weg )

Code:
//ans ende der bullet-hole function setzen
my.transparent=on;
my.alpha=100;
while(my.alpha>0)
{
my.alpha-=1;
wait(-1);//200 sekunden->laaangsam
}
ent_remove(me);



Last edited by 5c0rp10n; 10/09/07 12:30.
Re: Einschussloch [Re: Scorpion] #159660
10/09/07 11:40
10/09/07 11:40
Joined: Jul 2007
Posts: 288
Germany, NRW
Martek Offline OP
Member
Martek  Offline OP
Member

Joined: Jul 2007
Posts: 288
Germany, NRW
Meinst du nicht "while(my.alpha > 0)" weil bei "while(my.alpha > 100)" ist alpha ja 100, also nie größer als 100.
Also müsst das doch "while(my.alpha > 0)" sein...
Und ich würde auch noch nach der while schleife ein "ent_remove(me);" einfügen, damit das sprite dann auch ganz verschwunden ist...

Kann auch sein wenn ich mich irre, aber ich meine es müsste so sein...

Mfg, Pingulord

Last edited by Pingulord; 10/09/07 11:54.

3D Gamestudio A7 Extra
Re: Einschussloch [Re: Martek] #159661
10/09/07 12:19
10/09/07 12:19
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
sorry, ich hatte gestern keinen guten tag...
ja, ist alles vollkommen richtig was du gesagt hast
-editier noch schnell

Re: Einschussloch [Re: Scorpion] #159662
10/10/07 13:29
10/10/07 13:29

A
Anonymous
Unregistered
Anonymous
Unregistered
A



@5c0rp10n

ich mach es in A7 so und es geht:
my.DECAL = ON;
my.oriented = on;

Re: Einschussloch [Re: ] #159663
10/10/07 14:10
10/10/07 14:10
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
bei mir nicht :'(
Auf jeden Fall sind alle zufrieden und glücklich, mit einem Lächeln auf ihren Lippen

Re: Einschussloch [Re: Scorpion] #159664
10/10/07 15:24
10/10/07 15:24

A
Anonymous
Unregistered
Anonymous
Unregistered
A



das ist meine funktion


function hithole()
{
vec_to_angle (my.pan, normal); // orient the hit hole sprite correctly
vec_add(my.x, normal.x); // move the sprite a bit away from the wall
my.passable = on; // the hit hole bitmap is passable
my.DECAL = ON;
my.transparent = on; // and transparent
my.alpha = 85;
my.ambient = 50;
my.flare = on;
my.oriented = on; // the sprite is oriented
my.overlay = on;
//my.roll = random(360); // and has a random roll angle (looks nicer this way)
my.scale_x = 0.2; // we scale it down
my.scale_y = my.scale_x; // on the x and y axis
sleep (10); // show the hit hole for 20 seconds
ent_remove (my); // and then remove it
}

Re: Einschussloch [Re: ] #159665
10/10/07 19:25
10/10/07 19:25
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
was natürlich sein kann, ist das es in lite-c nicht mehr funzt...

PS: benutz nicht sleep, das ist in keinem fall mehr richtig benutz wait(-10); und am besten blend es langsam aus...ich persönlich _hasse_ es wenn irgendwas einfach verschwindet, das ist unrealistischer als alles andere ;P

Re: Einschussloch [Re: Scorpion] #159666
10/11/07 12:13
10/11/07 12:13

A
Anonymous
Unregistered
Anonymous
Unregistered
A



ja das ist ein altes script das ich kopiert hab und my.decal dazu geadded hab,das änder ich noch.

Page 2 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