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.


Topics - MoLAoS

Pages: [1] 2 3
1
I've been developing an idea I plan to use in my current game project. At least I hope to do so.

I would like to enable a game state output to a file, sort of like saving, which can then be accessed by a separate program. That program could then return a file which would be read with the game. In this way you would enable modders to have 100% freedom to design the AI mod of their dreams, probably a compiled program in C++ or some other language. Since they are trading file outputs the actual nature of the program probably doesn't matter as far as languages are concerned. The modder made AI could do all sorts of stuff like have its own files and data just like the built in AI of a game does since its its own totally separate program. Well there may need to be a way to spawn multiple instances of the AI module so that they can all run simultaneously and speed up the end turn wait. My CPU has 8 logical cores so it could use 1 for each instance of the AI.

Well, even just using all 4 cores would be helpful. Otherwise as long as your program could produce proper output you would have total freedom in the AI. Obviously for real time and multiplayer games this could be an issue, especially some kind of cheat in multiplayer, though I'm not sure it would be super easy to send a bogus output to get some benefit.

Also each individual AI could allow for scripting if so desired since it can do anything it wants, so you wouldn't be preventing non programmers from helping.

2
Mandate Engine / Mandate Permanent Cancellation
« on: 23 June 2014, 00:04:39 »
To put it nice I just burnt the shit out of the bridge that connects to a quite large section of the internet community who would be interested in Mandate. As such, there's no longer any point in continuing development of the game. My motivation pretty much instantly evaporated, as well. Shit could get even nastier in the next few days depending on how certain relevant personalities play things, basically if they disclose private messages or don't, since no one has any reason to take my side over said personalities' version.

Anyways, Omega, feel free to close this forum.

3
Mandate Engine / Save Games and 3D Map Editor
« on: 17 June 2014, 06:01:05 »
Okay, so I've been working on the save function. Just on a whim. I got it to work by commenting out a few functions that caused crashes. Now I'm churning through those problems. Basically the game was not saving some data in the unit save function and then tried to load it, causing a crash. I am attempting to implement the saving and loading of every currently non-processed variable.

I have long shifts at work the next few days, somewhat compensated by being pissed off by and screwed over by EU4, thus causing me to stop playing. I believe I'll have scenarios properly saving including all new game data by the weekend. If it goes reasonably fast I'll be able to put some serious hours into working in the other parts of the map editor that aren't finished. The parts I have work pretty well except they can't save. Honestly the way the map save files themselves are set up I can't see any benefit to messing with the map editor file. The only thing its really good for is the parts you can't do anywhere else and I'm gonna work on that if I can. Basically the starting positions and all that jazz. Maybe mass placing trees and terrain for finer editing later in 3D.

I'll try and put up a video when I'm done of me fuzzing a map.

4
Mandate Engine / Beta Release(Game, not Engine)
« on: 13 September 2013, 09:14:49 »
I am at the phase where I am comfortable moving away from programming to filling out the game content. I have been doing some math and I am projecting a beta release of my current game project in 14 days.

I will probably have to fill out some features with a little bit of light programming and correct bugs that I can't be aware of until I actually try to make a game that does what I want, but I'll primarily be connecting game content with currently functioning game mechanics that I've added.

I've got a plan for how stuff works and I'm going to build it up in stages. First I am going to build up the basic economy. So I have like 100 resources already ready and functioning and I am going to connect them to the items and buildings and each other.

Pretty typical city building chains like wheat->ground wheat+milk->bread. Maybe some liquor.

Currently I'm considering my process distribution. Do I want wheat fields, private mills, and baking sheds all on crop farms? Hard to decide. Also dreaming of the day I can play with the graphics code to modify a farm model at runtime based on what items(facilities in this case) are connected.

Anyways, once I hook up the basic economy and get the worker units set up, I plan to start setting up the related stuff. So educated citizens to be overseers of buildings, items that come from the processed resources and the improvements and enchantments of those items.

Once I get all that down I can finally move into the Orders/combat part.

5
Mandate Engine / Crafting Or I Wish I Was An MMO: Part 1
« on: 1 September 2013, 23:21:42 »
So I've more or less finished off events and special citizen generation which really only leaves me with one more major system to go.

Crafting.

Crafting in this project is more or less modeled on MMOs, mainly SWG style.

The special characters have a set of skill values related to every material and every item template as well as meta-item templates like bladed weapon and armor and metal and wood and so forth.

Most characters won't be particularly good at this. Your citizens will train up but its not a super fast process. Your best bet for getting good crafters is to create a city or district that causes your houses to spit out educated citizens well suited to crafting.

Materials start out raw like iron or and such. Through a main set of processes as well as tons of optional ones you refine the materials to get them as good as you can. You will have crafting skills related to processing. There tends to be a split between processors and item makers. It would be rare and somewhat inefficient to have one person do all the wohttps://forum.megaglest.org/Smileys/SoLoSMiLeYS1/scared.gifrk in an item chain. There are processing and crafting skills related to all materials and items/meta-items.

There are physical and magical processes for material optimization/preparation and also physical and magical actions to create good base items. On top of this some Guilds/Orders/Manufacturies can do special actions and enchantments and such either during processing, crafting, or afterwards in the case of enchantments and socketing and encrusting and so forth.

I'll probably finish up citizen generation today and get the basic crafting work done today or tomorrow and then I'll start hooking crafting up to citizens. Once the last connections between systems are made I'll be working on additions to the provisional faction to test out how things work in the actual game rather than in theory. If that goes well I start working on the content stuff, setting up Orders and Guilds and Manufacturies and then city building stuff like housing and services and markets and shit.

I figure I'll be getting serious about content starting next week after finishing stuff and working out bugs and incorrect behavior.

6
Mandate Engine / Event Sytem
« on: 1 August 2013, 21:46:52 »
So now that I've dealt with some burnout, I am ready to do some more work. I am currently implementing events and it may take a while to iron out the kinks. I'd expect to spend a week on getting this up and running and working fast enough to avoid messing with the game.

This is going to take over a lot of the stuff that scenarios and shit did although those are not getting removed. There will be flags and such keeping track of what events have triggered.

This should add a lot more options to the game whether you are making a standard RTS campaign or something more like the exploratory strategy games I work on.

7
According to Very Sleepy of the 50% or so CPU time taken up by the ::processFrame function, which itself is 50% of CPU time used, is in the minimap, particularly updateUnitTex. I have never fiddled with the minimap, but perhaps one of the GAE programmers is aware of this issue and why it happens. It seems weird that this function, for something as irrelevant as the minimap, is taking up 25% of CPU time, even after you factor in all the extra stuff that Mandate has in gameplay over GAE.

The more I refine my additional code the larger % of time taken up by the minimap. Its basically 40% of all time according to the profiler. Other significant time is spent mainly on the UI and my new AI. AI is 10%. UI is 10%.

I will probably fiddle around with the minimap code in a couple weeks to see what is up.

I just set the minimap to updateUnitTex every 20 frames instead of 5. Lag disappeared magically. Now minimap is about 10% of total time. And the difference honestly isn't very visible, the minimap is so low res anyways.

8
Tools / 3D Map Editor
« on: 26 January 2013, 13:13:13 »
After quite a bit of labor I have gotten the beginnings of a 3D Map Editor for Mandate. As far as I am aware it doesn't require a significant amount of my new code so its possible that if I add features in the right order it could be easily ported to GAE.

I have, after lots of labor and annoying errors and unclear code, been able to allow proper placement of map objects in game, based on my previous faction build menu. I will be working on added all the other current map features later. I will be attempting to utilize the save feature, with some modifications for maps, to create a way to store a map. Since the map is effectively created in a game context, its requires both a tile set and a faction. I will try to make these option when I split map making into its own context activated from the menu. Currently and hopefully still after that change, you are able to place both any tile set object and any unit from the player faction. After the change ideally you could place a unit from any faction in the same tech tree.

This may or may not later be modified to include some sort of scenario editor. When and if I add the overworld map screen you should be able to use that as well in conjunction with the map editor. I haven't ironed out all the specifics yet.

Although this should be relatively easy to port to GAE it uses the UI library of GAE so I do not think it would be possible to add this functionality to MG or VG as well.

9
General discussion / Storing Skill Types By Faction
« on: 13 January 2013, 01:48:16 »
How would you guys feel about storing skills in a faction folder and then simply tying them to models with a string in the XML. So then you could give all units a basic attack with a basic damage, and then assign a value to the new strength stat in the unit XML to do differentiation.

You could then write one basic attack skill, one standard move skill, one stop skill, one die skill and for buildings one be_built skill. This instead of having to write one skill that essentially looks identical in every unit XML.

And if you want to add special attack skills its can't possibly add any more effort. Then in the unit XML you would just specify a set of strings:
<skills>
  <skill "stop">
  <skill "move">
  <skill "attack">
  <skill die">
</skills>

Special skills would have their name in the skill XML file so you could just plug another string in in the unit Xml. You can also set move speed and attack speed and other things in the Unit file to be added to the values in the skill file.

Personally I would consider this a more efficient method of defining skills but I am not sure if modders would agree.

10
Mods / Environment Interaction With Units
« on: 30 December 2012, 21:21:37 »
As part of an idea I was recently thinking of I wanted a way to have the environment affect units. Nothing as complicated as only building on special terrain types, though that is in the works, but mostly proximity effects.

I wanted some of the magical orders in my current game to have benefits if their buildings were near certain things. For instance pyromancers whose Motherhouse is by a volcano could gain some special benefits.

Currently my plan is to add a tags system to map objects. Then you can add various things to a unit based on its proximity to objects with the appropriate tag.

For instance some pseudo code:

if (building->isNear(object)) {
    applyBuffToUnitsMadeThere()
}

if (building->isNear(object)) {
    produceNewResourcesOnTimer()
}

The XML for the unit would be like:
<proximity>
<tag name="volcano">
<enhancement>
//fill in normal enhancement XML here
</enhancement>
</tag>
</proximity>

How useful would that kind of thing be to people?

11
Mods / Art Credits
« on: 21 December 2012, 03:42:38 »
Here is a list of Factions I used art assets from to fill out my faction(aside from Magitech):
Woodsmen
Romans
Greeks
Moon
Dwarves
Elves
Gauls
Saxons
Imperials
Warlords
Undead
Crusaders
Dark Knights
Dark Magic

If you are the creator of one of these factions it would be helpful if you could provide a description of how you would like to be credited.

I was thinking of adding an art credits and sound credits file in the TechTree folder and just list each person and what things they added. Not sure if its better per faction, per model or what not.

I'll leave it up to the content creators what kind of mention they want. If anyone doesn't weigh in, although given that I'm likely going to have to push back release to new years that shouldnt be an issue, I'll probably just add a mention like: such and such faction created by such and such person was used for models and icons and sounds of some units.

12
Mods / Cannot Locate Certain Mods
« on: 4 November 2012, 04:08:42 »
I did some forum and google searches and wiki searches, but people keep posting to sites with short hold times, so its almost impossible to find downloads for certain factions.

I've been digging through the mods section trying to find some factions with good quality models and a semi-compatible art style to magitech to flesh out my kingdom simulator demo. I'm pretty far behind code wise although I added and de bugged a shit load of features, but the file was supposed to go up thursday but some sneaky errors and lack of models delayed it.

Anyways I was wondering if anyone had these factions saved or if they actually exist:
Undead
Grey Elves
Orcs
Goblins

Also is there a version of the Elves faction with properly textured Sanctuary and Lore Hall and Ents and what not. Both files I found, 8.7 and 9.7 display as improperly textured in the G3D viewer.

Also is anyone aware of any other fantasy or fantasy related factions with quality models under a free license?

I currently have:
Imperial/Warlords
Solunar(Moon only)
Elves(buggy displays on many units)
Dwarves
Dark Magic
Magitech

Thanks for any help you can give me. I dug around for about 2 hours but I really have quite a bit of programming to do. I still have a couple behaviors to add to the AI and to debug a few things. I also have to dig around and create a faction setting to cancel the original AI, the new AI can currently only work in a scenario with two "player" factions. Disable AI cancels my AI for some reason and standard games the old AI currently overwrites the new agent/behavior based AI.

13
General discussion / Skill/Command System, How Does It Really Work?
« on: 30 October 2012, 17:24:39 »
So currently based on my tests skills/commands don't have any sort of cool down. They all function as autoattacks, and choosing a new skill/command does not reset the timer.

So if I select a command/skill with an attack speed of 10 even if I switch to a new command/skill it would take 10 seconds of downtime before it switched to the new skill which would then proceed at its actual listed speed.

Furthermore attack speed relates only to energy cost being used, all the other aspects of the skill trigger on animation speed.

Do you guys consider this to be an accurate description of the current system?

As part of my Majesty-like work I had been trying to allow wizards to cast spells as they had done in that game, but I believe they used a cooldown system as opposed to what appears to be the Glest/GAE/MG system.

I can write in an optional cooldown for skills, but I don't want to mess with it unless my current understanding is accurate, otherwise I could get some nasty side effects.

14
MegaGlest / Recording Videos
« on: 13 October 2012, 23:13:36 »
Does anyone know some good software that can record video of Glest derivatives?

I used Taksi for my only video so far but now it has started getting me an error from assertGL() and then it crashes the game. I'm not really up on the whole desktop recording software stuff.

15
Mandate Engine / Mandate Update Thread
« on: 2 September 2012, 03:39:38 »
I decided to just make one thread about my fork and not post new threads but mainly just update this one:

Videos:
Mandate related supply chain example:
https://www.youtube.com/watch?v=tZe2R0LGQJY
Mandate related item system demo:
https://www.youtube.com/watch?v=KoHTr4m37Bs

My blog is available at my website at:
www.lordofthedawn.com/wp

SourceForge page, not super useful yet:
https://sourceforge.net/projects/mandateengine/

GitHub Page, also not incredibly useful, does have copy of master branch:
https://github.com/MoLAoS/Mandate

The website is not currently in serious use and mostly dealt with two of my previous projects. The blog is updated daily or weekly depending on my mood.

List of previously added features:
(click to show/hide)

Partially Completed:
(click to show/hide)

Semi-Complete List Of Intended Features:
(click to show/hide)

September 1st:
(click to show/hide)

September 20th:
(click to show/hide)

Update on Majesty stuff:
(click to show/hide)

September 27th, 2012
(click to show/hide)

Edit:
(click to show/hide)

Faction Build Progress, September 30:
(click to show/hide)

Item Creation, Process Integration, Storage, Commands
(click to show/hide)

16
General discussion / Pathfinding. And Other Stuff
« on: 21 July 2012, 18:51:40 »
...

17
General discussion / UI Configuration
« on: 13 July 2012, 09:38:16 »
...

18
General discussion / Economic System; Micro Elimination
« on: 21 June 2012, 05:55:41 »
...

19
General discussion / GMAE Trade Panel
« on: 13 June 2012, 07:55:52 »
...

20
Mods / CotTS, The Unaligned Mandate: One Thousand Suns
« on: 8 June 2012, 09:14:23 »
...

22
General discussion / Advanced Diplomacy And Trade Options
« on: 4 June 2012, 00:14:41 »
...

23
General discussion / New Upgrade System
« on: 3 June 2012, 16:10:32 »
...

25
Mods / Just A Note About Game Types
« on: 27 May 2012, 21:47:29 »
...

Pages: [1] 2 3
anything