Jump to content

How do you debug your mods?


outfall

Recommended Posts

I'm having a couple of problems and am wondering how to go about debugging the script code.

 

I'm looking for something like elder scrolls has "Message "Message text", [var1], [var2], DisplaySeconds " to show variables and message text.

 

Fallout 3 does have ShowMessage.

"ShowMessage MessageID, [var1], ..., [var9] sDuration"

 

But I don't understand what the messageid parameter is.

 

Do you guys not debug? Do you output to console or file? What script functions?

 

 

Also how does object, quest and effect differ?

Link to comment
Share on other sites

Do people just not mess with debugging or not mess with scripting too much? Textures and things like that you probably can just load it into the game and there's not much else.

 

And if you use basic script functions that you are positive you know what they do using the console in game or not debugging at all is easy to do. But with timers, blocktypes and custom objects etc. it's hard to see where something is not working the right way if you aren't that experienced.

 

I've just started looking into the geck for less than a day and already I want to quit because using the console and typing 'sv' is not a very good way to debug for some things.

 

I'm just looking for some tips here so I can get back into messing around with things.

Link to comment
Share on other sites

this is just a guess (haven't really started messing with dialogue/messages yet)

but the messageID is probably the form ID of the message

 

the F3 dialogue/message setup seems utterly weird to me o_O

 

Yea, thanks for the reply. I opened up the GECK again after doing some reading and these are indeed the names of objects that you create.

 

I just want a simple console output or message box that pops up and says "Hey you know that unequip script you wrote? Yea it didn't work and these are the values for its variables var1 var2". Like a break. I can't find nothing to do that though.

Link to comment
Share on other sites

well, the messages are all under the miscellaneous tab if you hadn't found them

 

add you message there then add your showmessage command after where you think your script is failing

 

maybe add a DoOnce so it doesn't repeat infinitely but idk if thats necessary since I haven't used showmessage yet :P

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...