Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sprites and models #83369
07/26/06 13:29
07/26/06 13:29
Joined: Jul 2006
Posts: 5
A
Akumavs Offline OP
Newbie
Akumavs  Offline OP
Newbie
A

Joined: Jul 2006
Posts: 5
Hi,

I'm new at 3DGS so this might be 2 stupid things that I'm strugling with but none the less I am still strugling:

1. Is there a way to edit sprite properties Simultaneously? My level uses a bunch (+-800) TGA sprites to simulate a grassfield but when I added them I forgot to set their properties to passable.

2. My tree models don't have shadows but my character models do - What am I missing? I tried using different texture types on moddels (PCX, TGA & BMP) but still no shadows. tried saving them from and to MDL7/MDL5, Set to "Shadow" in WED properties Tab and so forth, Still no shadows. (Oh yeah, Also built blocks with texture set to none to try and simulate shadows - Works but rendering takes fore-ever)

Please, Please help - Have read tutorials/ Manuals multiple times but still can't find a solution (Or at least answer) to My problems.

Re: Sprites and models [Re: Akumavs] #83370
07/26/06 13:36
07/26/06 13:36
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Quote:

1. Is there a way to edit sprite properties Simultaneously? My level uses a bunch (+-800) TGA sprites to simulate a grassfield but when I added them I forgot to set their properties to passable.




This is very poor way to doing grass. If all were visible, you'd only get 20 fps or so, probably more around 15, even if 1 triangle per object. Rather than using a bunch of sprites (entities), put them all as one single MDL file and you'd get a very high rendering rate (and allows for greater detail as well. Having a high entity count, especially when visible regardless of how many polygons it has, is poor level design. I thought I'd just mention this. As to your question, what do you mean by "simultaneously"? All at once? The single model method allows for this as you'd have just one entity instead of 800.

Quote:

2. My tree models don't have shadows but my character models do - What am I missing? I tried using different texture types on moddels (PCX, TGA & BMP) but still no shadows. tried saving them from and to MDL7/MDL5, Set to "Shadow" in WED properties Tab and so forth, Still no shadows. (Oh yeah, Also built blocks with texture set to none to try and simulate shadows - Works but rendering takes fore-ever)

Please, Please help - Have read tutorials/ Manuals multiple times but still can't find a solution (Or at least answer) to My problems.




The best I can think of for this is that you need the shadow flag set in the object's properties or through a simple action in the script. If you aren't getting shadows, check to make sure your model is not already in a shadow of something else.

What version and edition do you have? Help > about in WED will give you this so others can help you.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Sprites and models [Re: ulillillia] #83371
07/26/06 14:05
07/26/06 14:05
Joined: Jul 2006
Posts: 5
A
Akumavs Offline OP
Newbie
Akumavs  Offline OP
Newbie
A

Joined: Jul 2006
Posts: 5
Thanks for the Advice - Grass is a mission and I should probably opted for a easier first level than the bushvelt. Will play around with Med and see if I can get a decent grass effect.

The trees without shadows are still an issue though. They are in no other objects' shadows and the Shadow flag is set in the object properties but still no shadows.
Like i said - All other objects in level have shows except my damn tress.

Re: Sprites and models [Re: Akumavs] #83372
07/26/06 14:08
07/26/06 14:08
Joined: Jul 2006
Posts: 5
A
Akumavs Offline OP
Newbie
Akumavs  Offline OP
Newbie
A

Joined: Jul 2006
Posts: 5
Working with 3dgs v3.6

Re: Sprites and models [Re: Akumavs] #83373
07/26/06 14:15
07/26/06 14:15
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Is your tree model centered in MED? If it's offcenter, odd things can happen such as improper collision. A centered object is defined as where the furthest edges of the model are equidistant from the given axis. If you have an X coordinate of -16 on the far left and +16 on the far right, the model is centered on the X axis. If you have a Z coordinate of 48 at the highest and -8 at the lowest, it is not centered but moving it to 28 at the highest and -28 at the lowest will. The same goes for the Y axis.

Edit: version 3.6? There is no such version. Some examples are 6.11.4, 6.20.2, and 6.40.5. Knowing the edition also helps as some editions don't support certain features (like dynamic shadows).

Last edited by ulillillia; 07/26/06 14:18.

"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Sprites and models [Re: ulillillia] #83374
07/26/06 14:40
07/26/06 14:40
Joined: Jul 2006
Posts: 5
A
Akumavs Offline OP
Newbie
Akumavs  Offline OP
Newbie
A

Joined: Jul 2006
Posts: 5
My apologies - V 6.20.

That did the trick: Thanks a million.

There is no substitute for Experience!

Re: Sprites and models [Re: Akumavs] #83375
07/26/06 15:12
07/26/06 15:12
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
You forgot to mention the edition you have. Was it because it wasn't centered? I also suggest updating to 6.40.5 as it has many new and useful features.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1