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 Tue Apr 16, 2024 5:40 pm
All times are UTC + 0
Need support for Ares 32 facing SHP
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [19 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jan 04, 2016 9:41 am    Post subject:  Need support for Ares 32 facing SHP
Subject description: immigrating to Ares
Reply with quote  Mark this post and the followings unread

Since initial payload is much more playable than most NP features, EASB Hour is immigrating to Ares. But there is one problem. We used the old format 32 facing shp vehicles which start at 33.75°, but Ares requires to start at 0. So is there any faster way to solve this SHP problem or just accept that pain, remaking them all?

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Mon Jan 04, 2016 2:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nope, no easy way to do it. You'll have to render and convert the files again.
Or you can export the shp to images, change the order of the frames, use batch rename and import it again. But there's no way to do it by adding a simple line of code.

BTW, Ares doesn't change anything here. RA2 and YR both have vehicle SHPs start from 0, and it was expanded for 16 and 32 facings. It's NPatch that changed it for some reason.

...Actually, you could try copying this change from NPatch to a custom exe of yours, and force people to run your mod with it from now on. Don't know how much you need to change for that, though, or whether it will affect Ares.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jan 04, 2016 3:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'd assume c'n'ping that hack would either not work either would break Ares.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jan 04, 2016 8:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Any hope I can ask for a custom Ares that changes starting angle to 33.75? Very Happy

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Tue Jan 05, 2016 12:24 am    Post subject: Reply with quote  Mark this post and the followings unread

I think Ares does it right, so whatever number of frames a unit has, it will always start with the one frame facing north.

A (global) tag could help here, though I'm not sure how interesting this would be.

_________________

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Tue Jan 05, 2016 9:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Never said Ares has something wrong. But remaking all SHPs will be a great pain both for me and SHP Builder.

BTW. Ares emp can't get the black effect on SHP units.

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Tue Jan 05, 2016 1:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh Yeah. Black effect would be great.
I wonder why can't it be done since tinting both voxels and shps are possible (chaos gas effect makes all affected units red, regardless of SHP or VXL)

_________________

PPM Halloween Season 2021

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


Joined: 31 May 2010
Location: Germany

PostPosted: Tue Jan 05, 2016 9:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

kenosis: It wasn't meant as an offense.

MasterHaosis: The default case is that things don't work, and people have to code something to make it work. It's not like I added code there to prevent tinting in case of EMP.

_________________

Back to top
View user's profile Send private message
Isaac_The_Madd
AA Infantry


Joined: 16 Jul 2015

PostPosted: Tue Jan 05, 2016 9:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think this calls for a mass frame readjustment tool for SHPs, well that is what would be needed in this case.

Back to top
View user's profile Send private message
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Wed Jan 06, 2016 8:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

AlexB wrote:
MasterHaosis: The default case is that things don't work, and people have to code something to make it work. It's not like I added code there to prevent tinting in case of EMP.

I never said that you did. WW did not code it.
I just meant that its not something which is impossible to do, since tinting SHPs in another way is possible, in case of chaos gas effects. Logically, chaos tint was coded in YR, EMP is leftover from TS, but also in YR they introduced tinting of robot tanks when offline. I really do not remember what happens in TS when unit is disabled via EMP, perhaps it does not tint, just got spark effects. Cyborgs as well

_________________

PPM Halloween Season 2021

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


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Wed Jan 06, 2016 8:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

MasterHaosis wrote:
in YR they introduced tinting of robot tanks when offline. I really do not remember what happens in TS when unit is disabled via EMP, perhaps it does not tint, just got spark effects.


Those are voxels. IIRC they 'play' the particle effect that is used for repairing vehicles.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
Josh Is 25% Larger
Vehicle Drone


Joined: 17 Apr 2013

PostPosted: Thu Jan 07, 2016 10:18 am    Post subject: Reply with quote  Mark this post and the followings unread

You could create a simple program or script which renames the files exported from SHP builder. So it's basically export -> run script -> import. Fast and easy.

Back to top
View user's profile Send private message
Josh Is 25% Larger
Vehicle Drone


Joined: 17 Apr 2013

PostPosted: Thu Jan 07, 2016 10:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Isaac_The_Madd wrote:
I think this calls for a mass frame readjustment tool for SHPs, well that is what would be needed in this case.

There are loads of good stuff that could have been added to SHP Builder but Banshee doesn't care about this programs.

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Thu Jan 07, 2016 3:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Such a script is in use for about 2 years. But do you even know how much time SHP Builder will take to import some 4800 frames? And for someone's sake, it doesn't give me "not enough memory"

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Last edited by kenosis on Thu Jan 07, 2016 3:06 pm; edited 1 time in total

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
4StarGeneral
General


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Thu Jan 07, 2016 3:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

I don't know what your beef with Banshee is, he works hard enough on everything, but you don't need to have that as the only reason you ever post. Take your bashing elsewhere as it's hardly on topic.

_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Fri Jan 08, 2016 9:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

I can't imagine this being implemented because it's not a bug fix or extension of existing logics.

Just because NPatch had features to work one way doesn't mean Ares should provide this "support" as completely separate projects.

Also in regards to the dimming and colour effects, just  because one feature has it, doesn't make it a simple copy and paste job.

In the perfect world, warheads could custom tint voxels and shps or even buildings but I won't expect this to be a high priority.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Sun Jan 10, 2016 9:18 am    Post subject: Reply with quote  Mark this post and the followings unread

seems there is a problem with initial payload, passengers' FLH is used, not the transport's AlterFLH*

And, if cellspread max effect =1 added to a warhead without cellspread, it can't hit moving target

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
RehteA
Soldier


Joined: 16 Oct 2013

PostPosted: Sun Jan 10, 2016 2:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

kenosis wrote:
seems there is a problem with initial payload, passengers' FLH is used, not the transport's AlterFLH*


If passenger is vehicle type, its FLH is used.
It seems only infantry passenger use AlterFLH.

Actually, it's not a problem for me since the turret effect is kept.
It may even get very good effects.
Of course,it's better if AlterFLH and FLH are used together.



wave.gif
 Description:
 Filesize:  443.93 KB
 Viewed:  3285 Time(s)

wave.gif



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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Sun Jan 10, 2016 6:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

really. Can be used to create all kinds of spinning.



fast.gif
 Description:
 Filesize:  1.23 MB
 Viewed:  3253 Time(s)

fast.gif



_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [19 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.1860s ][ Queries: 15 (0.0137s) ][ Debug on ]