You are not logged in.    Login    New User    Forum Home    Search

Location:
JBPLAY  \  Meteor 2  \  Editing  \  Solid sprites

Back to Threads

Viewing Thread: Solid sprites

 

Raaka-arska

Joined: 22 September 2003
Posts: 109
27 December 2005 15:31 (UK time)

Why can't there be solid sprites anymore? I want to create an object with a solid wasted sprite.

You need to login to create posts in this thread.

me_mantis

Joined: 26 September 2003
Posts: 1152
28 December 2005 04:14 (UK time)

You can't make a solid sprite, but you can make the object drop another object that is solid.

You need to login to create posts in this thread.

mike323
Joined: 23 January 2005
Posts: 745
28 December 2005 05:01 (UK time)

hmm, I think james will implement this soon

You need to login to create posts in this thread.

James Bunting
Joined: 17 September 2003
Posts: 1308
28 December 2005 11:45 (UK time)

No sprites are just pictures and thats the way it is.

Objects are things and can be solid.

Wasted sprites are sprites because it would generally be pretty dumb to make them solid. For example if you shoot a tank on a bridge then how do you get over the bridge with the dead tank in the way?

With all that put aside there may perhaps be times when you want to make solid wasted sprites, for some special type of non-moving object or something.

This can be done using script on a per object basis...

void OnObjectDie_???()
{
// add wasted object at object's coords
SC_AddObject( ????????);

// make wasted object indestructible (if required)
SC_SetObjectIndestructible( ???, 1);
}

I could perhaps add an "OnObjectTypeDie" event so you can have one event for all instances of an object but thats about it.

James

You need to login to create posts in this thread.

Raaka-arska

Joined: 22 September 2003
Posts: 109
28 December 2005 12:44 (UK time)

"Wasted sprites are sprites because it would generally be pretty dumb to make them solid. For example if you shoot a tank on a bridge then how do you get over the bridge with the dead tank in the way?"

That wouldn't be a problem for me. I just thought it could be chooseable wheter the sprite is solid or not just like in Meteor1.

You need to login to create posts in this thread.

40oz
 Official Sponsor

Joined: 03 January 2004
Posts: 1799
29 December 2005 04:17 (UK time)

A dead tank in the way, thats where the hopeful "jumping" feature (that you mentioned in a previous thread) comes in.
*Papercut
Pro-Murder.
Legalize Crime.


You need to login to create posts in this thread.

mike323
Joined: 23 January 2005
Posts: 745
30 December 2005 21:28 (UK time)

Well thats too bad, i guess it would also be pretty hard to create a solid mask under any sprite which was my idea of how to do this.

You need to login to create posts in this thread.

40oz
 Official Sponsor

Joined: 03 January 2004
Posts: 1799
30 December 2005 21:50 (UK time)

Well just do what me_mantis said, and make your tank not have a death sprite, one driver, the driver will be another object. The object will have no AI, it will have an appearance of a dead tank, and give it like a trillion health.

There ya go.
*Papercut
Pro-Murder.
Legalize Crime.


You need to login to create posts in this thread.

mike323
Joined: 23 January 2005
Posts: 745
31 December 2005 00:23 (UK time)

Or -1

:D

You need to login to create posts in this thread.



Forums system (C) 1999-2023 by James Bunting.

Terms of Use