Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Explosionsfrage / Exploquestion #294945
10/22/09 05:16
10/22/09 05:16
Joined: Jul 2008
Posts: 2,101
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,101
Germany
Hi!

Möchte eine Explosion machen. Die Gegner sollen von der Richtung der Explosion aus weg fliegen (Druckwelle).
Nehmen wir an ein Gegner steht links von der Explosion und einer rechts davon. Der linke soll Richtung links fliegen, der rechte Richtung rechts.
Wie fange ich da an ? Hab keine Idee.

Vllt eine Entity die immer grösser wird, also die Druckwelle an sich, und dann per EVENT_ENTITY auf Gegner prüfen und den BOUNCE-vector nehmen ? mhm...


I want to make an explosion. The explowave should "blow" the enemys standing around away. If an enemy stands on the left side, it should fly to the left side. How can i get the direction who the enemys should fly to ?

Maybe an entity which grows (the shockwave)...then checking with EVENT_ENTITY for enemys and use the bounce vector ?

Danke
Thanx

Last edited by rayp; 10/22/09 05:23.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Explosionsfrage / Exploquestion [Re: rayp] #295001
10/22/09 13:44
10/22/09 13:44
Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67" E...
hopfel Offline
User
hopfel  Offline
User

Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67" E...
Mein Vorschlag:

Sorge einfach per vec_to_angle dafür, dass die Entity die Explosion anschaut, dann lasse sie mit c_move "fliegen ^^". Wenn du die Entities nicht drehen willst, kannst du eine Unsichtbare Entity das gleiche machen lassen und setzt dann die Position deiner Entity auf die der Unsichtbaren.

Last edited by hopfel; 10/22/09 13:44.

Hilf mir, dir zu helfen!
Re: Explosionsfrage / Exploquestion [Re: hopfel] #295143
10/23/09 04:36
10/23/09 04:36
Joined: Jul 2008
Posts: 2,101
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,101
Germany
Geniale Idee!

Danke hopfel grin


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Explosionsfrage / Exploquestion [Re: rayp] #295489
10/25/09 17:43
10/25/09 17:43
Joined: Jul 2008
Posts: 2,101
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,101
Germany
Hier sehn wir einen Zombie wegfliegen aus der Explosionsrichtung!
Tolle Idee, nochma danke!



Last edited by rayp; 10/25/09 17:43.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;

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