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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2009, 01:51 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Question TOUGH Modding Questions

These are what I consider some tough modding questions, but hopefully the veterans will know.

1) Can you add a ranged weapon as a secondary effect for a melee weapon?
So far it's not working. The reason is so I could have an effect which only occurs once every two turns or even less frequently.

2) How can I create a spell which drops a long range assassin already in stealth on an enemies province?
I know the wild boar spell already drops an independent stealthy unit which needs to be found. I would like to create a similiar spell which drops an assassin owned by the caster and without the wild boar event pop_up message.

3) Has anyone tried using the RAND command?
I found RAND was one of the hidden commands... which has me very interested since it's probably used for RANDOM percentages. I've tried a few modding combinations using RAND yet no luck.
Probably doesn't exist per Ich
__________________
There can be only one.

Last edited by NTJedi; April 13th, 2009 at 03:31 AM.. Reason: update
Reply With Quote
  #2  
Old April 13th, 2009, 02:36 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: TOUGH Modding Questions

Quote:
Originally Posted by NTJedi View Post
I found RAND was one of the hidden commands...
Found how? It's not in the strings table, it is not being parsed by the game.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #3  
Old April 13th, 2009, 02:46 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: TOUGH Modding Questions

Quote:
Originally Posted by lch View Post
Quote:
Originally Posted by NTJedi View Post
I found RAND was one of the hidden commands...
Found how? It's not in the strings table, it is not being parsed by the game.
Found from the list of strings you posted on 10-25-07, 02:58 PM:
http://forum.shrapnelgames.com/showt...highlight=rand


Perhaps I read the thread too quickly.
__________________
There can be only one.
Reply With Quote
  #4  
Old April 13th, 2009, 03:05 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: TOUGH Modding Questions

Quote:
Originally Posted by NTJedi View Post
Found from the list of strings you posted on 10-25-07, 02:58 PM:
http://forum.shrapnelgames.com/showt...highlight=rand
Ah. That was just single words from the strings table, of random text found in the game binary. Those can be used for entirely different things, like "randgod" is used as a debug message, for example.

At the moment I don't have the complete list of mod commands that are being parsed. But here is the table of complete map commands that are actually being parsed:
Code:
additem
allies
allowedplayer
bodyguards
cannotwin
clearmagic
commander
comname
computerplayer
defaultmapzoom
defence
defense
description
dom2title
dominionstr
domversion
feature
features
fort
god
imagefile
independents
killfeatures
knownfeature
lab
land
landname
mag_air
mag_astral
mag_blood
mag_death
mag_earth
mag_fire
mag_nature
mag_priest
mag_water
maptextcol
neighbor
neighbour
nohomelandnames
nonamefilter
nostart
owner
players
poptype
population
randomequip
scale_chaos
scale_cold
scale_death
scale_lazy
scale_unluck
scale_unmagic
scenario
setland
specstart
start
startspell
temple
terrain
title
units
unrest
victorycondition
victorypoints
wraparound
xp
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
The Following User Says Thank You to lch For This Useful Post:
  #5  
Old April 13th, 2009, 03:31 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: TOUGH Modding Questions

Thanks Ich... this answers one of my questions.
__________________
There can be only one.
Reply With Quote
  #6  
Old April 13th, 2009, 03:55 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: TOUGH Modding Questions

So, here are all the mod commands that are being parsed by the game:

Spells
Code:
aoe
clear
copyspell
damage
descr
effect
end
explspr
fatiguecost
flightspr
name
newspell
nextspell
nreff
path
pathlevel
precision
range
researchlevel
restricted
school
selectspell
sound
spec
Items
Code:
armor
constlevel
copyspr
descr
end
mainlevel
mainpath
name
newitem
secondarylevel
secondarypath
selectitem
type
weapon
Nametypes
Code:
addname
clear
end
selectnametype
Nations
Code:
addreccom
addrecunit
autoundead
bloodnation
brief
castleprod
clearnation
clearrec
clearsites
color
deepfort
defaultfort
defcom1
defcom2
defmult1
defmult1b
defmult2
defmult2b
defunit1
defunit1b
defunit2
defunit2b
descr
domkill
domunrest
dyingdom
end
epithet
era
farmfort
flag
forestfort
hero1
hero2
hero3
hero4
hero5
hero6
horsereanim
idealcold
indepflag
labcost
manikinreanim
mountainfort
multihero1
multihero2
name
nametype
nodeathsupply
nopreach
sacrificedom
selectnation
startcom
startfort
startscout
startsite
startunitnbrs1
startunitnbrs2
startunittype1
startunittype2
summary
swampfort
templecost
templepic
tombwyrmreanim
uwfort
uwnation
wightreanim
zombiereanim
Sites
Code:
clear
com
decscale
end
gems
gold
homecom
homemon
incscale
level
loc
mon
name
newsite
path
rarity
res
selectsite
Misc

Code:
coldincome
coldsupply
deathdeath
deathincome
deathsupply
eventisrare
luckevents
misfortune
poppergold
researchscale
resourcemult
slothincome
slothresources
supplymult
turmoilevents
turmoilincome
unresthalfinc
unresthalfres
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
The Following 2 Users Say Thank You to lch For This Useful Post:
  #7  
Old April 13th, 2009, 05:26 AM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: TOUGH Modding Questions

NT, I don't have teh DB/spell Db here now but basicly you can just look in that one and use the spelleffect numbers from a spell that matches. I've not tries a remote assassin yet but for other spells it works well. If you know what spell you want to base it on it should be pretty easy to look up and just change the damage number in the unit you want there.

But as I said I've not actually tried it.. it worked for regular summon and a combination of friendly farsummons though.

While looking through the spell DB I noticed there are acutally a few spells which I though where pretty much alike with different spelleffect numbers so you might want to look at the exact spell you want to replicate.
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #8  
Old April 13th, 2009, 05:27 AM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: TOUGH Modding Questions

and on 1 I'd guess it's not possible certainly if you've already tried it a bit (I don't think there would be many way's you could code it so if it doesn't work it probably just doesn't work)
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #9  
Old April 13th, 2009, 01:47 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: TOUGH Modding Questions

Quote:
Originally Posted by Aezeal View Post
NT, I don't have teh DB/spell Db here now but basicly you can just look in that one and use the spelleffect numbers from a spell that matches. I've not tries a remote assassin yet but for other spells it works well. If you know what spell you want to base it on it should be pretty easy to look up and just change the damage number in the unit you want there.
I could copy the wild boar spell, but how would I make sure the owner will not be independent also how would I prevent the pop-up event message associated.
Another angle to workaround the above two problems would be how could I make the commander land within an enemy province already in stealth mode.
__________________
There can be only one.
Reply With Quote
  #10  
Old April 13th, 2009, 03:34 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: TOUGH Modding Questions

nono not COPY the spell use the CODE that is given in the spell DB. But if the wild boar is neutral and you want a NOT neutral summon than you can;t look at his CODE since then you'll just get another indep summon I'd say. You need to use a code that gives the result you want, so use it of a spells that does what you want.
PS I've got no idea where the messages go so maybe that is unavoidable anyway.
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
Reply

Bookmarks


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:47 AM.


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