.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old November 23rd, 2005, 05:00 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Mod Command Brainstorm

EDIT:
Ugh! This is a LONG post! I'm afraid this will scare away all official people who might have read this thread just so they could quote something cool and say "that's already in". (Hey, who knows. They already did it with the shore/coastal suggestion in Wishlist some days ago.)


Quote:
RedRover said:
I am a little unclear on your #fortdef comment. Are you only proposing this as an alternative format, or are you saying that currently adding this command to a mod will actually work in dom2?

I'm quessing that #fortdef is closer to what Illwinter would use as the keyword. However, now that I checked what is used as #siegebonus, I think it's more likely to be #castlebonus or #castledefensebonus. Has nothing to do with the actual idea, of course.

Quote:

(new)
Unit Power
Capital only. This Unit can be produced only in the capital.
Leader Power
Capital only. This Leader can be produced only in the capital.

All current modding commands affect ALL units, regardless of what and how they are. I think it's a reasonable idea, so there would only be need for one set of commands that only work one way.

More to the point (this suggestion):
Currently, units can be used anywhere. Trolls are summoned from Earth Court and Summon Troll, and can be recruited from Troll Cave or somesuch site, and from certain independent poptypes that might never come up except in maps that define them. All of these are the same unit. The control of recruitment doesn't happen from the UNIT, but instead it is defined by the way you obtain it. Rather than unit command, I suggest the following:

Spell modding:
#summonunit OR #unit <number> <id>|<name>
The spell a creates/summons <number> units of the given name or id.
#summoncommander OR #commander <nr> | <name>
The spell creates/summons unit of the given name or id.

Nation modding:
#capitalunit <nr> | <name>
The selected nation can recruit unit of the given name or id only from its capital province. Other nations that conquer this nation's capital can't recruit the spesified unit, nor can they recruit their own capital-only units from conquered enemy capitals. (compare to #recunit, #reccom)
#capitalcommander <id> | <name>
Quess.

Site modding:
#siteunit <id> | <name>
#sitecom <id> | <name>

The unit/commander of given blablabla can be recruited from the province this site is located in once the site is found.


I don't think I missed anything. But I lost my patience. Must be the Dark Side...

Here are some Real Ideas, first for spells:
Summon spells are easy. A number of critters appears. It's the cost and requirements (already definable), the name of the spell, and the creature(s) summoned that make it interesting. Therefore, I propose the addition of the following spell modding commands:

#newspell <spell number>
New spell of this identifier is added. If not possible (because of the data structure), then a dozen or two blank spells would be nice.

#name "<name>"
"This must be the first command for every new spell.
It sets the name of the weapon." It also affects existing spells.

#summonunit and #summoncommander, defined earlier.

Also, I don't know of the format, but creating a Crossbreeding-like spell that summons creatures chosen from a larger number of critters would be awesome. It would also be possible, although not simple, to make some critters more common by having them appear in the list more often.




Damage spell could be done, but it would be much more boring. We can't create totally new, original effects as we could do for spells. However, if they were to be done:

#numberofeffects
The number of darts/bolts/whatever the spell creates/fires/shoots
#precision
and a way to define the effect (probably as a "weapon").
#flyspr and #explspr already exist, but they should be changed to work for magically propelled energies as well.


And now, something to consider:
Everything a magic weapon can do as weapons, even special abilities like Shatter of that hammer (Smasher?), or Strength Drain, are technically WEAPONS. So even if the only effects we could add would be called "weapons", we would in effect deal any kind of damage (fire, cold, lightning, armor piercing, armor negating, and/or unresistable (normal OR acid), as well as multitude of special effects (check modding manual, table 7 at 4.27. Please do realice that every number from 1 to N is a weapon OR a special effect, AND that all of them have been compiled into Unit &Weapon Database etc.)


Weapon modding:
Various slaying abilities. These would be complicated. Something that could work would be e.g.

#doubedamage <type>
#tripledamage <type>

etc, in which <type> would be e.g. Cold-blooded, Demon, Undead, Mindless, Magical Creature, Stealthy, Mounted and, of course, Pretender and Prophet ()... with pre-given numbers. Only the developers could add to this list, and the multiplier couldn't be defined, but it would still offer quite a many interesting options.



Also, a strange idea that just popped into my head:

Affliction modding:
#newaffliction
#name
#str, #att, #def... as in the unit stat screen
if possible, #removebody <number>, where number would stand for equipment slot(s) that would be removed from the unit if he/she/it had it before the affliction.
#fire, #lightning, etc. for damage types
#neverheal, #noheal
Like "Never" Healing Wound and then something that really never comes off, whatever you do.

It would be cool to have an army of Scarred warriors after fighting Abysia:
#newaffliction 166
#name "Scarred"
#prec -2
#att -1
#def -1
#mrl -2

There aren't that many really interesting ideas that can be pulled off with only modifying stats, so this probably isn't worth it.
Reply With Quote
  #2  
Old November 24th, 2005, 11:54 AM

RedRover RedRover is offline
Corporal
 
Join Date: Feb 2004
Posts: 165
Thanks: 0
Thanked 0 Times in 0 Posts
RedRover is on a distinguished road
Default Re: Mod Command Brainstorm

Endoperez: I really hope you don't scare people off.
Maybe we should concentrate on generating a longer alpha list first?

Is there some way we could get a sticky, updatable "first post" on which a cumulative alpha list could be built?
Quote:
All current modding commands affect ALL units, regardless of what and how they are. I think it's a reasonable idea, so there would only be need for one set of commands that only work one way.
Oh, I didn't know that. In the Modding Manual, Units and Leaders have their own sections for advanced modding. It seemed to me that even if the commands were the same and worked identically, following the organization of the current documentation would be most likely to ensure complete coverage, even if it resulted in some duplication.

On the other hand, I really like your suggestion of making the "capital only" tag a Nation mod command instead of a Unit|Leader mod command. Kudos!

Recruitment: I agree that these are best handled under the headings--Nation, Spell, Site. Nice treatment of these.

Spells: I hope that Spell modding is configured to allow a theoretically infinite number of new spells. Blank slots would fill up so quickly that keeping mods mutually compatible would be a nightmare. Maybe a Spell list like we have for Units, Weapons, and Armor that goes to four digits would be the best approach?
Quote:
#flyspr and #explspr already exist, but they should be changed to work for magically propelled energies as well.
Agreed. It would be even better if, for example, new .wav files for sound effects and new TGA sprites for visual effects could be created and added by modders.

Weapons: Agree that an "Advanced Weapon Modding" section with its own list of mod commands is a great idea.

NEW!!
For the purpose of this thread, Weapon Effects should be listed as:

Weapon
Title: Blah, blah

#effectname

As always, new contributors can ignore the code stuff if they're not comfortable with it.

Note that in this thread we are more interested in capturing a new capability with broad applications, than in duplicating a specific, complex weapon. We are after building blocks here.

Affliction Modding: I would be inclined to put this under Weapon (and maybe add a "see Weapon" reference under Unit, Leader, and Pretender).

Or does anyone think a "Misc" category for modding commands would be more efficient for subjects like this in this thread?


Agrajag: These are all GREAT suggestions! Got any more?

B0rsuk: I think your idea is a good addition, but don't you think it would also be useful for a modder to be able to actually force an Event of some sort to occur?

Events
Maybe these could be keyed to Luck scale (-3 to +3) and numbered, allowing specific events to be assigned if the modder desires.
Reply With Quote
  #3  
Old November 24th, 2005, 01:53 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Mod Command Brainstorm

Quote:
RedRover said:
Agrajag: These are all GREAT suggestions! Got any more?
Thanks for the positive feedback
I've got many ideas for mod commands, only sadly, I think them up in bed before I fall asleep, and forget about them by the time I wake up
Here are more ideas I can remember right now (though I like them less than my previous ones):
I) #Teleporter
This gives the unit the ability to Teleport between provinces as a Move action /*similar to the Dimension Boots, or whatever their name is, I forgot :\)*/ it also allowes the unit to teleport in combat /*like fly, but unaffected by storms*/ - Though this idea can already be implemented using the #flyinstorm idea combined with insanely high movement.
2) #Periodiceffect <period> <stat> <modifier>
Will make it so the weapons with this command, will give its bearer an increase of <modifier> to his <stat>.
<stat> is that leader's stat that will be changed, something along the lines of:
0: Strength
1: Attack
2: Defence
3: Precision
4: Move
5: HitPoints
6: Magic Resistance
7: Morale
8: Protection
9: Fatigue
Maybe even:
10: Experience
11: Leadership
12: Undead Leadership
13: Magical Being Leadership
And possibily even: (!)
14-21: Astral/Fire/Air/Water/Earth/Nature/Death/Blood Magic
((or any other order of things))
<modifier> is by how much that stat will chance, for example 5 will give a bonus of 5, and -19 a malus of 19.
<period> determines the interval between increases, for values of:
1-50: Every 1-50 turns in combat, the leader's <stat> will increase by <modifier>, reseting at the start of each battle.
100+: Every <period>/100 game turns (=in the strategic map), that leader's <stat> will increase by <modifier>
This one could be useful for items with interesting effects, like:
1) A cursed ring, which makes you into a coward (#Periodiceffect 100 7 -1 will make it so the leader loses 1 morale each turn)
2) A powerful sword (=good stats) which slowly saps your strength away (#Periodiceffect 100 0 -1)
3) A powerful axe, which feeds on the energies of battle, and empoweres the user with those energies (#Periodiceffect 2 0 1 for increasing strength by 1 every other turn)
4) A magical shield, which grows bigger the longer it is held (#Periodiceffect 2 2 1 and #Periodiceffect 4 9 1)
etc.
3) #Mercenary <days>
Will make a unit disappear <days> days after being recruited (or summoned).
This way you could recruit a Mercenary unit, which leaves you as soon as its contract ends.
Or even better, a special Devil which makes you sign a contract with your own blood, which lends you his services for a limited amount of time. (though probably no actual side effect )
It could also be cool for making a unit such as a really old man, which dies of old age after some time
4) #Loyal
Loyal units are recruitable for money, but don't cost you any adittional upkeep (or possibly, cost you half the usual upkeep), this allows you to have units with low-upkeep without making them sacred.
5) #Unitslayer <name>|<id> <modifier>
Will give this unit increased damage against certain units.
So a certain commander could be trained as a Troll Slayer (or Vampire Slayer), and will thus be able to slay those creatures more easily, by doing an extra <modifier> damage.
This one could have some variants, such as a percentile bonus (such as 200% damage), or a change of stat (such as affecting Attack instead of damage).
This is quite similar to the previously suggested #doubledamage and #tripledamage commands, but is more flexible, in allowing you to target groups the game doesnt recognize (such as "Trolls", "Dwarves" or "Units whose name starts with an S").
6) #Greedy
Greedy units will cost twice the normal upkeep
(Or perhaps #Greedy <modifier> which require <modifer>% more upkeep)

That's all I can think of right now. And I liked my previous suggestions better. But what can you do?
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #4  
Old November 24th, 2005, 02:40 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Mod Command Brainstorm

Nice thread. I was just working on getting the modding operational in Dominions III and a mod thread is good for inspiration. Dom 3 is more mod friendly internally which should allow for more moddable things than previously. It is already better than dom2, but I think most of the new potential will have to wait for a patch. Have to finish up the game first.
__________________
http://www.illwinter.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:26 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.