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 Apr 19, 2024 12:02 pm
All times are UTC + 0
Who can write codes for Soviet Tank Bunker?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
lilyroads
Civilian


Joined: 24 Feb 2010

PostPosted: Sat Jul 16, 2011 8:16 am    Post subject:  Who can write codes for Soviet Tank Bunker?
Subject description: Thanks a lot.
Reply with quote  Mark this post and the followings unread

Today I find a very nice tank bunker on the Internet, but I cannot write correct codes for the SHP. It seems that the Art is wrong. I am upset and need some guidance. Anyone who can help me? Many thanks.
This is my codes:

Rules:
[NATNKBNK]
UIName=Name:NATNKBNK
Name=Soviet Tank Bunker
BuildCat=Combat
Prerequisite=NACNST
Strength=1000
Armor=steel
TechLevel=3
Adjacent=3
Sight=6
Bunker=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=2
Cost=400
Points=60
Power=0
Powered=false
Capturable=false
Crewed=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris9lg,Dbris10lg,Dbris10sm
MaxDebris=15
MinDebris=5
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=220, 390, 150
AIBuildThis=no
ImmuneToPsionics=no
NumberOfDocks=1
NumberImpassableRows=0
HasStupidGuardMode=false
AntiInfantryValue=10
AntiArmorValue=25
AntiAirValue=0
BaseNormal=no

Art:
[NATNKBNK]
Image=NATNKBNK
Cameo=SOVTNKBNKICON
Remapable=yes
Foundation=2x2
Height=3
Buildup=NATNKBNKMK
BibShape=NATNKBNKBB
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
Normalized=yes
Flat=yes
DockingOffset0=-1,-1,0
CanHideThings=False
CanBeHidden=False
OccupyHeight=2

SpecialAnim=NATNKBNK_A
SpecialAnimDamaged=NATNKBNK_B
SpecialAnimZAdjust=10
SpecialAnimYSort=750

[NATNKBNK_A]
Normalized=yes
Start=0
LoopStart=9
LoopEnd=10
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes

[NATNKBNK_B]
Image=NATNKBNK_A
Normalized=yes
Start=10
LoopStart=19
LoopEnd=20
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes



natnkbnk.gif
 Description:
Pics
 Filesize:  16.18 KB
 Viewed:  4543 Time(s)

natnkbnk.gif



natnkbnk.rar
 Description:
SHPs

Download
 Filename:  natnkbnk.rar
 Filesize:  208.91 KB
 Downloaded:  125 Time(s)


Back to top
View user's profile Send private message
Kcirevam
Rocket Infantry


Joined: 15 Jun 2011
Location: "Where do you want setup?".

PostPosted: Sat Jul 16, 2011 8:34 am    Post subject: Reply with quote  Mark this post and the followings unread

Where did you download this?, Migeater's or madhq's ?, didn't he supply the code?.

_________________
Also known as superluigi949 and SuperMario949.
Banned for pretending to be someone else.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Palkia323
Pyro Sniper


Joined: 10 May 2008

PostPosted: Sat Jul 16, 2011 8:40 am    Post subject: Reply with quote  Mark this post and the followings unread

I noticed no errors in the code...

Then again I haven't modded/played RA2 in over two years.

_________________
Tore wrote:
Oh noes Nod32 must have found some GDI32 in the art.ini file!

3ds Topic
Clicky

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Jul 16, 2011 9:06 am    Post subject: Reply with quote  Mark this post and the followings unread

This is MadHQ's and Mad doesn't support the code.

NATBNK's entry actually tells you (if you haven't removed the comments) how should be SpecialAnims treaten for that style.

Yes, it needs all four SpecialAnims.

_________________
"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
Kcirevam
Rocket Infantry


Joined: 15 Jun 2011
Location: "Where do you want setup?".

PostPosted: Sat Jul 16, 2011 9:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Did you add the anims to the anim list in rulesmd?.

_________________
Also known as superluigi949 and SuperMario949.
Banned for pretending to be someone else.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Jul 16, 2011 11:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Because I was totally bored:

Code:

[NATBNK];Tank Bunker
Cameo=SOVTNKBNKICON
Remapable=yes
;Palette=RA2
Foundation=2x2
Height=3
Buildup=NATNKBNKMK
BibShape=NATNKBNKBB
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
Normalized=no
;ZShapePointMove=65,35
Flat=yes
DockingOffset0=-1,-1,0;unused, but must be present.  Doocking offset depends on the direction ou are coming from
CanHideThings=False
CanBeHidden=False
OccupyHeight=2
;DoubleThick=yes ;GEF it's too light if you do it on both bulding and anim, so only do it on anim

SpecialAnim=NATNKBNK_A;Anim in front of tank
SpecialAnimDamaged=NATNKBNK_AD
SpecialAnimZAdjust=10
SpecialAnimYSort=750

SpecialAnimTwo=NATNKBNK_B; anim behind
SpecialAnimTwoDamaged=NATNKBNK_BD
SpecialAnimTwoZAdjust=-10

SpecialAnimThree=NATNKBNK_A2;In front going down
SpecialAnimThreeDamaged=NATNKBNK_A2D
SpecialAnimThreeZAdjust=-500
SpecialAnimThreeYSort=750

SpecialAnimFour=NATNKBNK_B2;behind going down
SpecialAnimFourDamaged=NATNKBNK_B2D
SpecialAnimFourZAdjust=0

[NATNKBNK_A];half of anim in front of tank
Normalized=no
Start=0
LoopStart=9
LoopEnd=10
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes

[NATNKBNK_AD];and damaged
Image=NATNKBNK_A
Normalized=no
Start=10
LoopStart=19
LoopEnd=20
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes

[NATNKBNK_A2];and in reverse
Image=NATNKBNK_A
Normalized=no
Start=0
End=10
LoopEnd=9
Rate=440
Layer=ground
NewTheater=yes
Shadow=yes
Reverse=yes;These numbers are not explicit frame numbers (as Steve points out) declare a reverse anim
;as normal (Start = 0) Once you get over the "That doesn't make any sense" hurdle, it almost makes sense
;(Ah! Code of Cthulu infecting my mind!)
DoubleThick=yes

[NATNKBNK_A2D];and in reverse damaged
Image=NATNKBNK_A
Normalized=no
Start=10
End=9
LoopEnd=9
Rate=440
Layer=ground
NewTheater=yes
Shadow=yes
Reverse=yes
DoubleThick=yes

[NATNKBNK_B];half of anim behind tank
Normalized=no
Start=0
LoopStart=9
LoopEnd=10
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes

[NATNKBNK_BD];and damaged
Image=NATNKBNK_B
Normalized=no
Start=10
LoopStart=19
LoopEnd=20
LoopCount=-1
Rate=220
Layer=ground
NewTheater=yes
Shadow=yes
DoubleThick=yes

[NATNKBNK_B2];and in reverse
Image=NATNKBNK_B
Normalized=no
Start=0
End=10
LoopEnd=9
Rate=440
Layer=ground
NewTheater=yes
Shadow=yes
Reverse=yes
DoubleThick=yes


And add the 8 animations to the Animations list, kthx.

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
EricAnimeFreak
Tiberian Fiend


Joined: 14 Sep 2009
Location: USA New England

PostPosted: Sun Jul 17, 2011 7:58 am    Post subject: Reply with quote  Mark this post and the followings unread

I got this bunker in my mod as well, I remember having issues for a while but I got it working for mine.

_________________
Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.

Enjoy Everyone!

Back to top
View user's profile Send private message Visit poster's website
LH_Mouse
Cyborg Firebomber


Joined: 10 Jan 2010
Location: The Great PRC

PostPosted: Sun Jul 17, 2011 1:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

某人伸手居然伸到ppm来了。

Copy, paste, done.

_________________
Fusion Reactor upgrade is complete.

We will prevail!!!

Back to top
View user's profile Send private message Send e-mail Skype Account
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Sun Jul 17, 2011 8:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

People should learn the magic art of copying and pasting code that exists for what they want and adapting it for their graphics.

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Jul 17, 2011 8:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thats what I do, I look for the closet match to what I'm making, use it's rules and art coding, then update/edit it as needed. Basic stuff.

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
lilyroads
Civilian


Joined: 24 Feb 2010

PostPosted: Mon Jul 18, 2011 8:51 am    Post subject: Reply with quote  Mark this post and the followings unread

I solved the problem. Thank you!

_________________
Veni, vidi, vici!

Back to top
View user's profile Send private message
lilyroads
Civilian


Joined: 24 Feb 2010

PostPosted: Mon Jul 18, 2011 9:39 am    Post subject: Reply with quote  Mark this post and the followings unread

LH_Mouse wrote:
某人伸手居然伸到ppm来了。

Copy, paste, done.

复制粘贴不是万能的,这次的问题出在素材上。另附一句:我也不是某只耗子说的伸手党。

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jul 18, 2011 11:57 am    Post subject: Reply with quote  Mark this post and the followings unread

Angolul, ha kérhetném, rendben van?! Meh.

_________________
"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
Kcirevam
Rocket Infantry


Joined: 15 Jun 2011
Location: "Where do you want setup?".

PostPosted: Mon Jul 18, 2011 12:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

Foreign language spam area, WOW.

Konnichiwa, ohio kozaimas, sayonara.

_________________
Also known as superluigi949 and SuperMario949.
Banned for pretending to be someone else.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
andrewmarley
Rocket Cyborg


Joined: 10 Oct 2010
Location: Russia

PostPosted: Mon Jul 18, 2011 12:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

К чему сейчас был этот произвольный набор фраз? Давай уже по теме

_________________

Back to top
View user's profile Send private message
andrewmarley
Rocket Cyborg


Joined: 10 Oct 2010
Location: Russia

PostPosted: Mon Jul 18, 2011 12:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Smile

Back to top
View user's profile Send private message
LH_Mouse
Cyborg Firebomber


Joined: 10 Jan 2010
Location: The Great PRC

PostPosted: Mon Jul 18, 2011 1:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

某人(1) 伸手(2) 居然(3) 伸到(4) ppm(5) (6) (7)。

(Specific reference)Somebody(1) has(7) actually(3) stretched out his hands(2,4) to(6) ppm(5).

Very Happy

_________________
Fusion Reactor upgrade is complete.

We will prevail!!!

Back to top
View user's profile Send private message Send e-mail Skype Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jul 18, 2011 5:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:
Angolul, ha kérhetném, rendben van?!


On Engish, please, OK?! Cool

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
andrewmarley
Rocket Cyborg


Joined: 10 Oct 2010
Location: Russia

PostPosted: Mon Jul 18, 2011 6:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

andrewmarley wrote:
К чему сейчас был этот произвольный набор фраз? Давай уже по теме


For what this arbitrary set of sentences was? Return to the topic already Smile

_________________

Back to top
View user's profile Send private message
lilyroads
Civilian


Joined: 24 Feb 2010

PostPosted: Tue Jul 19, 2011 1:42 am    Post subject: Reply with quote  Mark this post and the followings unread

复制粘贴不是万能的,这次的问题出在素材上。另附一句:我也不是某只耗子说的伸手党。[/quote]
Copy and paste is not a panacea, and the real problem I met lies in the lack of SHPs. By the way, I am not the guy who gets something for nothing.

Well, using my head, I have gotten my work all done. Thank you all (including the great mouse).
Wink

_________________
Veni, vidi, vici!

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