r/dftfu • • Sep 29 '15

how done is this is it playable

1 Upvotes

hey ive spent about 3 hours reading through the fourms and website and still arent a 100% how much is still missing?how much is playable ? thank you and orry for he horrible spelling english isnt my native langauge


r/dftfu • • Feb 05 '15

DFUnity Can we talk quests?

3 Upvotes

I have some basics in place: a devconsole with commands like spawn_enemy and travel; this will be my easily accessible hook into the inner game logic. So, for example, when I want to damage an enemy some particular I'll use the same command that the game will eventually use internally.

What I'd like to do is develop these commands in tandem with the other parts of the game, and I think a good starting point is quest management. My question as it pertains to DFTFU is: how does Daggerfall expose quest information, and how can I grab it? Is this currently accessible, or is it still a to-do item? If it's the latter, is there information out there for how DF handles quests?


r/dftfu • • Jul 18 '17

Point & Click Combat

4 Upvotes

How about a mod that changes the combat to just point and click to attack for people that want a TES2 thats more like TES 3,4,5?


r/dftfu • • Mar 03 '15

Gamasutra - Unity 5 released with upgrades, full-featured free version

Thumbnail
gamasutra.com
6 Upvotes

r/dftfu • • Jan 25 '15

One For The Weekend: Daggerfall Tools For Unity

Thumbnail
rockpapershotgun.com
9 Upvotes

r/dftfu • • Feb 04 '15

PlayerGPS And Other Enhancements

6 Upvotes

Just a small update. I have added a few minor enhancements to PlayerGPS and DaggerfallDungeon to expose which dungeon block the player is currently inside of, and if player is actually inside a location at inch resolution (rather than simply near a location at map pixel resolution).

These are proving very useful already. Here are some new components coming for Demo namespace which already use these enhancements.

  • Detect if player is inside a palace dungeon block or not to correctly set ambient light. You can see this effect in game if you go to Wayrest and cross out of the palace area into general dungeon. The ambient light will dim/brighten as you pass in/out of the palace block. I have added a PlayerAmbientLight manager to help you control ambient light in different environments.

  • Change music. As with ambient light, Daggerfall will play palace music in palace blocks and dungeon music in dungeon blocks. I have added a SongManager component to play different tracks where appropriate based on time of day, weather, and environment.

  • Show text when entering a location rect. I've added a simple Demo component to show the name of a location when player crosses into it. This is a bit more attractive than the debug string. You could build off this to display other flavour text near dungeons, just like Daggerfall.

You could also use this simple information for a variety of other uses, such as dungeon maps, exterior mini maps, spawning guards inside city limits - that kind of stuff. Amazing how useful two small bits of context information can be.


r/dftfu • • Jan 30 '15

DFTFU LayoutOrisinium()?

5 Upvotes

Due to the miserable way that I've found to merge upstream changes (not your fault, /u/DFInterkarma, for some reason my git repo thinks that every single merged file has changed in both places, so that when I update your API I have to run mergetool on each file--still working on a better way) I end up reading every line of code you change. These changes are always very welcome, by the way, such as the new GetInstance for DFUnity instead of that helper function!

I found this one and was wondering what the backstory is:

diff --cc Assets/Daggerfall Unity/Scripts/Internal/DaggerfallDungeon.cs
index 57bed76,a3614c1..0000000
--- a/Assets/Daggerfall Unity/Scripts/Internal/DaggerfallDungeon.cs
+++ b/Assets/Daggerfall Unity/Scripts/Internal/DaggerfallDungeon.cs
@@@ -60,7 -60,10 +60,14 @@@ namespace DaggerfallWorksho
              summary.DungeonType = location.MapTableData.DungeonType;

+        // Orsinium defines two blocks at [-1,-1]
+        private void LayoutOrsinium(ref DFLocation location)
+        {
+            // Create dungeon layout and handle misplaced block
+            foreach (var block in location.Dungeon.Blocks)
+            {
+                if (block.X == -1 && block.Z == -1 && block.BlockName == "N0000065.RDB")
+                    continue;
+ 
+                GameObject go = RDBLayout.CreateGameObject(dfUnity, block.BlockName);
+                go.transform.parent = this.transform;
+                go.transform.position = new Vector3(block.X * RDBLayout.RDBSide, 0, block.Z * RDBLayout.RDBSide);
+            }
+        }

What does it mean to have a block in a dungeon? Is that what gives Orsinium the ability to have those NPCs in the beginning?

I ask out of curiosity, but also because I wonder what the implications are if we want to have dungeons in the future that mix NPCs and other elements in with the dungeon aspect. Is this fundamentally incompatible with how Daggerfall handles it internally?


r/dftfu • • Feb 02 '15

Random Encounter Tables

3 Upvotes

I've just checked in code to insert random encounters during RDBLayout. Here's a breakdown of the process, which might be helpful to anyone creating a more game-like implementation.

  • DaggerfallDungeon.cs keeps a summary struct with field of type DFRegion.DungeonTypes. This is the native dungeon type as read from game files.

  • DFRegion.DungeonTypes value can be cast to an int then >> 8 to find index of dungeon type.

  • This index is used to retrieve the random encounter table from static array RandomEncounters.EncounterTables.

  • Each RandomEncounterTable has an Enemies array with enemies for that dungeon type. Enemies are generally ordered from low-level to high-level (e.g. Rat through to Lich).

  • Random enemies are inserted into scene wherever the editor marker 199.15 (archive=199, record=15) is found. You can see an example of this in the Utility class RDBLayout. See AddRDBFlat() for starting point.

  • RDBLayout will just add randomly from table based on a starting seed. Normally this would be weighted by player level.

https://github.com/Interkarma/daggerfall-unity/blob/master/Scripts/Utility/RDBLayout.cs

Edit: I will almost certainly give this another pass in future. I don't like using (int)DFRegion.DungeonTypes>>8 as index into static array. There are no sanity checks if unknown data is encountered. I will no doubt change this to a safer helper method later. The general flow will be much the same however.


r/dftfu • • Jan 26 '15

Any way to get a list of Location Name/Region Name combinations that will work in the importer?

6 Upvotes

Just like the title says. I have imported the Daggerfall/Daggerfall dungeon and it's awesome, but I want to import other ones and don't know what to enter into the text field. Sorry if I'm missing something obvious!


r/dftfu • • Oct 11 '15

First Look At Classic Save Importing

Thumbnail
dfworkshop.net
14 Upvotes

r/dftfu • • Jan 25 '15

Must not Freak Out. *slightly freaked out* a.k.a Oh god, this may have saved me a life time of coding work. But some questions...

7 Upvotes

Hi!

Oh man this is so cool, only just found it today by accident!

But a quick question, I read this is opensource, and if this is through, could I use Bill-boarding Scripts for Enemies with a different FPS system for Unity, like UFPS or Realistic FPS? I've been wanting to make something akin to a Fallout "De-make", and this seems like the right potential for what I need!

Thanks, cant wait to see future improvements on this great system! :D


r/dftfu • • Feb 10 '15

Daggerfall Tools for Unity 1.2 Released!

Thumbnail
dfworkshop.net
14 Upvotes

r/dftfu • • Jan 30 '15

Move to GitHub

5 Upvotes

I have moved the Daggerfall Tools for Unity source code repository from Google Code to GitHub. If you are following the source, all future updates will be found on the following project page.

https://github.com/Interkarma/daggerfall-unity


r/dftfu • • Feb 02 '15

you might want to check these out, they're a little tall.

Thumbnail
uesp.net
7 Upvotes

r/dftfu • • Feb 12 '15

Increase vertex density to have a more stable vertex lighting?

4 Upvotes

Unity favors vertex lighting by default, allowing only a couple of lights to act on a per-fragment basis. Lights that are flagged "Important" and those close to the camera get the per-fragment treatment, and the rest is processed by vertex.

Since the meshes in Daggerfall are very coarse, vertex lighting yields visually poor results. The current DaggerfallLight.cs script, which makes the lights flicker by randomizing their range over time, often results in walls not being lit at all because their vertices are out of reach. There's nothing wrong with the script, it's just Unity taking unfortunate shortcuts.

I thought that one way to solve the problem would be to automatically densify the meshes by subdividing big triangles. Of course we do not want to do that to the collision meshes.

What other options are there?


r/dftfu • • Jan 24 '15

Kotaku AU Just Posted An Article About DFTFU

Thumbnail
kotaku.com.au
13 Upvotes

r/dftfu • • Oct 07 '15

Daggerfall Unity Test Build Incoming - Testers Wanted!

Thumbnail
dfworkshop.net
18 Upvotes

r/dftfu • • Feb 08 '15

Daggerfall Tools for Unity - Daggerjam

Thumbnail
youtu.be
13 Upvotes

r/dftfu • • Nov 03 '16

So can we upgrade the ingame 3D models?

8 Upvotes

Just tried the alpha for the first time, and absolutely loving it. What a difference. Absolutely stellar work so far. :D

I can't help but wonder, though - I'm a 3D modeller by trade and would love an opportunity to work on improving some of the ingame 3D models. I'd absolutely keep in the style of the game, no fancy modern methods or new HD textures, just something a BIT more high def - the buildings in cities especially irk me.

But is that an option at all? I'm checking out the Daggerfall Modelling tools as we speak, but I have absolutely no modding experience, so wouldn't have a clue how to implement anything back into the game.


r/dftfu • • Feb 05 '15

Song Management

4 Upvotes

I've been working on a song manager to play music based on player context. For example, dungeon music in dungeons, palace music in palaces, tavern music in taverns, and so on.

Unfortunately, I have two tin ears and I'm not sure where all the songs are played. Some of these tracks I don't remember hearing in Daggerfall at all.

I was hoping to use wisdom of the crowd to help determine which tracks are played under what conditions. If there are any musically attuned folks out there who think they can help, please feel free to offer up your suggestions for where these tracks should be played. It doesn't have to be perfect, and overlaps are OK!

I will then use the consensus to build track listings for the song manager. This will spice up the next streaming world demo and give other developers easy drop-in music support they can tweak if desired.

If you need a copy of all the MIDI songs for listening purposes, you will find them for download on the UESP: http://images.uesp.net/d/df/Dfmusics2.zip

Here's the full GM track listing. Let 'er rip. :)

  • 02.mid

  • 03.mid

  • 04.mid

  • 05.mid

  • 06.mid

  • 07.mid

  • 08.mid

  • 09.mid

  • 10.mid

  • 11.mid

  • 12.mid

  • 13.mid

  • 15.mid

  • 16.mid

  • 17.mid

  • 18.mid

  • 20.mid

  • 21.mid

  • 22.mid

  • 23.mid

  • 25.mid

  • 28.mid

  • 29.mid

  • 30.mid

  • d1.mid

  • d10.mid

  • d2.mid

  • d3.mid

  • d4.mid

  • d5.mid

  • d6.mid

  • d7.mid

  • d8.mid

  • d9.mid

  • dungeon.mid

  • dungeon5.mid

  • dungeon6.mid

  • dungeon7.mid

  • dungeon8.mid

  • dungeon9.mid

  • folk1.mid

  • folk2.mid

  • folk3.mid

  • gbad.mid

  • gcurse.mid

  • gday___d.mid

  • gdngn10.mid

  • gdngn11.mid

  • gdungn4.mid

  • gdungn9.mid

  • geerie.mid

  • ggood.mid

  • gmage_3.mid

  • gneut.mid

  • gpalac.mid

  • gruins.mid

  • gshop.mid

  • gsneak2.mid

  • gsnow__b.mid

  • gsunny2.mid

  • magic_2.mid

  • overcast.mid

  • overlong.mid

  • oversnow.mid

  • raining.mid

  • sneaking.mid

  • sneakng2.mid

  • snowing.mid

  • square_2.mid

  • sunnyday.mid

  • swimming.mid

  • tavern.mid


r/dftfu • • Jan 31 '15

Serialization Tips, Tricks, & Traps

4 Upvotes

There are a few people working on game content and I thought a thread about our experiences serializing game data might be useful. Here are a few from myself.

General

  • DFTFU will serialize any scene content imported by editor into scene. A single city/dungeon equates to around 40MB of mesh/texture/etc. data. Static scenes like this are generally intended for one-shot/special gameplay tests or small games.

  • DFTFU will not serialize procedurally imported content at runtime (e.g. StreamingWorld). HideAndDontSave will be set for procedural assets.

  • When saving games, you don't need to serialize all the scene data, just enough to rebuild scene later.

Exteriors

  • For exteriors, you will need the MapPixel coordinates + relative transform data of player relative to current PlayerTerrain. When rebuilding world, StreamingWorld rebuilds from central player terrain outwards. That's why you just save the relative transform data (position, rotation, etc.).

Interiors

  • If player saves inside a building, you should custom serialize the entryDoor, and exteriorDoors from building/block game object with exterior door array (i.e. doorOwner). Door information is required so player can exit building again. You will also need to serialize information about exterior world (MapPixel coords again) to rebuild exterior parent in scene.

  • The entryDoor should contain all the information about the interior you need to rebuild interior. It is of the [Serializable] StaticDoor struct.

Dungeons

  • Dungeons are similar to interiors, but a bit easier. You just need to serialize the MapPixel coords to rebuild exterior parent. You should also serialize enemy/mobile state while player is inside dungeon, but this can be discarded once exited.

  • The [Serializable] DaggerfallDungeon.DungeonSummary struct contains the location ID, which is enough to rebuild any exterior location.

  • Dungeons don't always have a start marker outside, so it would probably help to serialize the players relative transform data at enter-time so you can plop them back there on exit. Invert forward so they're facing away from entrance.

Feel free to add any of your own if you come across them. I will insert them to the list above.


r/dftfu • • Feb 12 '15

Outlaws by lucas arts?

3 Upvotes

So maybe not all of you but a few still were aware of the existence of a first person western shooter made in 1997 by Lucas arts named Outlaws. Promised to eventually be ported by XLengine and still far from being touched upon by their minimal crew this lead me to wonder when upon discovering the existence of daggerfall tools for unity... Since Outlaws used an upgraded engine that Daggerfall also used, is it possible to see it revived through these tools?

I don't know how to use unity or how to program otherwise i would have been seeing for myself if i could, i'm more an arts department kind of guy so it's beyond my available skills and talents. That left me with just simply asking if whether or not developers of DFTFU or others working with the tools think it's at all possible to apply these tools to give Outlaws something of a modern port.

I guess if the answer is "No, it's not possible" i can shrug and accept that. I look forward to playing daggerfall kind of "remastered" through these tools but i'd like even more so to see if this could make one of my favorite games of all time playable again.


r/dftfu • • Jan 28 '15

Added a Compass Component

Post image
10 Upvotes

r/dftfu • • Feb 12 '15

DFUnity (No demo) Added XML quest parsing logic

4 Upvotes

The demo for this is quite boring, just showing log output of a successfully loaded and parsed XML quest file. If there are people here who like reading code, though, here were the changes involved: https://github.com/EBFEh/DFUnity/commit/ca4d8cdbde8e3eb15ae4675eaecc2e166f7950b7

My approach is to get a single quest file loaded and fully parsed, then start creating the game objects necessary to implement the DF "opcodes" that define the quest logic. Things like starting timers, creating enemies with items in their inventory, etc.

Currently it successfully loads the file and stores all the data in handy internal data structures. Doesn't look like much, but this kind of low-level stuff is the under-the-hood magic that makes a game work!

Many thanks to mingoran of the XL Engine Forums, who DFInterkarma pointed me to, for converting the QRC and QBN quest files into XML. It makes this task immeasurably easier!


r/dftfu • • Feb 12 '15

Text And Localization – First Look

Thumbnail
dfworkshop.net
4 Upvotes