Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Asteroid Problem #258693
04/01/09 15:19
04/01/09 15:19
Joined: Apr 2009
Posts: 1
US
C
Canaanark Offline OP
Guest
Canaanark  Offline OP
Guest
C

Joined: Apr 2009
Posts: 1
US
Me and my group have a problem with making an asteroid blow up and for it to make smaller asteroids. For all I know it could be something so easy.

So far, we have given it health so it would die. We placed smaller asteroids within the large one, but this just made unable to move.

We tried to make it move, but the small asteroids just hits the large one.....so if anyone has any ideas of how we can make a large asteroid break into smaller asteroids. (And we have the objects of smaller asteroids, but getting them to appear is on of the problems).

Thanks for reading.

Re: Asteroid Problem [Re: Canaanark] #258700
04/01/09 15:57
04/01/09 15:57
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Just make the big one passable and move the the small ones with ignore_passable


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Asteroid Problem [Re: Puppeteer] #260391
04/10/09 13:27
04/10/09 13:27
Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Shinobi Offline
User
Shinobi  Offline
User

Joined: Oct 2003
Posts: 560
Germany / NRW / Essen
Just create the small ones after destroying the big one.

Re: Asteroid Problem [Re: Shinobi] #265046
05/09/09 22:08
05/09/09 22:08
Joined: Aug 2002
Posts: 572
Toronto
MadMark Offline
User
MadMark  Offline
User

Joined: Aug 2002
Posts: 572
Toronto
Create the small ones using the xyz coords (+/- random small number in each direction) of the big one, making them stay still, invisible and passable. Make the big one stop moving, passable and invisible. Now make your little ones visible and non-passable, and get them moving along in the same direction as the big one was going and add another random to their direction. Then remove the big one.


People who live in glass houses shouldn't vacuum naked.
Re: Asteroid Problem [Re: MadMark] #265053
05/09/09 22:40
05/09/09 22:40
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
umm.... dude, am sure it could be a little easier.... just call ent_create when ur main asteroids health hits zero...

something like:

ent_create("your model name here",my.x,miniasteroid_func);

then move the smaller piecese with c_move...

i hope i made things a little clearer
ps. you still have to set the smaller pieces to passable

Re: Asteroid Problem [Re: darkinferno] #265055
05/09/09 23:05
05/09/09 23:05
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
You can create something similar by modelling it to break up in an animation sequence.
Then cut the model into its appropriate segments i.e large asteroid breaks or blows apart saved then the pieces resulting from the blow up are deleted from the time frame then go back to original file and repeat but save the little pieces animation then combine with the methods above to get an advanced effect.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Asteroid Problem [Re: KiwiBoy] #265058
05/09/09 23:29
05/09/09 23:29
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
yup.. that could work laugh... didnt think of that


Moderated by  HeelX, Spirit 

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