.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Mod command request (http://forum.shrapnelgames.com/showthread.php?t=41813)

Thilock_Dominus January 3rd, 2009 07:58 AM

Mod command request
 
I know this post might have been in the wishlist, but I think this is a major missing IMHO.


Could we have an oposite command of #restricted??? We could call it #notnation <nation number>. Alot of modding would be easier with a command like this, especially if you want a nation not having specific items, units and spells. Or atleast allow #restricted more than 3 times for a specific object, unit,spell.


Here's an example;

I want to remove the default priest spell from my nation (90) because I want to add my own. By doing this I have to type (without including the nation numbers that are for new nations (72 to 94);
First select the current priest spells (753 to 761) and restrict them (max 3 is allowed).
Next make new spells that copy spells (753 to 761) and make 3 new restrictions, and so on etc. etc. untill all the nations are covered.

Code:

#selectspell 753
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 754
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 755
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 756
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 757
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 758
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 759
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 760
#restricted 27
#restricted 28
#restricted 29
#end

#selectspell 761
#restricted 27
#restricted 28
#restricted 29
#end

#newspell
#copyspell 753
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 754
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 755
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 756
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 757
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 758
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 759
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 760
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 761
#restricted 30
#restricted 31
#restricted 32
#end

#newspell
#copyspell 753
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 754
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 755
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 756
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 757
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 758
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 759
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 760
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 761
#restricted 31
#restricted 32
#restricted 33
#end

#newspell
#copyspell 753
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 754
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 755
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 756
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 757
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 758
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 759
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 760
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 761
#restricted 34
#restricted 35
#restricted 36
#end

#newspell
#copyspell 753
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 754
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 755
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 756
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 757
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 758
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 759
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 760
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 761
#restricted 37
#restricted 38
#restricted 39
#end

#newspell
#copyspell 753
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 754
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 755
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 756
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 757
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 758
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 759
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 760
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 761
#restricted 40
#restricted 41
#restricted 42
#end

#newspell
#copyspell 753
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 754
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 755
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 756
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 757
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 758
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 759
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 760
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 761
#restricted 43
#restricted 44
#restricted 45
#end

#newspell
#copyspell 753
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 754
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 755
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 756
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 757
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 758
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 759
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 760
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 761
#restricted 46
#restricted 47
#restricted 48
#end

#newspell
#copyspell 753
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 754
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 755
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 756
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 757
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 758
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 759
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 760
#restricted 69
#restricted 72
#restricted 73
#end

#newspell
#copyspell 761
#restricted 69
#restricted 72
#restricted 73
#end

With a #notnation <nation number> it would be much easier;

Code:

#selectspell 753
#notnation 90
#end

#selectspell 754
#notnation 90
#end

#selectspell 755
#notnation 90
#end

#selectspell 756
#notnation 90
#end

#selectspell 757
#notnation 90
#end

#selectspell 758
#notnation 90
#end

#selectspell 759
#notnation 90
#end

#selectspell 760
#notnation 90
#end

#selectspell 761
#notnation 90
#end

Much easier and painless and gives the modder a bigger modding freedom without 400+ lines of unnecessary headache for each stuff you want a nation to not have.

By using #notnation command it will allow the modder also to disable default pretenders that the modder wish not to show up as an option. Imagine to use #restricted to disable 2 or 3 pretenders o_O


regards
Thilock Dominus

Sombre January 3rd, 2009 08:19 AM

Re: Mod command request
 
It's true, it would be useful. I'd use it to remove pretender options from various nations. It would have to be a command that you could repeat though, or you'd have similar headaches trying to remove something from various nations.

I don't think saying 'for the love of god why don't we have this?' is a goodway to motivate KO and JK though. The best way is simply to say we'd like it, if it's not too much trouble, and it would help us get even more mileage out of modding.

Thilock_Dominus January 3rd, 2009 08:24 AM

Re: Mod command request
 
Quote:

I don't think saying 'for the love of god why don't we have this?' is a goodway to motivate KO and JK though. The best way is simply to say we'd like it, if it's not too much trouble, and it would help us get even more mileage out of modding.
It wasn't meant in a harsh way, but I have rephrased it to avoid misunderstandings.

Endoperez January 3rd, 2009 08:48 AM

Re: Mod command request
 
A command for removing a certain spell from a spesific nation might not be possible, but it would be nice for certain things.

I think it would be easier to have a command to clear the list of pretenders or holy spells available for the nation. Similar to #clearrec or #clearsites, the new commands would be:

#clearpretenders
#clearholy


Either option would be nice. #restricted would be much more useful, obviously, but if it's impossible the latter would be almost as good for many mods.

Aezeal January 3rd, 2009 09:34 AM

Re: Mod command request
 
I'd love all the suggestions in here :D I must say I'm not that annoyed by having spells (I'd just create my own spell if I where you and ignore the other, but I don't know you whole reasoning) but removing pretenders would be great.. some (to be honest for me it's MOST) mod nations you just want played with your thematic pretenders and not with the standard cyclops since he's the best earthblesser around.

I've always wondered why there are so few holy spells (but going a bit off topic) maybe I'll need to find a few more uses for holy magic.

I'd say a holy magic mod with like 10 decent spells in holy 1-3 and some superspells in 4 and 5 might be nice (I find the higher power holy spells pretty useless actually, comparing them to say level 4/5 fire spells.) I even think it might be a mod that would be relatively easy to make (once you have the idea's) and might find a large attraction in the community. Actually I'd say it's for balancing holy magic and might find it's way into CBM eventually if done correctly.

Anyone interested in picking up that idea?

Thilock_Dominus January 3rd, 2009 09:57 AM

Re: Mod command request
 
Quote:

(I'd just create my own spell if I where you and ignore the other, but I don't know you whole reasoning)
But doing so it may contribute to unbalance the nation mod and/or ruin the "feeling" you try to create with your mod.

My exampels I showed in the first post comes from the mod I'm building. If the priest have access to the holy spells (the default ones), it may put stuff out of balance as I have created some unholy spells to them instead.
So by letting them have both holy (default) and unholy (custom made - undead nation) spells they become overpowered which will ruin the gameplay.

Quote:

some (to be honest for me it's MOST) mod nations you just want played with your thematic pretenders and not with the standard cyclops since he's the best earthblesser around.
Sure, but it's the modders intention to give you something that goes with the nation theme or somehow a specific default prentender would make the mod nation overpowered.

Aezeal January 3rd, 2009 11:38 AM

Re: Mod command request
 
Good luck with the vampires btw :D, they are bound to be a hit.

MaxWilson January 3rd, 2009 03:00 PM

Re: Mod command request
 
Quote:

Originally Posted by Aezeal (Post 663626)
I've always wondered why there are so few holy spells (but going a bit off topic) maybe I'll need to find a few more uses for holy magic.

I'd say a holy magic mod with like 10 decent spells in holy 1-3 and some superspells in 4 and 5 might be nice (I find the higher power holy spells pretty useless actually, comparing them to say level 4/5 fire spells.) I even think it might be a mod that would be relatively easy to make (once you have the idea's) and might find a large attraction in the community. Actually I'd say it's for balancing holy magic and might find it's way into CBM eventually if done correctly.

Anyone interested in picking up that idea?

I've been thinking lately that the Ark's effects really ought to be a Holy BE. Obviously there's a #spelleffect there so modding it into an H8 spell or something wouldn't be impossible, although casting it obviously *would* be pretty close to impossible. (H3 Prophet with Crystal Shield and 16 communion slaves could do it. Better hope those slaves are all sacred...)

-Max

Thilock_Dominus January 6th, 2009 02:23 PM

Re: Mod command request
 
Quote:

Originally Posted by Aezeal (Post 663643)
Good luck with the vampires btw :D, they are bound to be a hit.

Thanks ^_^

Quote:

Originally Posted by MaxWilson
I've been thinking lately that the Ark's effects really ought to be a Holy BE. Obviously there's a #spelleffect there so modding it into an H8 spell or something wouldn't be impossible, although casting it obviously *would* be pretty close to impossible. (H3 Prophet with Crystal Shield and 16 communion slaves could do it. Better hope those slaves are all sacred...)

-Max

Hmmm...It would be cool with some hight Holy spells. Is it possible to make spells that require both "magic path" and "holy path"? A mix would be intriguing.

Sombre January 6th, 2009 03:13 PM

Re: Mod command request
 
Quote:

Originally Posted by Thilock_Dominus (Post 664494)
Hmmm...It would be cool with some hight Holy spells. Is it possible to make spells that require both "magic path" and "holy path"? A mix would be intriguing.

Yes it is.

There are a couple of mod nations that use this and MA Ulm have a couple of earth spells that require levels of holy in vanilla.

Endoperez January 6th, 2009 03:24 PM

Re: Mod command request
 
I think Holy has to be secondary path, though. At least in rituals, but possibly in normal spells as well.

Sombre January 6th, 2009 05:23 PM

Re: Mod command request
 
Quote:

Originally Posted by Endoperez (Post 664512)
I think Holy has to be secondary path, though. At least in rituals, but possibly in normal spells as well.

Non ritual holy spells work fine. Yes, that includes ones with a secondary non holy path.

Holy rituals - I don't think rituals can be set to 0 gems (at least not as far as I recall) so they won't work for obvious reasons.

MaxWilson January 6th, 2009 07:19 PM

Re: Mod command request
 
Sure they can. Llamabeast's Final Sacrifice mod (i.e. the Disband mod) has a Holy ritual spell for wiping out friendly units, with zero gemcost.

-Max

Sombre January 7th, 2009 05:39 AM

Re: Mod command request
 
Ah, there you go. I had a memory that I'd tested them and they didn't work (0 gemcost rits) but maybe I had made some other error in the code.


All times are GMT -4. The time now is 09:41 PM.

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