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 Sun Dec 22, 2024 5:24 am
All times are UTC + 0
Building The Power Plant Without Prerequisite ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Chem Warrior


Joined: 07 Mar 2013

PostPosted: Fri Jul 26, 2024 11:24 am    Post subject:  Building The Power Plant Without Prerequisite ? Reply with quote  Mark this post and the followings unread

How can I build the allied power plant without needing any Prerequisite ?

In the AI mod called VS_INI version 21, you cannot build anything past the barrack and refinery.

It worked earlier today but when I shutoff the computer and then later on turned it on and started the game, I could only build the barracks and refinery as the construction yard was the Prerequisite.

Last time this happened I assigned the barracks as the Prerequisite for the power and it worked but now, without editing anything, the power does not appear even though the barracks are the Prerequisite

I assigned the refinery as the Prerequisite and it still does not work.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Jul 26, 2024 11:50 am    Post subject: Reply with quote  Mark this post and the followings unread

The game's code doesn't just magically change itself, you must have done something...

The power plant should have the construction yard as the prerequisite, if you dont have a construction yard then you cant build anything anyway.

_________________



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
Chem Warrior


Joined: 07 Mar 2013

PostPosted: Fri Jul 26, 2024 8:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

NOPE not at all.
For me to get the power plant I had to create a second mcv that deploys into the power plant.

I then had to remove the power plant as a prerequisite for the warfactory so that when I built the barracks, the factory was now buildable and then I could build the mcv that deploys into the power plant and it worked.

I just lost a game and when I started to play again and deploy the deployable mcv power plant, the moment that it went to deploy the plant, the plant sold itself or under-deployed and was gone.

This is without me editing anything.
Quote:
The power plant should have the construction yard as the prerequisite
Plant does not show up in the menu.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Jul 26, 2024 9:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Post your code.

_________________



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
Chem Warrior


Joined: 07 Mar 2013

PostPosted: Fri Jul 26, 2024 10:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is for the AI mod VS_INI.

I have tried the pillbox, refinery and warfactory as the Prerequisite for the power plant and none of them work.


I have copied the original code over from the zip file and it does not work


The only editing that I did was add 2 new tanks and a new pillbox and everything was working fine for 2 weeks until recently this started

; Allied power plant
[GAPOWR]
UIName=Name:GAPOWR
Name=Allied Power Plant
BuildCat=Power
Prerequisite=GACNST
Strength=750
Armor=wood
TechLevel=2
Adjacent=14
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=900
Points=40
Power=250
Capturable=true
Crewed=yes
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
Upgrades=1
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRS10SM
MaxDebris=18
MinDebris=12
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=300, 300, 450
TogglePower=no
Spyable=yes ; A spy can do something to this, works like captureable
DieSound=PowerPlantDie
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
Drainable=no
PoweredSpecial=yes
Explodes=yes
DeathWeapon=APPPayload
BaseNormal=no
ImmuneToPsionicWeapons=no
CanC4=yes
VoiceSelect=CameraSwitch
DestroyAnim=GAPOWRDM
NaturalParticleSystem=ABuildSmokeSys
NaturalParticleLocation=130,130,-100
EligibleForDelayKill=yes

[GAPOWRUP]
UIName=Name:GAPOWRUP
Name=Power Turbine Upgrade
Image=GAPOWR_B
BuildCat=Combat
Prerequisite=GAPOWR,GAROBO
Armor=wood
TechLevel=3
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Cost=700
Points=10
AIBuildThis=yes
Power=250
Capturable=no
Crewed=no
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
PowersUpBuilding=GAPOWR
BuildTimeMultiplier=1.2
PowersUpToLevel=-1
ThreatPosed=0

[GAPOWRUPB]
UIName=Name:GAPOWRUP
Name=Power Turbine Upgrade AI
Image=GAPOWR_B
BuildCat=Combat
Prerequisite=GAPOWR,GAPILE
Armor=wood
TechLevel=-1
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Cost=700
Points=10
AIBuildThis=yes
Power=250
Capturable=no
Crewed=no
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
PowersUpBuilding=GAPOWR
BuildTimeMultiplier=.5
PowersUpToLevel=-1
ThreatPosed=0

[GAPOWRUPC]
UIName=Name:GAPOWRUP
Name=Power Turbine Upgrade AI
Image=GAPOWR_B
BuildCat=Combat
Prerequisite=GAPOWR,GAPILE
Armor=wood
TechLevel=-1
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Cost=700
Points=10
AIBuildThis=yes
Power=250
Capturable=no
Crewed=no
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
PowersUpBuilding=GAPOWR
BuildTimeMultiplier=.5
PowersUpToLevel=-1
ThreatPosed=0

[GAPOWRUPD]
UIName=Name:GAPOWRUP
Name=Power Turbine Upgrade AI
Image=GAPOWR_B
BuildCat=Combat
Prerequisite=GAPOWR,GAPILE
Armor=wood
TechLevel=-1
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Cost=700
Points=10
AIBuildThis=yes
Power=250
Capturable=no
Crewed=no
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
PowersUpBuilding=GAPOWR
BuildTimeMultiplier=.5
PowersUpToLevel=-1
ThreatPosed=0

[GAPOWRUPE]
UIName=Name:GAPOWRUP
Name=Power Turbine Upgrade AI
Image=GAPOWR_B
BuildCat=Combat
Prerequisite=GAPOWR,GAPILE
Armor=wood
TechLevel=-1
Sight=1
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0
Cost=700
Points=10
AIBuildThis=yes
Power=250
Capturable=no
Crewed=no
Explosion=TWLT070XB,S_BANG48XB,S_CLSN58XB,S_TUMU60XB,TWLT070X,,S_BANG48X,S_CLSN58X,S_TUMU60X,FLAMEGUYX,FLAMEGUYX,SCFX,SCFX
PowersUpBuilding=GAPOWR
BuildTimeMultiplier=.5
PowersUpToLevel=-1
ThreatPosed=0

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


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Sat Jul 27, 2024 3:36 am    Post subject: Reply with quote  Mark this post and the followings unread

So, you want upgrades for a building which is deployable only?

You haven't clearly expained your intent nor your problem.

Anyways, you can try removing the power-ups (including from lists and such)

You can also try changing BuildCat=Power  to Combat

I also believe Adjacent=14 is too much, way more than any vanilla building.

_________________

Back to top
View user's profile Send private message Visit poster's website
adamstrange
Chem Warrior


Joined: 07 Mar 2013

PostPosted: Tue Jul 30, 2024 4:40 am    Post subject: Reply with quote  Mark this post and the followings unread

NimoStar

I didn't create the upgrades, I was just adding some of my units into the VS_INI Ai mod.

The creator of this mod ia genius.

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