View unanswered posts | View active topics It is currently Thu Jan 02, 2025 10:25 pm



Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
 NEW VARIABLE: Scale Variable 
Author Message

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post NEW VARIABLE: Scale Variable
I found this while looking at the Devlog as of July 2006.
It was in the code. I wondered if it still worked. It does.

Image

Sadly it doesn't modify the positions of the attachments or the size of them.

So a Scaled Green Clone is just a Giant Hunk of Meat with a little clone in the middle.

All I did for the Flak cannon was add
Code:
Scale = 5.0
into it.

Discuss.


Sun Jul 06, 2008 6:08 am
Profile WWW
User avatar

Joined: Thu Nov 22, 2007 11:25 pm
Posts: 19
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
So... if you fired it it would launch a regular sized flak shell?


Sun Jul 06, 2008 6:33 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Quote:
So... if you fired it it would launch a regular sized flak shell?

Probably. Are the offsets for holding the gun changed?


Sun Jul 06, 2008 6:51 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
I Love Gib wrote:
So... if you fired it it would launch a regular sized flak shell?


Unless the particle had Scale = 5 as well.


Sun Jul 06, 2008 6:55 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
I just tested. The offsets are not changed. Only the sprite.:(


Sun Jul 06, 2008 7:00 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Easy giant actors?
And weapons


Sun Jul 06, 2008 7:21 am
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Limbpaths aren't affected by this. All it does is quickly resize sprites. You'd still have to change all the offsets and limbpaths and stuff.


Sun Jul 06, 2008 7:39 am
Profile
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Interesting, what could this have been used for?


Sun Jul 06, 2008 9:14 am
User avatar

Joined: Fri Sep 21, 2007 4:45 am
Posts: 324
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Well, if you do change the limbpaths then you don't have to make giant sprite, all you have to do is make normal sized sprites.


Sun Jul 06, 2008 1:17 pm
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Ok, for actors, does this resize ALL sprites?
Or are you going to have to put the variable in different limb codes?


Sun Jul 06, 2008 2:01 pm
Profile
User avatar

Joined: Sun Apr 15, 2007 5:56 am
Posts: 1191
Location: outside the shithole called the University in the Forest
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Glows and explosions, I guess. Have a 24x24 glow gib into the same thing with scale = 2 gib into the same thing with scale = 4 etc.
With glows, they should become less bright as they become bigger, shouldn't they?


Sun Jul 06, 2008 4:31 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
I believe that this variable was only meant for use on MOSParticles, as, that is where I saw it implemented.

And Roy, all it does is change the size of the sprite (includes collision). That's it.


Sun Jul 06, 2008 5:28 pm
Profile WWW
User avatar

Joined: Sun Apr 15, 2007 5:56 am
Posts: 1191
Location: outside the shithole called the University in the Forest
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
So in other words this has practically no use.


Sun Jul 06, 2008 7:55 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Say you wanted to make a bunch of different sized grenades. You could do that easily, and only have to make one sprite.


Sun Jul 06, 2008 8:10 pm
Profile
User avatar

Joined: Sun Apr 15, 2007 5:56 am
Posts: 1191
Location: outside the shithole called the University in the Forest
Reply with quote
Post Re: NEW VARIABLE: Scale Variable
Lord Tim wrote:
Say you wanted to make a bunch of different sized grenades. You could do that easily, and only have to make one sprite.

But they'd all be fugly as hell.


Sun Jul 06, 2008 8:29 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.109s | 15 Queries | GZIP : Off ]