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 Thu Apr 18, 2024 1:06 pm
All times are UTC + 0
TS crash...
Moderators: Global Moderators, Tiberian Sun 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
HunSoldier
GDI Hacker


Joined: 02 Jan 2010
Location: Hungary

PostPosted: Sun Jan 03, 2010 6:29 pm    Post subject:  TS crash... Reply with quote  Mark this post and the followings unread

I added a hidden unit into one of my maps but it crashes the game every time when I try to launch it! Sad

Please someone check this code:

***
I added these things to rules.ini
Code:

[AircraftTypes]
11=LONGBOWHELI


...

Code:

[LONGBOWHELI]
Name=Apache Longbow
Prerequisite=NAHPAD
Image=HELI
Primary=Hellfire
Strength=175
Category=AirPower
Armor=light
TechLevel=-1
Sight=2
RadarInvisible=no
Landable=yes
MoveToShroud=no
Speed=16
PitchSpeed=1.1
Owner=Nod
Cost=500
Points=20
ROT=5
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=4
VoiceSelect=30-I000,30-I002,30-I004,30-I006
VoiceMove=30-I014,30-I016,30-I018,30-I022
VoiceAttack=30-I022,30-I034,30-I036
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=DROPUP1 ;Taking off
AuxSound2=DROPDWN1 ;Landing
ThreatPosed=0
SpecialThreatValue=1


***
And I added this to art.ini
***

Code:

[LONGBOWHELI]
Image=HELI
Voxel=yes


***

Is this code wrong?

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Jan 03, 2010 6:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

^^yep.

In rules.ini you let the game search for an art.ini entry with the name [HELI] using Image=HELI.
But in art.ini there is no such entry, but rather an entry with the same name as the rules.ini unit ID. In addition does the Image key not work in art.ini for units.

So your game is searching for a voxel that does not exist and voxel without a hva crash the game.

Simple said, change the art.ini entry to
[HELI]
Voxel=yes

_________________
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
HunSoldier
GDI Hacker


Joined: 02 Jan 2010
Location: Hungary

PostPosted: Sun Jan 03, 2010 7:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks I got it work now Smile

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.1812s ][ Queries: 11 (0.0094s) ][ Debug on ]