:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: 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 Mon Aug 03, 2020 5:13 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Animation issues on Tech Oil Derrick
Moderators: Ares Support Team at PPM, 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
Savoy
Civilian


Joined: 29 Jul 2020

PostPosted: Fri Jul 31, 2020 7:33 am    Post subject:  Animation issues on Tech Oil Derrick Reply with quote

I want to make another Tech Oil Derrick that instead of using an Engineer, you garrison your troops into it to make it works as normal.
The code I used for it:

Spoiler (click here to read it):
[CAOILD2]
UIName=Name:CAOILD2
Image=CAOILD2
Name=Tech Oil Fortress
TechLevel=-1
Strength=1000
Insignificant=yes
Nominal=yes
Sight=6
Points=5
Armor=steel
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRIS7LG,DBRIS7SM
MaxDebris=8
MinDebris=4
Unsellable=yes
ProduceCashStartup=0
ProduceCashAmount=60
ProduceCashDelay=100
WorkingSound=OilDerrickLoop
LeaveRubble=yes
RadarVisible=yes
CanBeOccupied=yes
MaxNumberOccupants=4
CanOccupyFire=yes


The issue I have is about its animation. I copied all the CAOILD animations to it. As far as I know there are two parts of the CAOILD image (the red and blue part in this picture). When I try to garrison to it, the blue part's animation works as normal, but the red part's animation becomes like when it's on fire (very low health).
What should I do to fix this?
Thanks in advance.


Untitled.png
 Description:
 Filesize:  318.72 KB
 Viewed:  125 Time(s)

Untitled.png



_________________
Embrace the night sky above you... then go to sleep.

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


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Jul 31, 2020 8:25 am    Post subject: Reply with quote

That'd be because the garrison frame is the third frame of the building's SHP.
It's a copy of the second frame, the damage frame.

To fix, empty the third frame (don't delete it!), then copy the first frame onto the now-empty third frame. Repeat the procedure for the shadow frames with frames 4 and 6.

Look at the Battle Bunker for how to make garrisons not auto-evacuate when damaged like all civilian buildings.

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID Skype Account
Savoy
Civilian


Joined: 29 Jul 2020

PostPosted: Fri Jul 31, 2020 9:34 am    Post subject: Reply with quote

Alright, I've done it! Thanks a lot.
Although the art was in SNOW theater but I think that's a way to distinguish it from the original CAOILD.


Untitled.png
 Description:
 Filesize:  272.27 KB
 Viewed:  105 Time(s)

Untitled.png



_________________
Embrace the night sky above you... then go to sleep.

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


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Jul 31, 2020 9:49 am    Post subject: Reply with quote

Savoy wrote:
Although the art was in SNOW theater

...what did you do, exaclty?

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID Skype Account
Savoy
Civilian


Joined: 29 Jul 2020

PostPosted: Fri Jul 31, 2020 10:03 am    Post subject: Reply with quote

I cannot find the TEMPERATE version of CAOILD in my ra2.mix, so I have no choice but to use SNOW as a substitude...
But it's quite good, you think?
_________________
Embrace the night sky above you... then go to sleep.

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


Joined: 05 Oct 2011

PostPosted: Fri Jul 31, 2020 11:13 am    Post subject: Reply with quote

Non-Snow of the Oil Derricks is listed as CTOILD.shp & CTOILD_A.shp
_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Fri Jul 31, 2020 1:20 pm    Post subject: Reply with quote

Buildings that have theater-specific art use the second letter in the filename to distinguish between theaters. Hence CAOILD -> CTOILD
_________________


Back to top
View user's profile Send private message Visit poster's website
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Fri Jul 31, 2020 4:56 pm    Post subject: Reply with quote

See here: https://www.modenc.renegadeprojects.com/Theatres
You have 6 theaters in total.

Generic is used if the theater-specific art doesn't exist. If theater-specific art does exist, generic is overridden by theater-specific art.
Generic SHPs are identified by the g as the second character in the file name; CGOILD
(note generic doesn't have to exist and you can just use theater-specific art instead. Wouldn't recommend it tho as it'd mean having 5 separate copies (we're excluding snow for obvious reasons) of the same SHP, but under a different name. Only use this if there's actually a visual difference between the theater-specific SHPs, something that WW didn't put to good use outside of snow/arctic)

Temperate uses the letter t; CTOILD

Snow/arctic uses the letter a; CAOILD

Urban uses the letter u; CUOILD

Desert uses the letter d; CDOILD

NewUrban uses the letter n; CNOILD

Lunar uses the letter l; CLOILD

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


Joined: 14 Sep 2006
Location: Constant Flux

PostPosted: Fri Jul 31, 2020 8:06 pm    Post subject: Reply with quote

Just proliferate some sandbags from another structure, copy the first frame over the 3rd, add said sandbags, and boom, you have the art you need. Rename it to all the ones Tak02 listed and you should be good to go.


ctoild 0000.png
 Description:
 Filesize:  17.9 KB
 Viewed:  35 Time(s)

ctoild 0000.png



_________________
"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
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 » Ares (Unofficial 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

[ Time: 0.1892s ][ Queries: 15 (0.0186s) ][ Debug on ]