Story Triggers not working :( -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

Hello folks.

I've only recently gotten into modding, and I've managed to figure out a bunch of things as I go, but I'm having trouble getting story triggers to work for a brand new faction that I've designed almost completely from scratch.

I figure I could be encountering a dual problem of just not knowing how story triggers work, and thus, have no way to confirm if the Triggers are firing (an example of a trigger that displays a text box that says "Success!" would be nice to have) while my second problem may be in the way that I got the custom faction working in the first place.

I took the Empire's faction information in Factions.xml, copied it, and made a handful of changes, such as the name (Yastun), a few icons, color changes, etc.

Now I've looked through that code several times, and I don't believe I saw any tags that would be used to look up story triggers, but I could be wrong.

Also, I've gone to the campaign file and added the line:

Story_Yastun_Story_Trigger_Test.xml

Is there someplace that I have to add something in order for the game to understand exactly what a tag is?

In "Story_Yastun_Story_Trigger_Test.xml" I have:

<?xml version="1.0"?>

Yastun_Tech_Tree.xml

and in "Yastun_Tech_Tree.xml" I have

<?xml version="1.0"?>

STORY_ELAPSED0Dialog_Expansion_GC_Solo12Intro_TagSTORY_TRIGGERREVEAL_ALL_PLANETSUniversal_Story_Start

The faction works and I already have more than a handful of units and buildings working with it already. Besides a few minor glitches the faction works perfectly.

So, what am I doing wrong?

Thanks for your help!




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#2 10 years ago

There are only three story tags available in the CampaignsUnderworld.gc, Underworld, Empire, and Rebels. So basically you cannot add a storyline for new factions. The Story_plot, and Story.xml both look like they are correctly coded though. One alternative is to use a existing faction, and lock all of it's units. Then code in units for your faction, and change the TEXT_FACTION_UNDERWORLD to your faction name. Then a story script could be used.




Jedi_Lu

GF Pwns Me!

50 XP

12th October 2007

0 Uploads

55 Posts

0 Threads

#3 10 years ago

[COLOR=black]first you must ENABLE_GALACTIC_REVEAL[/COLOR] [COLOR=red] [COLOR=red]STORY_TRIGGER [COLOR=red]ENABLE_GALACTIC_REVEAL [/COLOR] [COLOR=red]0 [/COLOR] [COLOR=red]Universal_Story_Start [/COLOR] [COLOR=red][/COLOR] [COLOR=black]best regards[/COLOR] [COLOR=black]Jedi Lu[/COLOR] [/COLOR][/COLOR]




Guest

I didn't make it!

0 XP

 
#4 10 years ago
Sidious Invader;4230469There are only three story tags available in the CampaignsUnderworld.gc, Underworld, Empire, and Rebels. So basically you cannot add a storyline for new factions. The Story_plot, and Story.xml both look like they are correctly coded though. One alternative is to use a existing faction, and lock all of it's units. Then code in units for your faction, and change the TEXT_FACTION_UNDERWORLD to your faction name. Then a story script could be used.

Well, that's disappointing. There's no way to add another? Not even some through some arcane technique?

I don't suppose there are story tags for the Pirates, hutts, or neutral factions are there?