|
|
|
|
October 16th, 2006, 01:11 AM
|
Private
|
|
Join Date: Oct 2006
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Adding a command for commanders
I want to mod dom so that there is a option to "Move and Search (for magic sites)". I don't think that needs explanation.
I glanced over the modding pdf that came with the game, but I don't think it covers modding extra functionality into the game. Is it possible? How much trouble? Is there a tutorial, or tools?
Recently programming C# for a living (3 monthes), in case you want info on the audience seeking your help.
Thanks for any help.
|
October 16th, 2006, 04:37 AM
|
|
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Adding a command for commanders
Modding cannot alter the game mechanics, it can only alter the units/items/spells stats and chose different 'hardcoded' functions for them. (Btw., this is pretty obvious from the modding manual...)
A "move and search" funktion is not possible without substantial changes to the game engine: "search" is a monthly order, while "patrol" is a state. "move and patrol" lets the unit move, then set it to "patrol" - which will carry over to the next month. "search" cannot carry over, because its a monthly order like movement. There can't be 2 monthly orders anyway ... .
If that was easily possible, we would have movement along waypoints or at least over 2 turns (to a distant target) for a long time.
At least that's what I have deduced from seeing how the game works and some of the devs comments. Maybe I'm all wrong and Johan is simply lazy ...
Btw., I have done some programming at University 17 years ago - using Fortran77. Anyone who remembers that language?
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|
October 16th, 2006, 05:42 AM
|
Private
|
|
Join Date: Oct 2006
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Adding a command for commanders
Well I was afraid of that...
In fact, (in anticipation of this rejection) I moved it over to the main board's "patch suggestions" thread earlier, and gave a description of how to can implement this behaviour state based...
In short, I didn't mean it to be like move and patrol. :-P I guess I was stretching a bit far to think it was self-explanatory.
In the search/move state, the mage either searches whatever province he is in, (if it makes sense to do so,) or chooses a nearby province to move to... much like the recurring state of cast ritual searching spell selects a monthly action based on given criteria.
I was hoping maybe there was an sdk, or perhaps some sort of applicable scripting option.
PS, I think there are plenty of systems still working under fortran (and hence probably work available in maintenance)... In spite of its age, it lingers places, since if it ain't broke, don't fix it. A bunch of our clients still using COBOL servers (same era right?) for sure, anyway.
|
October 16th, 2006, 06:03 AM
|
|
Major General
|
|
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
|
|
Re: Adding a command for commanders
Hey hey, don't discout those languages yet, I am required to take COBOL in the spring. Imagine my surprise when I saw that course was even offered, much less required!
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
|
October 16th, 2006, 11:46 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Adding a command for commanders
Ive hired programmers (to help maintain internet systems) and I refuse to hire experts in one language. Like a C++ expert or a java expert. The systems are an amazing collection of code from just about any language you can name. I will hire someone with 3 "dead" langauges over an expert in one.
Why? Because if something breaks its often something simple like a path that changed. Someone who knows multiple languages tends to be willing to look at it and give us a 10 minute fix where the expert wants to spend 2 weeks rewriting it into the language he knows (and often giving us something that only he can maintain). There ARE times when a specific language is needed. We always outsourced those.
So dont knock other languages. They are still in use even if new things dont tend to get written in it. And even a "dead" language that you never use can give you the wider view that can be helpful.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
October 16th, 2006, 12:17 PM
|
|
Lieutenant General
|
|
Join Date: Sep 2003
Location: Hyvinkää, Finland
Posts: 2,703
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: Adding a command for commanders
I think people are knocking at COBOL being roughly 46 years old and Fortran, ah, anything with a version that ends with "77" is old.
But I don't knock on them. I think I saw a Fotran compiler or somesuch in the list of programs of the company I worked a small while for in summer.
__________________
"Boobs are OK. Just not for Nerfix [img]/threads/images/Graemlins/Smile.gif[/img] ."
- Kristoffer O.
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|