Aller au contenu

Photo

Custom Chargen crashes game


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
Ottemis

Ottemis
  • Members
  • 3 600 messages
 I've followed http://social.biowar...rounds_tutorial to make my own chargen, but when I try and load my module the game crashes midload.
I have this creeping suspicion I'm doing something wrong in the export and/or placing of the files.

Atm I'm exporting the talktable from the module it's for, it ends up in \\USER\\Documents\\BioWare\\Dragon Age\\AddIns\\MODULENAME\\module\\override\\toolsetexport
The 4 scripts and the new plot I'm exporting without dependant recourses, export location for those ends up being  \\USER\\Documents\\BioWare\\Dragon Age\\AddIns\\MODULENAME\\module\\override\\toolsetexport aswel.

The adapted (and renamed) 2DA gets exported and the resulting 6 GDA files i'm dumping into \\USER\\Documents\\BioWare\\Dragon Age\\AddIns\\MODULENAME\\module\\override

On a sidenote, i'm getting one compile error with one of the scripts, but I read up about it and have seen people say it doesn't matter and can be ignored. For arguments sake though the error:

I: 19:01:14 - Offers.xml file has been updated successfully.
I: 19:01:14 - AddIns.xml file has been updated successfully.
I: 19:01:14 - Generated the campaign file.
I: 19:01:14 - Compile failed
E: 19:01:14 - fr_2da_constants_h.nss - fr_2da_constants_h.nss(?): Script must contain either a main or StartingConditional
I: 19:01:14 - Compiling fr_2da_constants_h.nss...

Am I missing something crucial here? Sorry for being a nub btw, I've doublechecked the scripts 4 times now, threw all the exported stuff away a couple of times and re-exported but no sigar. I'm not so knowledgeable with this stuff yet to actually have a proper clue, the idea was to try this and introduce myself to scripting a bit hehe.
"what a good idea!" *kicks own shin Oo

Edit: For the time being i've changed the core script for the module back to the one provided by SilentCid in one of his videotutorials, that one works without an issue. 

Modifié par Ottemis, 05 avril 2011 - 05:53 .


#2
Proleric

Proleric
  • Members
  • 2 346 messages
Did you read the Discussion page on that tutorial?

I've added a stronger comment to the tutorial itself. The module event script is correct, but AFAIK you don't need the other script changes proposed in that section.

#3
Ottemis

Ottemis
  • Members
  • 3 600 messages
Ohh, I'll go have a look =D Thnx!
Never even thought of checking the discussion tab >< I'll see wether i can make this work later today =)
Just pulled an allnighter, i'd best get some sleep before my eyes pop out of my skull.

Modifié par Ottemis, 06 avril 2011 - 08:09 .


#4
Ottemis

Ottemis
  • Members
  • 3 600 messages
Ok, so I reckon "IMPORTANT! There is currently a bug in the game that causes it to crash if a background description ID has a value greater than 109 912 680." is currently still an issue.
I'll keep the scripts I've altered now and first just try and change the StringID's for the BG names and descriptions in the Talktable and backgrounds.xls for the module I suppose. I can always try and export later excluding the 'extra scripts'.
I'll report back when it's done.

Modifié par Ottemis, 07 avril 2011 - 06:16 .


#5
Ottemis

Ottemis
  • Members
  • 3 600 messages
Gni it works =)
Just need to find some way to remove the dorfs from the selection-screen.
Got the icon showing up, but clicking it doesn't generate a char, I did remove all ref to dwarves in the files I haxed during that tutorial.

But yeah =) I'll see about removing the other scripts and see wether that works too Proleric1
Thanks again for pointing out the comment bit, and my own stupidity in a way for not reading anything in caps.

If anyone has an idea how to completely remove the dwarves from the chargen screen give a shout though, although i'll go and see whether I can find any info on it now. Google is my friend and all that. =)

#6
Apolyon6k

Apolyon6k
  • Members
  • 175 messages
Removing the dwarves is rather simple, you can edit the race_base.gda and change the dwarves PLAYER_RACE value to 0. I did the same in my mod for dwarves and elves. In the other tables you have to change the dwarf references to 0 or **** according the other unused slots.

Modifié par Apolyon6k, 08 avril 2011 - 07:01 .


#7
Ottemis

Ottemis
  • Members
  • 3 600 messages
Ok cool, thnx Apolyon6k 
Sorry for the late reply, didn't notice =)

edit: changed it now with succes, thnx again.

Modifié par Ottemis, 16 avril 2011 - 09:21 .