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 Apr 19, 2024 2:10 am
All times are UTC + 0
Unit won't show in-game
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Thu Sep 12, 2019 12:40 pm    Post subject:  Unit won't show in-game
Subject description: But it shows in the editor
Reply with quote  Mark this post and the followings unread

I copy-pasted the train carriages and engine from TS (both art and rules) into their respective places in rulesmd.ini and artmd.ini.

Only the train engine will show up in-game and in FA2, but the passenger and train cars show up only in the editor, even tho all three still have their proper VXLs and HVAs in ra2.mix > local.mix and are pretty much a copy of one-another.

Code I plugged into the art & rules:
Spoiler (click here to read it):
Code:
[MONOCAR]
Voxel=yes
[CARGOCAR]
Voxel=yes
[MONOENG]
Voxel=yes

100=LOCOMOTIVE
101=TRAINCAR
102=CARGOCAR

[LOCOMOTIVE]
Name=Locomotive
Nominal=yes
Image=MONOENG
Strength=100
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=2
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=5
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
SlowdownDistance=700
DeaccelerationFactor=0.001
AccelerationFactor=0.01
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToPsionics=no

[TRAINCAR]
Name=Train Car
Nominal=yes
Image=MONOCAR
Strength=100
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=10
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
Passive=yes
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys

[CARGOCAR]
Name=Cargo Car
Nominal=yes
Image=CARGOCAR
Strength=100
Crusher=yes
Category=Transport
DeployTime=.022
Armor=light
TechLevel=-1
Sight=5
PipScale=Passengers
Speed=8
Owner=Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=800
Points=25
ROT=5
Passengers=10
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.9
MovementRestrictedTo=Railroad
Passive=yes
IsTrain=yes
MovementZone=Crusher
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys
CarriesCrate=yes


The cars on the map:
Spoiler (click here to read it):
Code:
[Units]
0=Neutral,LOCOMOTIVE,256,32,57,128,Guard,None,0,-1,0,-1,1,0
1=Neutral,TRAINCAR,256,32,56,128,Guard,None,0,-1,0,-1,1,0
2=Neutral,TRAINCAR,256,32,55,128,Guard,None,0,-1,0,-1,1,0
3=Neutral,CARGOCAR,256,32,54,128,Guard,None,0,-1,0,-1,1,0

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Wed Sep 18, 2019 10:34 am    Post subject: Reply with quote  Mark this post and the followings unread

Bump.
If you get this problem, then you must re-chk the Types list of the affected Technos and the IDs.
The problem happens when you have one set of IDs for a couple of Technos in the rulesmd list, but those IDs are then overridden in an INI you load with Ares via #include.

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Last edited by TAK02 on Wed Sep 18, 2019 11:20 am; edited 1 time in total

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Sep 18, 2019 10:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Lesson: don't use #include #Tongue

And run AICHECK frequently #Tongue

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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