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 Mar 28, 2024 4:54 pm
All times are UTC + 0
text trigger doesn't work
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 6:15 pm    Post subject:  text trigger doesn't work Reply with quote  Mark this post and the followings unread

I try to make some sp missons, but my text triggers don't work. I use a edited tutorial.ini. I also looked at some other maps from the game. Can someone help me?



trigger.jpg
 Description:
the trigger I use
 Filesize:  41.38 KB
 Viewed:  3537 Time(s)

trigger.jpg



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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 6:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

you can upload the map here so we can have a look.

or check the map with a text editor and look if the Action is actually correct
[Actions]
01000020=1,11,0,308,0,0,0,0,A
11- text trigger
308- the ID of the text from tutorial ini.

Also make sure the trigger actually fires. e.g. give it a "Reveal all map" Action. Maybe the text action works, but your trigger doesn't fires.

_________________
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
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Sat May 18, 2013 7:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here you go. This is updated FSData.ini which fixes the text triggers and also fixes the tree paint so that you can paint trees instead of doing it the long and painful way.



FSData.ini
 Description:

Download
 Filename:  FSData.ini
 Filesize:  33.3 KB
 Downloaded:  72 Time(s)


_________________
Mod Leader and founder of World Domination


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


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 7:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
Also make sure the trigger actually fires. e.g. give it a "Reveal all map" Action. Maybe the text action works, but your trigger doesn't fires.


it does fire because i'll get the reinforcements

edit: I changed 1 Text to an original one and that worked. only the text I added doesn't work

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 7:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

can't tell with FSData
upload the map or show the code of the trigger and the action

\EDIT
where do you placed your tutorial ini? Is it even read/found by the game?

_________________
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
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 8:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

it is in the TS directory, but it only reads to 418

here is the code: 01000002=1,11,0,419,0,0,0,0,A

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 8:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

your Action wants to play 419 and not 418
If 418 is your last text, then there is of course nothing to show.

_________________
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
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 8:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

but I added 419 to the tutorial.ini

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 8:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

oh right, the firestorm tutorial.ini goes to 418.
ok, strange. I have no clue why it shouldn't work.

I can only assume that you have your custom tutorial.ini in a place which is
a) not loaded by the game
b) loaded, but then replaced by another tutorial.ini that is read with a higher priority (e.g. you have it in ecache02.mix, but there is another one in ecache03.mix)

_________________
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
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 8:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

its strange because if I edit for example text 1 the edited text will be displayed in game

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 9:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

you don't have accidentally written something like
419=[EVA] tralala
or some other special characters?

Because then the game could see the brackets as a new ini section with everything that follows not belonging anymore to the [Tutorial] section.

\EDIT
how many new texts do you've added?
If 419 is the only new one, then make sure that there follow a few empty lines after it. The game sometimes has problems to read the very last line in a ini.

_________________
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
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 9:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

I didn't use special characters, but could it be that it can't read long texts?

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 18, 2013 9:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Too long texts could be indeed a problem.
Do some short text test and try to find the problem.

_________________
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
GeneralDoomsday
Vehicle Driver


Joined: 05 May 2013
Location: Germany

PostPosted: Sat May 18, 2013 9:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

no it doesn't work. I will edit the standard entries, should be the easiest solution

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


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Sat May 18, 2013 11:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

@LKO I used long texts on my single player missions I made for TS and they are fine.

@General, you have to add a dummy line after 419. So make 420=dummy line or so. The text do not read the line at the end of the text number.

Alternatively, you can download my SP missions in the map archive and have a look at the tutorial.ini. That should give you a basic understanding of how to add text and make it work properly because you have the updated FSData.INI now.

_________________
Mod Leader and founder of World Domination


Back to top
View user's profile Send private message
Morpher
General


Joined: 28 Jan 2005

PostPosted: Sun May 19, 2013 1:38 am    Post subject: Reply with quote  Mark this post and the followings unread

The game doesn't display the last text in the tutorial.ini add a dummy 420= after it

_________________


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