Archived

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

Please be aware that the content of this thread may be outdated and no longer applicable.

MadDoctor5813

[Mod Idea] The bad pun mod

Recommended Posts

One of the trademarks of the spy is the witty one liner. So, we should try and mod every character's dialog to be a lot punnier, and maybe even display new dialogue when taking out guards and other events, if we can manage it.

Imagine Xu saying "That was shocking" when his shock trap goes off, or Shalem saying "He got his just deserts" when shooting someone with his special rifle. Granted, my puns are not the best. But I believe that together, we can come up with better ones. Any ideas?

Share this post


Link to post
Share on other sites
HumanKirby    59

That should be possible, but currently only with a language pack, which means only the starting sentences could be edited since, if you edit the strings.lua, the game crashes. But Im currently researching it, so dont worry, we might be able to Mod this file too.

Share this post


Link to post
Share on other sites
Some1    26

This sounds frightening in the view of those guys, who work on translation of game content to other languages:)

Share this post


Link to post
Share on other sites

I was thinking that we somehow hook into the simulation system, and divert it into our own code whenever an event we're interested in pops up. Then, hopefully, we can just leverage the standard GUI popup that displays at the beginning of each level, and display whatever custom text we want.

Share this post


Link to post
Share on other sites
Shirsh    129

Emmm, what happened with direct editing of srings.lua? I thought it should work great, without screwing language.packs (if you don't need that for some reason of course).

I'll try it right now then.

 

upd: yeah, it works, adding of new strings maybe can screw language packs, but editing of default ones shouldn't do it.

Share this post


Link to post
Share on other sites
HumanKirby    59

Which tool to you use to edit the files? It actually might not work with Notepad++ since I and Cyberboy2000 had problems. 

Share this post


Link to post
Share on other sites
Shirsh    129

it was AkelPad now, but I never had problems with Notepad++ and WinNotepad (I can try them too to check, will it work or not). Maybe you had problems with repacking? (I use unpacked scripts folder now, but before that Total Commander were doing buiseness with changing files in pack without problems. Sorry, bad English everywhere >_<)

Share this post


Link to post
Share on other sites

If you mean the .lua files, just Wordpad seemed to work for me for small edits. On that note, can anyone recommend a good viewer for the lua files?

Share this post


Link to post
Share on other sites
Shirsh    129

No, there definitely no problems with Notepad++

 

post-448854-0-20719600-1432908661_thumb.

 

post-448854-0-43208500-1432908635_thumb.

 

But I don't like it (it's too complicated and overwhelm me by functions)

Share this post


Link to post
Share on other sites
HumanKirby    59

Your edits are quite funny. It still seems some big edits change still seem the game make to crash. This could still be because other files where edited.

Share this post


Link to post
Share on other sites
0celot    13

No, there definitely no problems with Notepad++

 

attachicon.gif2015-05-29_00011.jpg

 

attachicon.gif2015-05-29_00008.jpg

 

But I don't like it (it's too complicated and overwhelm me by functions)

 

I don't like the interface of Notepad++ either. But yeah, it'll pretty much do everything.

 

The text editor I use for modding stuff is a nice linux one called Kate. It's just as powerful as Notepad++ but I find it easier to use. Problem is it's tricky to install on a Windows OS and doesn't have the same level of performance it has on Linux.

post-648673-0-99376300-1432983294_thumb.

Share this post


Link to post
Share on other sites
Shirsh    129

I'd recommend AkelPad for Windows: it's free with lot of customization options, many useful official plug-ins for different programming languages, localizations etc and can be used instead of notepad by default.

 

Lua syntax highlighting theme, code-folding, string numbers:

 

post-448854-0-53874900-1432986935_thumb.

 

I use Notepad++ mostly as support unit to search through files (I dunno is AkelPad can't do it or I just don't know how to do it)

 

Share this post


Link to post
Share on other sites
0celot    13

That's a nice looking text editor. I'll have to give that one a go next time I use a Windows OS. If you really need to do a search through files thing and didn't want to use N++ then you might consider a tool like windows grep or astrogrep.

Share this post


Link to post
Share on other sites