| Author |
Message |
|
Nash
Joined: Mon Feb 23, 2009 6:38 am Posts: 6
|
 [1238] DECORATE scaled actors not scaled in 3-d view
Code: actor Sky_Sun 20000 { gravity 0 radius 16 height 32 renderstyle "Add" scale 0.5 +FORCEXYBILLBOARD +NOINTERACTION
states { Spawn: SUN1 A -1 BRIGHT loop } }
This actor scales fine in-game, but in Visual Mode, it remains unscaled (and huge!).
|
| Sat Jan 23, 2010 3:46 am |
|
 |
|
CodeImp
Joined: Sun Jan 04, 2009 4:49 pm Posts: 543
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
Can you make an example WAD file (decorate, map and sprites all included) and upload it here please.
|
| Sat Jan 23, 2010 5:47 pm |
|
 |
|
Nash
Joined: Mon Feb 23, 2009 6:38 am Posts: 6
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
Should've known better. Sorry about that!
You do not have the required permissions to view the files attached to this post.
|
| Sun Jan 24, 2010 4:19 am |
|
 |
|
CodeImp
Joined: Sun Jan 04, 2009 4:49 pm Posts: 543
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
Thank you! Will make it work.
|
| Tue Jan 26, 2010 12:27 am |
|
 |
|
CodeImp
Joined: Sun Jan 04, 2009 4:49 pm Posts: 543
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
I have been trying to get this to work, but I am stuck with a problem. Maybe anyone can shed some light on this;
When I let DB scale this sprite (see test wad) by the scale described in the DECORATE actor (which is 0.5) it becomes half the size (and double the resolution) but when I run this map in (G)ZDoom it shows even smaller than half the size (more like a quarter the size?) where does this additional scaling come from?
|
| Sun Jan 31, 2010 12:12 am |
|
 |
|
Gez
Joined: Sat Jan 09, 2010 1:11 pm Posts: 35
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
I think that's just an illusion caused by additive transparency. Here's another example wad.
The three crates should have all exactly the same size. And they do in GZDoom and ZDoom.
You do not have the required permissions to view the files attached to this post.
|
| Sun Jan 31, 2010 6:20 pm |
|
 |
|
Gez
Joined: Sat Jan 09, 2010 1:11 pm Posts: 35
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
By the way, is there a scale property in configuration files? I'm thinking of stuff like Harmony where the actors are made in dehacked, not decorate, so DB2 cannot pick up the information automatically.
|
| Tue Feb 09, 2010 12:03 pm |
|
 |
|
CodeImp
Joined: Sun Jan 04, 2009 4:49 pm Posts: 543
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
No, not yet, but I intend to add that along with this sprite/thing scaling.
|
| Tue Feb 09, 2010 12:41 pm |
|
 |
|
CodeImp
Joined: Sun Jan 04, 2009 4:49 pm Posts: 543
|
 Re: [1238] DECORATE scaled actors not scaled in 3-d view
Done.
|
| Sun Aug 01, 2010 7:23 pm |
|
|