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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- 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 July 13th, 2008, 03:23 AM
Psientist's Avatar

Psientist Psientist is offline
Sergeant
 
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
Psientist is on a distinguished road
Default #restricted as bitmask - think about it!

So, here is my biggest official patch request - conversion of #restrictedgod in pretender/newmonster and #restricted in newspell mods to a bitmask rather than a lookup table.

Think about it - it's really the only mod command that applies to a fixed set of numbers (the nations), and if you want to create a monster or spell available to more than one, but not all nations, you have to completely duplicate that spell/monster (since #copystating has proved buggy when used in my pretender mods for this purpose).

I realize it might be a LARGE bitmask (with up to 94 nations), but I think it makes sense. Here is the bitmask for 2^94= 198070406285661000000000000003


And yeah, I know such a patch would break a lot of mods out there, but I don't think it would be a hard mod fix.

Thoughts?
Reply With Quote
  #2  
Old July 14th, 2008, 07:44 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: #restricted as bitmask - think about it!

That's an idea. However, take a look at the modding wishes shortlist. A much better way of doing things would be for each nation to have a pretender list just like they have a recruitment list, and using two commands like #clearpretenders and #addpretender <monster nbr> you could build a custom god list for each nation. Yes, that's a bit more work, but it keeps things clear and removes the necessity of resorting to such ridiculously large bitmasks.
Reply With Quote
  #3  
Old July 14th, 2008, 09:46 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: #restricted as bitmask - think about it!

Having #addpretender commands would be very useful. As it is I don't like to use the current method to add pretenders so most of my nations just have the default.
Reply With Quote
  #4  
Old July 14th, 2008, 12:53 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: #restricted as bitmask - think about it!

(After whether or not IW feels like providing it,) what can be modded is the most important thing, followed by how easy it is for people to figure out.

Essentially we'd all like some way to have full control of which nations can use which pretenders, without having side effects and/or having to duplicate units to get around the unwanted effect of #restrictedgod.

Maybe there is another operation already in the game (from the programmer's perspective) which can be exposed by mod command, which would do the trick.
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 09:17 PM.


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