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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old September 1st, 2007, 06:32 PM

Valandil Valandil is offline
Second Lieutenant
 
Join Date: Dec 2005
Location: Everywhere
Posts: 495
Thanks: 0
Thanked 13 Times in 1 Post
Valandil is on a distinguished road
Default Quick Modding Question

Will copystats on a communicant grant the communion slave ability? Any word on the #copystats noweappon workaround- ie. is it buggy/does it work?
__________________
Unus vocis. Unus manus. Unus Universitas. Unus Deus. Is est meus fatum praeeo pro totus populus.
Ut est meus fortuna.

Reply With Quote
  #2  
Old September 2nd, 2007, 04:07 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Quick Modding Question

Yes to the first. Copystats copies everything, even the special abilities that are currently otherwise unmoddable.

No idea on the second.
Reply With Quote
  #3  
Old September 2nd, 2007, 07:47 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Quick Modding Question

You can, with a little trick, effectively use copystats without copying weapon or armour. Here's a bit of code from the skaven that demonstrates it. Unit 1447 is some agarthan infantry which has darkvision 50, the trait I'm after. It also has weapons and armour which I don't want.


#newmonster 2170
#copystats 1447
#armor "nothing"
#end

That's making a new unit which copies the agarthan infantry but loses the armour. You then copystats this unit, 2170, for your actual recruitable units. You have to take this extra step because if you try to give your recruitable unit #armor "nothing" you can't add your own choice of armour and if you just overwrite the 1447 armour with another choice and it has a shield as well that you don't want, you can't get rid of it.

Anyway, here's the recruitable unit code. Note that he copystats 2170 instead of 1447. The weapons from unit 2170/1447 are lost as soon as you add a new weapon in the code, so aren't a problem.

#newmonster 2160
#copystats 2170
#clearmagic#clearmagic#clearmagic
#spr1 "./Skaven/Chieftan.tga"
#spr2 "./Skaven/Chieftan2.tga"
#name "Chieftan"
#descr "The leaders of lesser clans, those that can neither claim the title of Warlord or Greater Clan, the chieftans are numerous and somewhat expendable, though with their accompanying slaves and clanrats they can certainly add weight to the teeming hordes that make up a Skaven army. Like most Skaven of any import, they make it their business to lead from the back, pushing their subordinates forward toward enemy lines while prudently avoiding the danger of pitched battle. Chieftans may choose to gather three slaves per month, pushing them into combat ahead of the main force of Clanrats."
#hp 10
#size 2
#prot 0
#mor 8
#mr 10
#enc 3
#str 9
#att 11
#def 12
#prec 8
#mapmove 2
#ap 15
#gcost 45
#rcost 1
#makemonster1 2151
#armor "Scale mail Hauberk"
#armor "Half Helmet"
#weapon "glaive"
#poisonres 35
#stealthy 0
#maxage 30
#siegebonus 1
#standard 3
#mountainsurvival
#okleader
#nametype 143
#end
Reply With Quote
  #4  
Old September 2nd, 2007, 03:26 PM

Valandil Valandil is offline
Second Lieutenant
 
Join Date: Dec 2005
Location: Everywhere
Posts: 495
Thanks: 0
Thanked 13 Times in 1 Post
Valandil is on a distinguished road
Default Re: Quick Modding Question

Ah. Thanks alot.
__________________
Unus vocis. Unus manus. Unus Universitas. Unus Deus. Is est meus fatum praeeo pro totus populus.
Ut est meus fortuna.

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 12:31 AM.


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