Wall text as an image
Wall text as an image
Hello, can you help me clarify if it's even possible?
Re: Wall text as an image
I'm not the best person to answer this, but since no one has said anything, I'd say that yes, it is possible. It is possible to create any object you desire, including a graphical object with text, and place it anywhere in the game you desire, including on a wall. How? Uh, I'm more of a scripter and not a 3D artist! Check out the Skuggasveinn's tutorials viewtopic.php?f=22&t=7055and note the making of the bows and the breakable walls ones specifically. I'm going to do this myself... someday! Good Luck, -Lark
Re: Wall text as an image
Hmmm, Jouki, not sure about that, but can't you hard script ( in the object definition ) your wall text comportement like a scroll or spawning a text scroll like there ?
Re: Wall text as an image
Doridion wrote:Hmmm, Jouki, not sure about that, but can't you hard script ( in the object definition ) your wall text comportement like a scroll or spawning a text scroll like there ?
Actaully I'm not sure I was thinking about that.
Re: Wall text as an image
Lark wrote:I'm not the best person to answer this, but since no one has said anything, I'd say that yes, it is possible. It is possible to create any object you desire, including a graphical object with text, and place it anywhere in the game you desire, including on a wall. How? Uh, I'm more of a scripter and not a 3D artist! Check out the Skuggasveinn's tutorials viewtopic.php?f=22&t=7055and note the making of the bows and the breakable walls ones specifically. I'm going to do this myself... someday! Good Luck, -Lark
yeah but's little bit overkill

I mean showing the image after click(, instead of text)
Re: Wall text as an image
Can you can clarify your idea please ? Y thought that you expect something like that :
The code i made
Edit : Updated my definition and works most fine, only thing is that seems a text must be entered after the image was shown. More else, the image must be as usual, in dds format ( .tga file )
SpoilerShow

Code: Select all
defineObject{
name = "wall_text_image",
baseObject = "dungeon_wall_text",
components = {
{
class = "Model",
model = "assets/models/env/dungeon_wall_text.fbx",
},
{
class = "WallText",
onShowText = function(self)
GameMode.showImage("mod_assets/textures/pictures/example.tga")
end
},
placement = "wall",
replacesWall = true,
editorIcon = 28,
}
}
Re: Wall text as an image
I'm sorry, I've misunderstood you. yeah your code is what I meant. however it's little bit glitchy but I really appreciate your kindness. 
