Author |
Message |
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
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. 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 into it. Discuss.
|
Sun Jul 06, 2008 6:08 am |
|
|
I Love Gib
Joined: Thu Nov 22, 2007 11:25 pm Posts: 19
|
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 |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: NEW VARIABLE: Scale Variable
I just tested. The offsets are not changed. Only the sprite.
|
Sun Jul 06, 2008 7:00 am |
|
|
Foa
Data Realms Elite
Joined: Wed Sep 05, 2007 4:14 am Posts: 3966 Location: Canadida
|
Re: NEW VARIABLE: Scale Variable
Easy giant actors? And weapons
|
Sun Jul 06, 2008 7:21 am |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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 |
|
|
Tea
|
Re: NEW VARIABLE: Scale Variable
Interesting, what could this have been used for?
|
Sun Jul 06, 2008 9:14 am |
|
|
tosty
Joined: Fri Sep 21, 2007 4:45 am Posts: 324
|
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 |
|
|
Roy-G-Biv
Joined: Mon Feb 12, 2007 12:46 am Posts: 1765 Location: ..............
|
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 |
|
|
The Fat Sand Rat
Joined: Sun Apr 15, 2007 5:56 am Posts: 1191 Location: outside the shithole called the University in the Forest
|
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 |
|
|
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
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 |
|
|
The Fat Sand Rat
Joined: Sun Apr 15, 2007 5:56 am Posts: 1191 Location: outside the shithole called the University in the Forest
|
Re: NEW VARIABLE: Scale Variable
So in other words this has practically no use.
|
Sun Jul 06, 2008 7:55 pm |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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 |
|
|
The Fat Sand Rat
Joined: Sun Apr 15, 2007 5:56 am Posts: 1191 Location: outside the shithole called the University in the Forest
|
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 |
|
|
|