Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Mar 29, 2024 11:47 am
All times are UTC + 0
Making shadows for voxels // RA2
Moderators: Global Moderators, Media Hut Moderators, Red Alert 2 Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
asvnix
Grenadier


Joined: 14 Dec 2008
Location: EXUSSR

PostPosted: Wed Apr 15, 2009 3:04 pm    Post subject:  Making shadows for voxels // RA2 Reply with quote  Mark this post and the followings unread

Who knows how to make units consisted from several parts display proper shadow?

arts.ini of heli

[Haul] ; Soviet transport heli Haul
Voxel=yes
DisableVoxelCache=yes ; SJM: this is a major cache hog
DisableShadowCache=yes ; SJM: this too
Remapable=yes
TurretOffset=50
PrimaryFireFLH=175,0,10
ShadowIndex=2 ;order of voxels got changed



problems_with_shadows.png
 Description:
 Filesize:  148.14 KB
 Viewed:  1649 Time(s)

problems_with_shadows.png



Back to top
View user's profile Send private message
Regulus
Commander


Joined: 16 Feb 2008
Location: The Lone Star State

PostPosted: Wed Apr 15, 2009 3:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

it has something to do with

ShadowIndex

for instance, if you set it up correctly, the voxel hierarchy of your helicopter should be

0: Blade
1: Helicopter Body

No?

Anyway, if this is true, than you need to add the line

ShadowIndex = 1
which will cause the game to render the body's shadow rather than the blade's.

Same goes with your mechs. I don't know if you can force the game to render all voxel shadows.

_________________
You come for the modding but you stay for the Crap Forum.

Back to top
View user's profile Send private message Skype Account
Roadwarrior
Energy Commando


Joined: 15 Jan 2007
Location: Oklahoma

PostPosted: Wed Apr 15, 2009 3:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Man, those mechs are old.

_________________

Back to top
View user's profile Send private message Skype Account AIM Address
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1800s ][ Queries: 14 (0.0103s) ][ Debug on ]