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 Tue Apr 23, 2024 2:19 pm
All times are UTC + 0
Airpads and free units
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [18 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 1:48 am    Post subject:  Airpads and free units Reply with quote  Mark this post and the followings unread

Hey, i've got a few questions and i hope i can find the answers here. So, we all know that NAREFN and GAREFN have FreeUnit=xx and that makes them give a free harvester. Can this be done with airpads ? FreeUnit=xx doesn't work, i've tryied it and it spawns a "vehicle type" Black Eagle, which isn't airport bound and also, it sucks at killing enemy units and structures, he acts like he's... confused, and doesn't know if and when to fire. FreeAircraft=xx also didn't worked, it didn't spawned anything this time. And, is it possible to give 4 free planes, like one for every dock ? And last but not least, how can i make the tech airport, CAAIRP, have 2 landing docks, for the Harrier and Black Eagle ? I added
Helipad=yes
NumberOfDocks=2
Factory=AircraftType and
UnitReload=yes and when i tell a plane to land on it, it beggins desceding, but when they land, they are under the airport. And, another thing about the tech airport. It has those cross things, i thought that the planes would land there, but nooo, they landed in the middle of the freakin' building, right on the roof, and afterw that they dissapeared under the airport Laughing ...

Any of these questions might have an ansewer that will make me happy ? Very Happy



airpads.JPG
 Description:
 Filesize:  140.09 KB
 Viewed:  2719 Time(s)

airpads.JPG



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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 1:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, your pretty much screwed on all of that, except, you can use SeperateAircraft=no which will give you your first free aircraft. But it has side affects. Everyone meaning all countries will receive their first aircraft free, but it will be the first one listed in the PadAircraft= list. So if say ORCA is first in list, then all countries who build airports will get an orca. You'll pretty much have to build a universal aircraft for all sides and counties if you use this.

For the caairp, it needs a bib for the aircraft to land on, and Docking offsets will need to be configured.

_________________

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
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 2:02 am    Post subject: Re: Airpads and free units Reply with quote  Mark this post and the followings unread

Chriss Rock wrote:
Any of these questions might have an ansewer that will make me happy ? Very Happy
so the answer for this is no, huh ?...

p.s. How can i make that bib thing ?

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 4:23 am    Post subject: Reply with quote  Mark this post and the followings unread

you'll have to do some photo shopping of the caairp .shp
cut out the landing pad area of the .shp so it makes 2 seperate images.
you will also have 2 seperate .shp files now too
look at pics

Just look at how the gaairc is made. You'll see what I'm talking about.



bib.png
 Description:
 Filesize:  5.77 KB
 Viewed:  2686 Time(s)

bib.png



base.png
 Description:
 Filesize:  11.2 KB
 Viewed:  2686 Time(s)

base.png



_________________

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
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sun Aug 14, 2011 7:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Also remove UnitRepair=yes from GAAIRC. It's commented out because it has a possibility to IE, also messes up the AI.

_________________
"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
Krow
Commander


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Sun Aug 14, 2011 8:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Use this code for the tech airport. You don't even have to make a bib for it.

Code:

;rules**.ini
[CAAIRP]
UIName=Name:CAAIRP
Name=Tech Airport
Strength=800
Insignificant=yes
Nominal=yes
Points=5
Armor=concrete
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
DamageParticleSystems=SmallGreySSys,BigGreySmokeSys
Capturable=yes
NeedsEngineer=yes
Unsellable=yes
;Ammo=5
;Factory=AircraftType
;Radar=yes
;Spyable=yes
SuperWeapon=ParaDropSpecial
LeaveRubble=yes
Adjacent=2
TechLevel=-1
Sight=5
UnitReload=yes
Power=-50
Crewed=yes
ThreatPosed=0 ; This value MUST be 0 for all building addons
NumberOfDocks=2
Helipad=yes
HasStupidGuardMode=false


Code:

;art**.ini
[CAAIRP]
Normalized=yes
Remapable=yes
Foundation=3x3
Height=6
DockingOffset0=190,-178,0
DockingOffset1=190,198,0
Buildup=CAAIRPM
NewTheater=yes
DemandLoad=true
ActiveAnim=CAAIRP_A
ActiveAnimZAdjust=5
ActiveAnimDamaged=CAAIRP_AD
ActiveAnimTwo=CAAIRP_F
ActiveAnimTwoZAdjust=-100
ActiveAnimTwoYSort=362
ActiveAnimTwoPowered=no
DamageFireOffset0=-3,5
DamageFireOffset1=-65,32
ZShapePointMove=60,30
DemandLoadBuildup=true
FreeBuildup=true
CanHideThings=True
CanBeHidden=False
OccupyHeight=2


And I've already tested it. Took the codes from somewhere but couldn't remember where.

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

Last edited by Krow on Sun Aug 14, 2011 10:43 pm; edited 1 time in total

Back to top
View user's profile Send private message
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 3:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

And yet again Cranium shows that when he says something, he knows what he's saying ... i tryied your codes Krow, and they don't work. The game allows me to build aditional aircrafts, but after i click'em, the buidup runs and about half the way it stops, completly. Seems like those bibs are the only way ...
@Graion: Yeah, i know, i've had some "incidents" with that code and i've got it commented out, so it can't harm me, not anymore Very Happy Laughing

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 6:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here, I reworked the CAAIRP to be useable. Enjoy.
Just extract the .rar file and stick the .shp files into your directory, then add the codes.

Planes not included Wink



caairp.png
 Description:
 Filesize:  45.09 KB
 Viewed:  2620 Time(s)

caairp.png



caairp.rar
 Description:

Download
 Filename:  caairp.rar
 Filesize:  69.22 KB
 Downloaded:  84 Time(s)


_________________

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
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 6:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Guys, why to these Harrier behave like this ? ... I added a soviet AirPad, and while i was testing it, i noticed that after they fly of to attack, when they return they just hover above the airpad, this doesn;t happen always and to all of the aircrafts, as you can see one of them landed but the rest are just hovering ? ...

[NAPAD]
UIName=Name:NAPAD
Name=Soviet Air Pad
BuildCat=Tech
Prerequisite=Barracks,Radar
Strength=500
Armor=steel
Radar=yes
Adjacent=20
TechLevel=7
Sight=5
UnitReload=yes
Helipad=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs
AIBasePlanningSide=0
Cost=500
Points=70
Power=-25
Factory=AircraftType
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
MaxDebris=8
MinDebris=4
ThreatPosed=0
DamageSmokeOffset=75, 270, 140
AIBuildThis=yes
NumberOfDocks=4
HasStupidGuardMode=false
ImmuneToPsionics=no

I can't find anything wrong with the code, but that's just me, i could be wrong, like always :d

@Cranium: Thanx man, you didn't had to do that just for me you know ... after i tryied sliceing that ariport to pieces a few times without any success i gave up Laughing



Hovering.JPG
 Description:
 Filesize:  130.76 KB
 Viewed:  2614 Time(s)

Hovering.JPG



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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 7:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Looks like either a bib, and/or DockingOffset issue. Usually inacurate DockingOffsets will encure that issue sometimes.

_________________

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
Krow
Commander


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Sun Aug 14, 2011 7:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

The codes doesn't work? Maybe I missed something. But it did work for me before this.

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

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


Joined: 17 Apr 2009

PostPosted: Sun Aug 14, 2011 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do the Harriers dock at NPAD? As in Dock=GAAIRC,AMRADR,NPAD?

Back to top
View user's profile Send private message
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 7:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

yes, both Harriers and Black Eagles ... and it's NAPAD Very Happy

Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger Account
m7
Commander


Joined: 17 Apr 2009

PostPosted: Sun Aug 14, 2011 9:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

I misread, so I apologize for that. However, I can no longer help as I see no issue in the structure code...

@Cranium: The screenshot should have told you that DockingOffsets are not an issue as the other Soviet Airpad has all 4 Harriers landed and in proper place.

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


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Sun Aug 14, 2011 10:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Did you add Dock=GAAIRC,AMRADR,NAPAD,CAAIRP on your harrier? Maybe that's why they didn't work. Smile

_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 10:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

M7 wrote:
@Cranium: The screenshot should have told you that DockingOffsets are not an issue as the other Soviet Airpad has all 4 Harriers landed and in proper place.


Dosent matter, inaccurate offsets will make planes not land on the pad sometimes. I know, I've delt with it before. And besides, I didnt say IT was the problem, I said it looked like it maybe the problem. I'm just giving him some direction to look in.

_________________

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
Chriss Rock
Light Infantry


Joined: 06 Aug 2011

PostPosted: Sun Aug 14, 2011 11:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Krow wrote:
Did you add Dock=GAAIRC,AMRADR,NAPAD,CAAIRP on your harrier? Maybe that's why they didn't work. Smile

no, i had only GAAIRC,AMRADR and NAPAD ...

@Cranium. Sometimes, after hovering for ages, the planes land, but one on top of eachother, in the middle of the air pad, not on those tiny landing zones.

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


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Aug 14, 2011 11:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Is that waht you named that new airpad caairp? and have you tried it after adding caairp to the Dock=

_________________

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 [18 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.1999s ][ Queries: 18 (0.0179s) ][ Debug on ]