It is currently Wed Sep 08, 2010 10:28 pm




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
[1238] DECORATE scaled actors not scaled in 3-d view 
Author Message

Joined: Mon Feb 23, 2009 6:38 am
Posts: 6
Post [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
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post 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
Profile

Joined: Mon Feb 23, 2009 6:38 am
Posts: 6
Post 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
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post Re: [1238] DECORATE scaled actors not scaled in 3-d view

Thank you! Will make it work.


Tue Jan 26, 2010 12:27 am
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post 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
Profile

Joined: Sat Jan 09, 2010 1:11 pm
Posts: 35
Post 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
Profile

Joined: Sat Jan 09, 2010 1:11 pm
Posts: 35
Post 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
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post 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
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post Re: [1238] DECORATE scaled actors not scaled in 3-d view

Done.


Sun Aug 01, 2010 7:23 pm
Profile
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.