Is it possible to change the modification msg-intro?
I mean changing the text through my mod
msg-intro=...
If I put it in 1-st string in locale/ru/base.cfg, it do nothing.
P.S.:sorry for my english
How change msg-intro?
Re: How change msg-intro?
msg-intro is part of another mod: scenarios/freeplay. You need to edit that scenario to change it.
Re: How change msg-intro?
I want change it in my mod, for another players. I know, were is msg-intro. But I do not know: how can I change this text, use my mod only.DaveMcW wrote:msg-intro is part of another mod: scenarios/freeplay. You need to edit that scenario to change it.
Re: How change msg-intro?
You just want to display some message at the start of the game in your mod? Use game.showmessagedialog in the onplayercreated event, look at the freeplay control.lua how it's done there. If you already have some code that's not working, post it here so we can look at it.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: How change msg-intro?
Copy scenarios/freeplay to scenarios/your-mod
Edit msg-intro
Move all your other mod assets into scenarios/your-mod
Distribute scenarios/your-mod and tell everyone to install it in scenarios.
Edit msg-intro
Move all your other mod assets into scenarios/your-mod
Distribute scenarios/your-mod and tell everyone to install it in scenarios.
Re: How change msg-intro?
It so hard for some people , and I want do it simple.DaveMcW wrote:Copy scenarios/freeplay to scenarios/your-mod
Edit msg-intro
Move all your other mod assets into scenarios/your-mod
Distribute scenarios/your-mod and tell everyone to install it in scenarios.
Thank you. I did it alreadyprg wrote:You just want to display some message at the start of the game in your mod? Use game.showmessagedialog in the onplayercreated event, look at the freeplay control.lua how it's done there. If you already have some code that's not working, post it here so we can look at it.
But, how to change the texts on the front lines localization?!
Maybe moderator will answer this question.