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

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old April 15th, 2007, 07:16 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: my mages cast crap spells?

Yes in terms of multiplayer it's rather more complex because different people will have 'banned' or 'greyed out' different spells. The game would have to keep track of all of them, although it isn't like that would be any more complicated than anything the game currently keeps track of.

This isn't the sort of feature that can just be stuck into the game, unlike new units and spells and alterations to message text. On the other hand, it can't actually be /that/ complicated can it? I mean to the people who made the game from scratch. It's not like we're asking for a major altertion to the GUI or to the way the game works.

Currently the game checks your research level against the level of the spell and says yes you can cast it or no you can't (ignoring other costs for the moment). All spells are simply given a required level, there's no 'I've been researched' flag. But you can restrict spells to nations and via modding (every turn) you can do it on the fly, provided the mod is loaded from the start. That means it's currently entirely possible to alter a spell so it's no longer available to cast (by resticting it to a non existing nation). The complication here is that different people will want different restricted lists and the AI will want nothing restricted at all. But again, that doesn't seem like something too hard for the coder(s) who made Dom3.
Reply With Quote
  #2  
Old April 15th, 2007, 11:59 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: my mages cast crap spells?

Quote:
Sombre said:
Currently the game checks your research level against the level of the spell and says yes you can cast it or no you can't (ignoring other costs for the moment). All spells are simply given a required level, there's no 'I've been researched' flag. But you can restrict spells to nations and via modding (every turn) you can do it on the fly, provided the mod is loaded from the start.
The way I read it, that means there must be a "I've been researched" flag. That is, if I'm understanding you correctly, you're talking about the #startspell map command, which flags a spell as researched at the start of the game. So the tactical AI must be checking an explicit list of researched spells and not just school/level constraints, and that explicit list must be on a player-by-player basis.

Reportedly #startspell is broken at the moment, though.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #3  
Old April 16th, 2007, 12: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: my mages cast crap spells?

I was thinking #startspell probably just removes the check for level or somehow moves the required level to 0. I suppose that's similar to a 'researched' flag.

But no, I wasn't actually talking about startspell. When I say 'modding' I mean .dm commands, not map modding - if you create a mod and load it up at the start you can alter the requirements of spells whenever you want. But you do this only by changing their required level etc.

Even if startspell works, does it function on a player by player basis? If it does, that would seem to bode well for getting this put in a patch. I really think allowing us to grey out our spell lists would be a serious improvement to magic in the game and, to an extent, reduce micromanagement.
Reply With Quote
  #4  
Old April 16th, 2007, 01:00 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: my mages cast crap spells?

The documentation says #startspell is #startspell <player> "Spell name", so yes. Unfortunately the spell goes away on turn 2 and never comes back, so maybe managing spells has changed under the hood since Dom3 and made this harder. (Maybe it is just checking researched school levels now.)

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
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:10 PM.


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