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 Thu Apr 18, 2024 7:18 pm
All times are UTC + 0
What did i do wrong?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bos187
Disk Thrower


Joined: 25 Jan 2007
Location: Maastricht, The Netherlands

PostPosted: Sun Jan 20, 2008 5:50 pm    Post subject:  What did i do wrong?
Subject description: i put some modding code into a Bay of pigs remake.. and now i get internal errors
Reply with quote  Mark this post and the followings unread

Here's the code:
Code:
[CALAB]
Name=RA2 Einstein's Lab
Armor=steel
Sight=6
Points=5
UIName=Name:EinsteinLab
Nominal=yes
Primary=AlliedOccupyW
Strength=1000
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=0
Secondary=SovietOccupyW
TechLevel=-1
BaseNormal=no
Capturable=true
LeaveRubble=yes
CanBeOccupied=no
Insignificant=yes
RadarInvisible=yes
ClickRepairable=yes
MaxNumberOccupants=10

[CARUS03]
Name=RA2 Russain Kremlin Palace
Armor=concrete
Sight=6
Points=5
UIName=Name:CARUS03
Nominal=yes
Primary=AlliedOccupyW
Strength=1000
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
Secondary=SovietOccupyW
TechLevel=-1
BaseNormal=no
Capturable=true
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris10sm,Dbris9lg
LeaveRubble=yes
CanBeOccupied=no
Insignificant=yes
RadarInvisible=yes
ClickRepairable=yes
MaxNumberOccupants=10

[HOWI]
ROT=5
Cost=750
Name=Howitzer
Size=3
Armor=light
Image=HWTZ
Owner=British,French,Germans,Americans,Alliance
Sight=8
Speed=5
Points=25
Turret=no
UIName=Name:HOWI
Crusher=yes
Primary=HowitzerGun
Category=AFV
IsTilter=yes
Strength=200
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MaxDebris=2
TechLevel=-1
VoiceMove=GenAllWaterMove
Accelerates=false
CrateGoodie=no
ThreatPosed=15
VoiceAttack=GenAllWaterAttackCommand
VoiceSelect=GenAllVehicleSelect
ElitePrimary=GrandCannonWeapon
MovementZone=Normal
Prerequisite=CALAB
ImmuneToVeins=yes
VoiceFeedback=
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
RequiredHouses=Alliance
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
DamageParticleSystems=SparkSys,SmallGreySSys
IsSelectableCombatant=yes
TooBigToFitUnderBridge=true
AllowedToStartInMultiplayer=no

[VLAD]
ROT=1
Cost=2500
Name=Vladimir's Dreadnought
Size=50
Armor=heavy
Naval=yes
Owner=Russians,Confederation,Africans,Arabs
Sight=8
Speed=8
Crewed=no
Points=55
Spawns=DMISL
Turret=no
UIName=Name:VLADBOAT
Weight=4
Crusher=no
Primary=BoomerTorpedo
Category=Support
DieSound=
Strength=1500
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
FireAngle=32
Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C}
Secondary=DredLauncher
SpeedType=Float
TechLevel=1
ToProtect=yes
VoiceMove=GenSovWaterMove
GuardRange=10
NoSpawnAlt=yes
CrateGoodie=no
ThreatPosed=25
VoiceAttack=GenSovWaterAttackCommand
VoiceSelect=GenSovWaterSelect
ElitePrimary=BoomerTorpedoE
MovementZone=Water
Prerequisite=CARUS03
SinkingSound=GenLargeWaterDie
SpawnsNumber=2
VoiceFeedback=
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
EliteSecondary=DredLauncherE
SpawnRegenRate=80
ForbiddenHouses=Russians
SpawnReloadRate=0
CanPassiveAquire=no
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
DamageParticleSystems=SparkSys,SmallGreySSys
IsSelectableCombatant=yes
TooBigToFitUnderBridge=true
AllowedToStartInMultiplayer=no


I don't quite see where the error is :S

_________________

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


Joined: 07 Apr 2005

PostPosted: Sun Jan 20, 2008 5:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

If a internal error occurs, upload the except.txt.

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Jan 20, 2008 6:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Are you modding RA2 or YR? If it's YR, you don't need Primary=AlliedOccupyW and Secondary=SovietOccupyW in your codes. BTW, if you want those buildings to be occupied, why do you have CanBeOccupied=no?
I suggest looking trough your codes a bit better, and comparing them to civilian buildings coded by WW...

Back to top
View user's profile Send private message Send e-mail Skype Account
Bos187
Disk Thrower


Joined: 25 Jan 2007
Location: Maastricht, The Netherlands

PostPosted: Sun Jan 20, 2008 6:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

actually, i don't want them to be occupied, but captured instead.
hmm but i'll see if this is the problem..

It's yuri's revenge

EDIT: The occupy weapons were the problem indeed.
Thank you guys Smile

_________________

Back to top
View user's profile Send private message Skype Account
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Jan 20, 2008 8:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hehe, np dude Wink

Back to top
View user's profile Send private message Send e-mail Skype Account
Bos187
Disk Thrower


Joined: 25 Jan 2007
Location: Maastricht, The Netherlands

PostPosted: Thu Jan 31, 2008 9:01 am    Post subject: Reply with quote  Mark this post and the followings unread

By the way, Vladimir's Command ship doesn't use his missiles anymore, only the torpedos... The code is still in the first post. Once again: what am i doing wrong?
And yes, even if i tell it to attack land units (like the enemy construction yard) he tries to fire torpedos, which of course explode when they hit the shore. :/

_________________

Back to top
View user's profile Send private message Skype Account
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Thu Jan 31, 2008 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

That are some more advanced codes. I will see if I can find those when I get home...

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


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Thu Jan 31, 2008 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do you want it to fire missiles at the ground units? If so, you have to add the missile code as the secondary, along with Spawns, etc.

Also, look at the NavalTargeting= code it most likely needs to be 6, but I'm not exactly sure, as I can't look at it ATM. It will tell you what number you need at the end of the, "this code does this" list just above the start of the infantry.

_________________
"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 Feb 29, 2008 11:54 am    Post subject: Reply with quote  Mark this post and the followings unread

A bit of a late post but looking at the boomer sub code would have solved that issue easily.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 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.1397s ][ Queries: 11 (0.0097s) ][ Debug on ]