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 Sat Apr 20, 2024 3:00 pm
All times are UTC + 0
Mobile Structures
Moderators: Global Moderators, Tiberian Sun 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
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Fri Dec 16, 2011 11:43 pm    Post subject:  Mobile Structures
Subject description: please help!!!
Reply with quote  Mark this post and the followings unread

In my mod, I want the AI to build certain structures but only in late game, by making vehicles that are built just when I want to (as in AI.ini you can only make teams of units), and making them deploy into the high tier structures.

I did it with the Obelisk, Upgrade Center and Missile Silo: they are built, but the AI doesn't deploy them.... although when I use them, I can deploy them.

It cannot be a problem with the script, as I have set
Code:
[DEPLOY]
Name=Deploy
0=9,0  ;Deploy
1=49,0 ;If it doesn't work at the first attempt


This is an example code from the Missile Silo in RULES.INI:
Code:
[MNAMISL]
DeployToFire=yes
BuildLimit=1
Nominal=yes
Primary=none
Image=MCV
Name=Mobile Missile Silo
Prerequisite=DUMMYBUILD
Category=Support
Strength=725
Armor=heavy
DeploysInto=NAMISL
TechLevel=10
Sight=20
Speed=3
Owner=Nod
CrateGoodie=no
Cost=1300
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15
AllowedToStartInMultiplayer=no
AIBuildThis=yes

This is the TeamType code:
Code:

[MOBNAMISL]
Name=Mobile Missile Silo Deploying
VeteranLevel=1
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=Nod
Recruiter=no
Autocreate=no
Prebuild=no
Reinforce=no
Droppod=no
Whiner=yes
LooseRecruit=no
Aggressive=no
Suicide=no
Priority=1
Max=1
TechLevel=10
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=no
IsBaseDefense=yes
OnlyTargetHouseEnemy=yes
Script=DEPLOY
TaskForce=MNAMISL


It can't be a problem with the AI Trigger since the AI builds it.

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

Back to top
View user's profile Send private message
Allen
Pyro Sniper


Joined: 13 Feb 2007
Location: C:\Westwood\ TechLevel=12

PostPosted: Sat Dec 17, 2011 2:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Never had much luck with adding new unit from scrach. I would try a unit with a long range dummy weapon and deploytofire= tag.

_________________


C&C in RA-1 Get it here
http://www.ppmsite.com/forum/viewtopic.php?t=30101 100+ Single Player Missions! Now playable on CnCNet 5!

Back to top
View user's profile Send private message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sat Dec 17, 2011 2:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Could you explain a bit more what you are saying please?

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

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


Joined: 20 Nov 2007
Location: Germany, Berlin

PostPosted: Sat Dec 17, 2011 3:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Primary=none



change that in, for example, 155mm and try it again

_________________

Think of me as Nordos, 'cause Banshee wouldn't rename me

Back to top
View user's profile Send private message Skype Account
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sat Dec 17, 2011 3:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've already tried that but nothing happens.
I wonder if the problem is that the unit doesn't have the necessary space to deploy, so I've been playing with the scripts with no results.
Is there a way to tell the unit to find a place when it can be deployed and then do it?

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

Back to top
View user's profile Send private message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sat Dec 17, 2011 4:14 pm    Post subject: Problem Solved!!!!!!! Reply with quote  Mark this post and the followings unread

I've just put the tag "SensorArray=yes" at the structures I want to be deployed and the vehicles deploy!!!!!
Don't know if it works with "ConstructionYard=yes"

That's how the MCV looks for enough space then it deploys!!!!

(I hope this thread to be helpful for modders that try to do this kind of things)

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Sat Dec 17, 2011 6:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
I've just put the tag "SensorArray=yes" at the structures I want to be deployed and the vehicles deploy!!!!!
Don't know if it works with "ConstructionYard=yes"


Those structures can't be sold though, if you try to sell them they'll just revert back to their mobile state.

Back to top
View user's profile Send private message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sat Dec 17, 2011 6:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

But those structures don't have the tag "UnDeploysInto", so how're they supposed to go back to mobile state when sold by the AI? Could it result in an IE?

At least for the human player you're wrong, because I've just tried my mod and I can sell all those structures as normal.

_________________
Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Sat Dec 17, 2011 6:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

My mistake, I was meant to say that Structures that use the SensorArray=yes tag can't be sold if it has a mobile state.

(Taking notes not to post with a hangover)

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


Joined: 07 Mar 2009

PostPosted: Sat Dec 17, 2011 8:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can't you just do them up like the Nod artillery? Make them undeployable of course and give them a much larger range so the AI can't basecrawl with them.

_________________
Victory!

Back to top
View user's profile Send private message
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.1631s ][ Queries: 11 (0.0082s) ][ Debug on ]