Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Hawkinzon

#1
Hi,

I did upgrade from 1.5 to 1.6 and now when I try to run my Quest it gives me a Fatal error.
The error occurs as soon as Solarus Logo disappears, anyone have a clue why it gives me this error?
I can't find anything in my main.lua, project_db.lua, features.lua, game_manager.lua, initial_game.lua or multi_events that can cause this problem but I might miss this.

Hopefully someone know why this error pops up, please help  ;D


Info: Solarus 1.6.0
Info: Opening quest 'C:/Users/PC/Dropbox/.solarus/AdventureOfHector'
Info: Joypad support enabled: true
Info: SDL: 2.0.8
Info: Using modern GL Shaders
Info: Renderer: GlRenderer
Info: OpenGL: 4.5.0 NVIDIA 382.16
Info: OpenGL vendor: NVIDIA Corporation
Info: OpenGL renderer: Quadro K2000M/PCIe/SSE2
Info: OpenGL shading language: 4.50 NVIDIA
Info: Quest format: 1.5
Info: Fullscreen: no
Info: LuaJIT: yes (LuaJIT 2.0.3)
Info: Language: en
Info: Language: en
Info: Lua console: yes
Info: Turbo mode: no
Info: Simulation started

Fatal: Data file 'sprites/' is a directory
#2
Hi,

I have encountered with a custom NPC i made. I have made a "Cutscene" were the hero and this npc is running to eachother, but as soon as the npc's path reached the last value (path_movement:set_path{4,4,4,4,4,4}) the sprite disappears? If I change sprite to ie. Zelda this works perfectly and the npc stops were it should be. Do I need to create a "stopped" animation for my custom npc?

Anyone know what the problem might be? I'm pretty new to this so please be forgiving :)
If anything is unclear, just ask and I will explain more
#3
Development / Need help with effects and weather!
May 04, 2018, 09:38:45 PM
Hi everyone!

I wonder if someone can give me an example of how I can make a "Earthquake" also a "Fade out" effect with the camera?
I'm working with my prologue of the game and the Idea is that the following:
The hero is walking along a road, and suddenly the ground start to quake (here I need the earthquake effect) and the evil lord or some other angry dude shows up (haven't decided yet) and make my hero unconscious (here I need the fade out effect).

I also need help with weather conditions, I would like a "Storm/rainy" effect during my prologue and I also would like to have other weather conditions in different areas of the game (Sunny, rainy, snowy, windy etc.)

I can't really find anything in the documentation that can help me with this. I might look in the wrong place?
So I wonder if someone please can help me, either to tell me were in the documentation I can read about this or if someone can give a example of how the effect can be made

BR
Hawkinzon
#4
Development / Remove keys after using
November 28, 2017, 06:41:51 PM
Hi again!

I've been trying to add a key (the wooden key which already exists as an item) to my game which should be removed/decreased in amount after used.
I've been following this topic (http://forum.solarus-games.org/index.php/topic,245.0.html) about the same issue, and used the code that was set by Christopho on page 2, but I don't get the item to work properly.

I can add the key to the game and pick it, and use it to open chests. But when I have picked it up it doesn't want to decrease in amount when I open a chest even if i edit the chest to remove/decrement this item after using it. Also tried to use the counter as a required item to open the chest but it makes no different.

I also tried this directly directly in the wooden key lua and wooden key counter lua:
Function item:on_using()
             item:remove_amount(1)
end

but it doesn't work.
I have attached both my Wooden key lua and my Wooden key counter lua to be read here. Please help me!!  :'( :'(

Also, @Christopho, if you see this. You might have ALOT to do, but if you could do a tutorial about this in english as you have about the bow and arrow in french it would be AWESOME!

BR
Hawkinzon
#5
Development / hero:walk(path, [loop, [ignore_obstacles]])
November 24, 2017, 11:28:05 PM
Hi all!

Since I'm totally new to lua scripting I would like someone to explain how this works
hero:walk(path, [loop, [ignore_obstacles]])

I've been reading the documentation for the last two evenings and tried different solutions to get this to work but I can't figure it out.. I understand the function and what it can do, but I can't get it to work.
The function I was is to have my hero to freeze (for the player) and then walk a path of 2-3 steps south/down after I step on a sensor when I haven't a specific item obtained

Can someone please write an example on how this works?

BR
Hawkinzon
#6
Development / [SOLVED] Item image won't show
September 26, 2017, 09:56:07 PM
Hi Everyone,

I am currently working on a item which is working in game, it can be found and will be registred in my inventory and will open e.g doors that require that item.
The problem is that when I get the item from e.g a Chest it will display the dialog but not the image of the item.
I have double checked that the .png image is in the MyQuest\data\sprites\items folder with the correct Dialog ID

Got any ideas about what is going wrong? Can't find any directly tutorial on how to create a new item.
Please let me know if you need any files attached

BR
Hawkinzon
#7
Development / [SOLVED] Quest.dat not found
September 26, 2017, 08:20:48 AM
Hey guys!

Don't know if this is the right section to post this but when I try to open my quest I browse to the folder with the quest.dat file, but when I run it it says that there isn't any Quest.dat file in that folder.

I can open the sample quest which comes along with the Solarus 1.5.3 package and I also compared the Sample quest Quest.dat file with my own Quest.dat and can't find anything odd.

Do you have any clue why the heck the program can't find my file?

Note: the quest I have was created in early 2017, so if there is any new program version that  might be a problem?

Br
Hawkinzon
#8
Game art & music / In need of NPCs sprites for ALTTP
January 22, 2017, 08:32:12 PM
Hi,

I am wondering if anyone has additionally NPCs sprites for ALTTP?
If you watch Christopho's english youtube tutorial, you can see that he have loads of sprites for NPCs (note! The youtube video should start where you can see the sprites) https://youtu.be/ME34buyjl-M?t=99

Unfortunately these sprites aren't within the ALTTP-pack that I've downloaded

If anyone have additional NPCs sprites and is willing to share I gladly accept them :)
And of course, if you have made your own sprites I include you in credits!

BR
Hawkinzon
#9
Hi,

Short description of the problem
When I load an item (e.g sword) I receive the sword and can use it, but there is no animation playing or any dialog showing up. and I also get the following error code.
Error: Missing treasure dialog: '_treasure.sword.1'

The problem is more described below this line



I have downloaded Solarus and is currently following a Zelda tutorial made by ChristophoZS on Youtube.com
I am in part 4 (link to video https://www.youtube.com/watch?v=768IFV1zBKU) of the tutorial were you create Items and treasures.

I have also downloaded the resources from ChristophoZS which contains the following:
items - This folder contains 3 LUA files (heart, shield and sword). Which all have different but pre-set codes to use
languages - This folder contains a subfolder named en which only means that the languages is for english usage.
subfolder en - The subfolder contains two other subfolders images which is empty and text which contains two DAT-files
subfolder text - The subfolder contains two DAT-files named dialogs.dat and strings.dat
dialogs.dat - This DAT-file contains the code for dialogs that should be played when a specific item is picked up. e.g sword 1 (courage sword)

Below is a example for how the code is written:

--------------------
-- Sword 1
dialog{
  id = "_treasure.sword.1",
  text = [[
You found the
Sword of Courage!

Use it to vanquish
your enemies!
]]
}
--------------------

As you can see above the code says that when Sword 1 is picked up in game a dialog (id=_treasure.sword.1) should be played and also what kind of text it should display.

I took these two folders (items and languages) and replaced them in my Quest -> data folder (As he showed in the tutorial). But there is no dialog showing up and there is also no animation played at all when i pick the sword up through, for an example, a chest. I have also tried to place the sword on the ground without success.

One thing that I should add is that the "Pick up item" sound is played when I pick the sword up.

If anyone knows what is wrong please get in touch with me, this ruins much of the gameplay.

See attachments for more informations and files

BR
Hawkinzon