:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Tue Apr 24, 2018 6:21 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
SHP Aircraft Impossible?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
PussyPus
Cyborg Commando


Joined: 14 Jul 2015
Location: The Arab Country, Time Travel?

PostPosted: Fri Apr 13, 2018 12:09 pm    Post subject:   SHP Aircraft Impossible? Reply with quote

I came across this topic today: https://forums.revora.net/topic/86327-shp-aircraft-and-shp-rotors/ I know when it was posted.

I saw many aircrafts as SHP, but i mainly wanted to ask how to make an SHP Aircraft? i know it's easy but what makes it hard is the shadow, usually the Artwork is hiding the full shadow, but when i ascend the model, the shadow is getting even more to the right, is there a way to get rid of this?
_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .


Back to top
View user's profile Send private message Skype Account
4StarGeneral
Commander


Joined: 14 Sep 2006
Location: Constant Flux

PostPosted: Fri Apr 13, 2018 12:23 pm    Post subject: Reply with quote

I don't think you can stop the shadow from doing that, but you can include the shadow in the WalkFrames and FiringFrames of the aircraft (the same thing WW did with infantry) with NoShadow=yes, but even then when it lands it will be wrong until it is on it's StandingFrames.
_________________
"Don't beg for things; Do it yourself or you'll never get anything."
Lin Kuei Ominae wrote:
wrong forum. this is not minecraft.


Back to top
View user's profile Send private message Send e-mail
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Apr 13, 2018 1:02 pm    Post subject: Reply with quote

JumpJet logic makes the engine render a fake(*) shadow even with SHP units in TS. Not sure about RA2.

(*) it simply takes the normal image, changes every colored pixel into shadow and draws that on the ground below the unit.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
cxtian39
Tiberian Fiend


Joined: 11 Feb 2016
Location: The United States of China

PostPosted: Fri Apr 13, 2018 11:37 pm    Post subject: Reply with quote

The shadow should be right below, so your shadow caster should be right above the main mesh. when rendering shadow you should make the main mesh not visible to the camera.
http://www.moddb.com/mods/yuris-revenge-aircraft-factory-mod/videos/lightning-storm-harbinger-test


mgtr.png
 Description:
No problem for landing
 Filesize:  253.28 KB
 Viewed:  211 Time(s)

mgtr.png



mgtr.shp
 Description:
Take a look at this one. Shadow is just fine.

Download
 Filename:  mgtr.shp
 Filesize:  974.65 KB
 Downloaded:  5 Time(s)


_________________
+1s +1s +1s

Back to top
View user's profile Send private message
PussyPus
Cyborg Commando


Joined: 14 Jul 2015
Location: The Arab Country, Time Travel?

PostPosted: Mon Apr 16, 2018 6:14 pm    Post subject: Reply with quote

Making the mesh invisible is easy but i don't know how to do it with the shadow visible, i tried a new trick for the 1st time, i thought getting the mesh for example 8 times above, then 4 times to left and 4 times to back in (ZYX), i move it with pressing [Ctrl], the mesh is in different position, but the shadow is still it's like in the center.
_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .


Back to top
View user's profile Send private message Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Apr 16, 2018 7:05 pm    Post subject: Reply with quote

Oh, so this isn't about the game or any coding at all.
It's just about how to use the 3d modeling program (whose name you haven't even provided so far, which would be the most crucial information to give, if you expect a clear answer in the first place).

Forum: Media Hut
Topic Title: How to create custom shadow position?
Question: How can i use (insert name of your 3d modeling tool here) to create the shadow right below the object?

See, wouldn't that have been much easier for all of us?

And the answer would be also easy. Use google to find any tutorial about using light sources in (insert 3d modeling program name here).
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
PussyPus
Cyborg Commando


Joined: 14 Jul 2015
Location: The Arab Country, Time Travel?

PostPosted: Thu Apr 19, 2018 11:55 am    Post subject: Reply with quote

The problem wasn't the shadow while the shp aircraft is landed, the main problem is when the aircraft start to take off and then flying in the air, the shadow will be corrupt, because i rendered the shadow with the mesh in the center, so how cxtian39 done that shp aircraft? By making the mesh invisible?, and if yes, then how to? (I use Blender)
_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .


Back to top
View user's profile Send private message Skype Account
cxtian39
Tiberian Fiend


Joined: 11 Feb 2016
Location: The United States of China

PostPosted: Thu Apr 19, 2018 8:44 pm    Post subject: Reply with quote

Emmm, don't know Blender.
In max you right click->object properties->uncheck "visible to camera"
_________________
+1s +1s +1s

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


Joined: 14 Sep 2006
Location: Constant Flux

PostPosted: Fri Apr 20, 2018 12:23 am    Post subject: Reply with quote

An answer to a question that's been asked a hundred times before on the internet? No way!
_________________
"Don't beg for things; Do it yourself or you'll never get anything."
Lin Kuei Ominae wrote:
wrong forum. this is not minecraft.


Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
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

Wildcard SSL Certificates
[ Time: 0.1201s ][ Queries: 15 (0.0062s) ][ Debug on ]