Hello
I am having problems making new textures for items.
I am not sure about the format D3DFMT_A8R8G8B8, or how to get the file in that format.
I am not sure about the reference to Mipmaps as well.
I saved a file as dds and put this in the item code
gfxIndex = 0,
gfxAtlas = "mod_assets/textures/steellongsword.tga",
}
When I try to pick up the item i get and error
[string "Gui.lua"]:0: attempt to compare number with string
stack traceback:
[string "Gui.lua"]: in function 'drawItemIcon'
[string "Gui.lua"]: in function 'draw'
[string "GameMode.lua"]: in function 'update'
[string "DungeonEditor.lua"]: in main chunk
[C]: in function 'xpcall'
[string "DungeonEditor.lua"]: in function 'preview'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
stack traceback:
[C]: in function 'error'
[string "DungeonEditor.lua"]: in function 'handleError'
[string "DungeonEditor.lua"]: in function 'preview'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 2
Page size: 4096
Processor type: 586
Total memory: 3037 MB
Free memory: 641 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: Intel(R) G41 Express Chipset
State flags: 08000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: Intel(R) G41 Express Chipset
State flags: 08000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008
any ideas?
Thx,
LordGarth
New 2d textures
New 2d textures
Dungeon Master and DOOM will live forever.
Re: New 2d textures
Nevermind
It took some time but i figured out how to put in 2d new item icons.
Now I have to make new 3d model or every sword type is gonna look like the regular sword when it is on the floor and then it is suddenly different when pick up. LOL
Magma sword looks cool or hot rather hahahahah
LordGarth
It took some time but i figured out how to put in 2d new item icons.
Now I have to make new 3d model or every sword type is gonna look like the regular sword when it is on the floor and then it is suddenly different when pick up. LOL
Magma sword looks cool or hot rather hahahahah
LordGarth
Dungeon Master and DOOM will live forever.