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 Mar 29, 2024 6:42 am
All times are UTC + 0
TechLevel=-1 ?????
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun May 22, 2011 4:06 pm    Post subject:  TechLevel=-1 ????? Reply with quote  Mark this post and the followings unread

Shouldnt this code prevent it from showing up in the icons list?
I mean dosent TechLevel=-1 supposed to prevent it from being buildable?

[VDEPT]
UIName=Name:VDEPT
Name=Venom Service Depot
BuildCat=Tech
Prerequisite=VCNST,VRADR,VTECH
PrerequisiteOverride=VCNST2,VRADR,VTECH
Strength=1200
Armor=wood
TechLevel=-1
Adjacent=2
Sight=5
UnitRepair=yes
Owner=Venom,RevengeForce,SpecialForces,SecretSoceity,VenomGuards
AIBasePlanningSide=1
Cost=800
Points=80
Power=-20
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=270, 580, 260
AIBuildThis=yes
NumberOfDocks=1
HasStupidGuardMode=false
NumberImpassableRows=1
ImmuneToPsionics=no

_________________

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
andrewmarley
Rocket Cyborg


Joined: 10 Oct 2010
Location: Russia

PostPosted: Sun May 22, 2011 4:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think TechLevel=-1 can make anything dissapear from any list (I tried it with infantry,vehicles and stationary weapons)

_________________

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun May 22, 2011 4:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thats what it's supposed to do, but it stills appears in the icons to be built. Hmmmm. Confused

I wonder if using PrerequisiteOverride= also overrides the techlevel.

_________________

The enemy shall be injected with toxic poison - Venom

Last edited by Cranium on Sun May 22, 2011 4:13 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Hassan_2030
Cyborg Cannon


Joined: 26 Feb 2010
Location: Inside my temple in Cairo.

PostPosted: Sun May 22, 2011 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Try it with deleted Prerequisite=VCNST,VRADR,VTECH and
PrerequisiteOverride=VCNST2,VRADR,VTECH!

_________________
If you are a member of the NSA and you are reading this, then you should know, that too much curiosity killed the cat!!!
Wenn Sie ein Mitarbeiter des BND sind und das hier lesen, sollten Sie wissen, dass zu viel Neugier der Katze Tod ist!!!

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


Joined: 10 Oct 2010
Location: Russia

PostPosted: Sun May 22, 2011 4:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

What about Buildable=no? Or it only works with units?

_________________

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun May 22, 2011 4:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Hassan, but if I do that, then it breaks the prerequisites for the AI.

_________________

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
Hassan_2030
Cyborg Cannon


Joined: 26 Feb 2010
Location: Inside my temple in Cairo.

PostPosted: Sun May 22, 2011 4:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Couldn´t that be part of the whole problem!

_________________
If you are a member of the NSA and you are reading this, then you should know, that too much curiosity killed the cat!!!
Wenn Sie ein Mitarbeiter des BND sind und das hier lesen, sollten Sie wissen, dass zu viel Neugier der Katze Tod ist!!!

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun May 22, 2011 4:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, i just tested my theory on prerequisiteOveride= and it does overide the techlevel as well. I commented out prerequisiteOverride= and it disappeared. Hmmm, damn it. That screws my whole damn plan up.

_________________

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
Hassan_2030
Cyborg Cannon


Joined: 26 Feb 2010
Location: Inside my temple in Cairo.

PostPosted: Sun May 22, 2011 4:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

I guess you tried to make a building that can be build by
AI and not by player, am I right?

_________________
If you are a member of the NSA and you are reading this, then you should know, that too much curiosity killed the cat!!!
Wenn Sie ein Mitarbeiter des BND sind und das hier lesen, sollten Sie wissen, dass zu viel Neugier der Katze Tod ist!!!

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun May 22, 2011 4:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

yeah, but, wanted to have a prerequisiteoverride so if main conyard was killed the clone conyard would still make it buildable. But I got it figured out now. DCoder informed me of the ares tags I forgot all about. Prerequisite.list= and Prerequisite.list2=

_________________

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 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.1664s ][ Queries: 11 (0.0086s) ][ Debug on ]