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 9:18 am
All times are UTC + 0
Soviet Airport doesn't work
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Louwiez
Vehicle Driver


Joined: 17 Sep 2015

PostPosted: Thu Sep 17, 2015 6:56 pm    Post subject:  Soviet Airport doesn't work Reply with quote  Mark this post and the followings unread

I added a new soviet airport i saw on one of the modding forums,  but it doesnt work.

What i did was:

I added the icon to the cameo.mix with XCC, the SOVAIRPORT files i added to sno.mix and the SOVAIRPORTMK i added to isosnow.mix.

i also use the art and rules text that came with the airport.zip

#rules

[NAAIRPORT]
UIName=Name:NAFIELD
Name=Soviet Airport
Image=SOVAIRPORT
TechLevel=2
Prerequisite=NARADR
Strength=800
Cost=1000
Insignificant=yes
Nominal=yes
Sight=6
Points=5
Armor=concrete
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
RadarInvisible=no
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
DamageParticleSystems=SmallGreySSys,BigGreySmokeSys
Capturable=yes
Ammo=5
SuperWeapon=ParaDropSpecial
BuildCat=Tech
Adjacent=2
UnitReload=yes
Owner=Russians,Confederation,Africans,Arabs
Helipad=yes
AIBuildThis=yes
Power=-50
Crewed=yes
ThreatPosed=0; This value MUST be 0 for all building addons
NumberOfDocks=6
HasStupidGuardMode=false
Factory=AircraftType
Radar=yes
Spyable=yes
AIBasePlanningSide=1


#art


[SOVAIRPORT]
Remapable=yes
Cameo=AIRPORTICON
Foundation=5x3
DemandLoad=true
Height=6
Flat=yes
Buildup=SOVAIRPORTMK
BibShape=SOVAIRPORTBB
ZShapePointMove=60,30
;FreeBuildup=true
NewTheater=yes
DockingOffset0=0,-128,0      ;-80,80,0
DockingOffset3=0,128,0       ;-80,-208,0
DockingOffset1=256,-128,0    ;208,80,0
DockingOffset4=256,128,0     ;208,-208,0
DockingOffset2=512,-128,0    ;208,80,0
DockingOffset5=512,128,0     ;208,-208,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=2
DamageFireOffset0=-36,23
DamageFireOffset1=-21,6

[SOVAIRPORTBB]
Layer=ground


is there someone who can help me or can tell me it aint possible or something?

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Sep 17, 2015 8:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

What doesn't work? Aircraft can't land? You can't build it? It is invisible ingame?

I assume the latter, since
-it is named SOVAIRPORT, without the prefix NA,GA,CA,YA for arctic, NG,GG,CG,YG for general etc theaters.
-Yours has no theater prefix, thus NewTheater=yes is not necessary and placing it in sno.mix and isosnow.mix is wrong. You want it for all theaters, not only for snow maps.
-the name could be too long (TS and RA2 are old games with their roots in DOS and its best to not use filenames longer than 8 characters)

Right now it could only work on snow maps for you and i assume you tested it on temperate or other theater maps.

Rename it something like SAIRP.SHP, SAIRPMK.SHP etc (using the prefixes is not necessary when you have only one image for all theaters).
Put all SHPs in an ecache*.mix file, so the game finds it on every theater, not only snow maps. Remove the NewTheater=yes key.
Rule #1: Do not touch any original mix file, unless you know exactly what you're doing.
Only for Total Conversions it is necessary to touch the original mix files. Wink
For small mods, add new ecache*.mix (* being any string) or expand##.mix files (## being a number 00 - 99)

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
badbully
Grenadier


Joined: 03 Jul 2015
Location: between heaven and hell "the healln point"

PostPosted: Fri Sep 18, 2015 9:34 am    Post subject: Re: Soviet Airport doesn't work Reply with quote  Mark this post and the followings unread

Louwiez wrote:
I added a new soviet airport i saw on one of the modding forums,  but it doesnt work.

What i did was:

I added the icon to the cameo.mix with XCC, the SOVAIRPORT files i added to sno.mix and the SOVAIRPORTMK i added to isosnow.mix.

i also use the art and rules text that came with the airport.zip

#rules

[NAAIRPORT]
UIName=Name:NAFIELD
Name=Soviet Airport
Image=SOVAIRPORT
TechLevel=2
Prerequisite=NARADR
Strength=800
Cost=1000
Insignificant=yes
Nominal=yes
Sight=6
Points=5
Armor=concrete
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
MinDebris=5
RadarInvisible=no
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
DamageParticleSystems=SmallGreySSys,BigGreySmokeSys
Capturable=yes
Ammo=5
SuperWeapon=ParaDropSpecial
BuildCat=Tech
Adjacent=2
UnitReload=yes
Owner=Russians,Confederation,Africans,Arabs
Helipad=yes
AIBuildThis=yes
Power=-50
Crewed=yes
ThreatPosed=0; This value MUST be 0 for all building addons
NumberOfDocks=6
HasStupidGuardMode=false
Factory=AircraftType
Radar=yes
Spyable=yes
AIBasePlanningSide=1


#art


[SOVAIRPORT]
Remapable=yes
Cameo=AIRPORTICON
Foundation=5x3
DemandLoad=true
Height=6
Flat=yes
Buildup=SOVAIRPORTMK
BibShape=SOVAIRPORTBB
ZShapePointMove=60,30
;FreeBuildup=true
NewTheater=yes
DockingOffset0=0,-128,0      ;-80,80,0
DockingOffset3=0,128,0       ;-80,-208,0
DockingOffset1=256,-128,0    ;208,80,0
DockingOffset4=256,128,0     ;208,-208,0
DockingOffset2=512,-128,0    ;208,80,0
DockingOffset5=512,128,0     ;208,-208,0
CanHideThings=True
CanBeHidden=False
OccupyHeight=2
DamageFireOffset0=-36,23
DamageFireOffset1=-21,6

[SOVAIRPORTBB]
Layer=ground


is there someone who can help me or can tell me it aint possible or something?


what is the problem? "specify"

if it doesn't show in the game be sure that you added NAAIRPORT to the [Buildingtypes]

_________________

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Louwiez
Vehicle Driver


Joined: 17 Sep 2015

PostPosted: Fri Sep 18, 2015 1:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

###With doesn't work i mean it doesn't work at all, it's like it doesn't exist in the files. No option to build it at all.
I'll try the expand02 thing.
But does it work with the origin edition?

Btw, i allready thought that sno was only for snow maps, so i tested it there and it didn't work either.

The reason for putting it there was that i couldn't find the gaairc in any other mix files, so i assumed i needed to insert it in the sno.mix###

Update:

- I replaced my ra2.mix with my backup.
- I renamed the files to NAPORT and added them to a new file called expand01.mix.
- Expand01 is in my ra2 folder.
- I edited SOVAIRPORT to NAPORT in rules and art.ini.
- I removed the theater thing.
- yes, i allready added NAPORT to the buildinglist.

Still the same problem, it is like NAPORT doesn't exist.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Sep 18, 2015 1:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Louwiez wrote:
###With doesn't work i mean it doesn't work at all, it's like it doesn't exist in the files. No option to build it at all.

Then you either
-haven't added an entry in the [BuildingTypes] list
-gave wrong owner settings (e.g. you played as allies while trying to build the soviet building)
-modified and tested in different rules.ini/rulesmd.ini (e.g. modified rules.ini which is for RA2 while testing it in Yuri's Revenge which uses rulesmd.ini)

gaairc is using the snow prefix, while there exist for temperate and urban theaters gtairc and guairc shp's respectively.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Louwiez
Vehicle Driver


Joined: 17 Sep 2015

PostPosted: Fri Sep 18, 2015 3:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

What did i do wrong?



s4.jpg
 Description:
 Filesize:  91.08 KB
 Viewed:  1621 Time(s)

s4.jpg



s3.jpg
 Description:
 Filesize:  153.56 KB
 Viewed:  1621 Time(s)

s3.jpg



s2.jpg
 Description:
 Filesize:  142.43 KB
 Viewed:  1621 Time(s)

s2.jpg



s1.jpg
 Description:
 Filesize:  135.19 KB
 Viewed:  1621 Time(s)

s1.jpg



Back to top
View user's profile Send private message
MustaphaTR
Scorpion Sniper


Joined: 22 Jan 2015
Location: Kastamonu, Turkey

PostPosted: Fri Sep 18, 2015 3:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

You should add building itself (NAPORT) to [BuildingTypes] not [Animations].

_________________
CnCD2K Mod: http://www.moddb.com/mods/red-alert-2-yuris-revenge-cncd2k-mod
Changed Dune Mod: http://www.moddb.com/mods/changed-dune
MustaphaTR's D2K Mod: http://www.moddb.com/mods/mustaphatrs-d2k-mod
Generals Alpha: http://www.moddb.com/mods/generals-alpha
Romanov's Vengeange: https://www.moddb.com/mods/romanovs-vengeance

Back to top
View user's profile Send private message
Louwiez
Vehicle Driver


Joined: 17 Sep 2015

PostPosted: Sat Sep 19, 2015 1:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hahah i'm so stupid..
I added the naport to the animation list, not to the building list >,< anyway, thx for the help guys (:

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