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 7:12 pm
All times are UTC + 0
Bunker Becomes Invisible ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Dec 09, 2021 3:13 am    Post subject:  Bunker Becomes Invisible ? Reply with quote  Mark this post and the followings unread

I downloaded the DaFools Pack and found a nice bunker for yuri but when units enter it becomes invisible and when they leave it reappears.

[YBUNK]
UIName=Name:Yuri Stronghold
Name=Yuri Stronghold
Image=NBUNKV2
Adjacent=3
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Armor=steel
BaseNormal=no
BuildCat=Combat
Prerequisite=BARRACKS
Capturable=true
ClickRepairable=yes
Cost=750
Crewed=no
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris10lg,Dbris10sm
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
IsBaseDefense=yes
MaxDebris=15
Owner=YuriCountry
Powered=no
Sight=6
Strength=750
TechLevel=1
CanBeOccupied=yes
MaxNumberOccupants=8
CanOccupyFire=yes
AntiInfantryValue=25
AntiArmorValue=12
AntiAirValue=0
WantsExtraSpace=yes


[YBUNK]
Image=NBUNKV2
Foundation=2x2
Height=4
NewTheater=yes
Buildup=NBUNKV2MK
DemandLoadBuildup=true
FreeBuildup=true
;DemandLoad=true
MuzzleFlash0=-28,-3
MuzzleFlash1=-29,-5
MuzzleFlash2=3,16
MuzzleFlash3=2,16
MuzzleFlash4=-18,9
MuzzleFlash5=-20,10
MuzzleFlash6=26,10
MuzzleFlash7=24,10
DamageFireOffset0=1,8
CanHideThings=true
CanBeHidden=false
OccupyHeight=1
AltPalette=yes Even if I include this or remove it the bunker still becomes invisible



gamemd 2021-12-08 21-49-53-62.jpg
 Description:
 Filesize:  166.15 KB
 Viewed:  901 Time(s)

gamemd 2021-12-08 21-49-53-62.jpg



gamemd 2021-12-08 21-50-00-11.jpg
 Description:
 Filesize:  155.47 KB
 Viewed:  901 Time(s)

gamemd 2021-12-08 21-50-00-11.jpg



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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Dec 09, 2021 3:37 am    Post subject: Reply with quote  Mark this post and the followings unread

The SHP is missing frames, it was made to be a civilian building pre-placed on a map, buildable bunkers require a few extra frames to work though.

Open the file in SHP Builder & make duplicates of the needed frames, look at the SHP for the Soviet battle bunker as reference.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Dec 09, 2021 8:22 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh I see its missing the Garrison frames.
I have no Idea how to make those.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Dec 09, 2021 8:48 am    Post subject: Reply with quote  Mark this post and the followings unread

As I said you can use SHP Builder to copy & paste some extra frames.

Open the SHP file & then at the top menu go to Edit > Mass Frame Operations > Copy Frames. Set which frames you want to copy with the "From/To" settings, then were you want the new frames to be added with "Destination" & also set "Copy Shadow Frames" to yes too.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Dec 09, 2021 2:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

So you mean to copy the soviet bunker garrison frames to the yuri bunker frames ?

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Dec 09, 2021 3:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, copy the first frame of the Yuri Bunker & add it to the end of the SHP. Just look at the Soviet Bunker SHP as a reference to see how many frames you need to add.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Fri Dec 10, 2021 1:09 am    Post subject: Reply with quote  Mark this post and the followings unread

That first frame of yours. From Yuri bunker.
See, in order to bunker work properly, it must have 4 frames: regular, damaged, garrisoned regular and garrisoned damaged.
That means 8 frames at all because 4 are shadow frames. So, the bunker uses first two frames as any other regular building. Once garisoned, it switches to third and fourth frame, with third frame being regular and fourth damaged.
Simple as this: 1, 2, 3, 4. 1 and 2 are regular. Once infantry is inside 3 and 4 are being used instead of 1 and 2. When the infantry is out of bunker, 1 and 2 are used. I do not know how to explain you this more simple.

_________________

PPM Halloween Season 2021

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


Joined: 07 Mar 2013

PostPosted: Sat Dec 11, 2021 5:09 am    Post subject: Reply with quote  Mark this post and the followings unread

MasterHaosis, you and Mig explained it well.

What I did though was extract the images and I'm going to try to make my own garrison frames.

I'm just going to need help putting it back into the game.
This will help my because I plan on making lots of new civilian buildings for the game.



ydbunk 0001.png
 Description:
 Filesize:  7.17 KB
 Viewed:  779 Time(s)

ydbunk 0001.png



ybunk 0000.png
 Description:
 Filesize:  6.24 KB
 Viewed:  779 Time(s)

ybunk 0000.png



Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 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.1858s ][ Queries: 17 (0.0115s) ][ Debug on ]