.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old August 10th, 2004, 03:43 AM

msew msew is offline
Corporal
 
Join Date: Jun 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
msew is on a distinguished road
Default [feature request] scripts as objects for re use

So for most games you have a set of scripts that you often use. These are mostly the same for lots of your mages.

cast quickness, varous shielding spells, various regen spells etc, then attack

When you want to modify the script on any guy you have to make the whole thing from scratch which really blows.


It would be really nice to have a "script object" and a "script editor".

The objects could then be attached to various mages.

So you have:

defaultAttackScriptForPretender and you can attach that object to your pretender.

When you get a new level of magic you can just edit the object and add/replace things on the object. And since your pretender references the script, he gets it for free.


Being able to use objects and then commands would also be nice. So you have have like this:


defaultMageSpellUpObject, <specific attack spells THIS mage should do>

so you have:


mage 0 defaultMageSpellUpObject, solar flares, solar flares, cast spells
mage 1 defaultMageSpellUpObject, blade wind, cast spells
mage 2 defaultMageSpellUpObject, animate skeleton, cast spells


So now you can replace the resist cold with resist fire or what not for all your mages really easily.



~msew
Reply With Quote
  #2  
Old August 10th, 2004, 05:33 AM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default Re: [feature request] scripts as objects for re use

In case you didn't know: Commander's script can be saved by pressing ctrl-1 to ctrl-9, and loaded with 1 to 9.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
Reply With Quote
  #3  
Old August 10th, 2004, 07:19 AM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: [feature request] scripts as objects for re us

He probably didn't know, as I think he's new to the game. That said, it would be nice if IW were to externalize scripts for commander orders in a user-editable text file. Then you could save your favorite scripts, to reuse in other games (or give to friends).
__________________
Visit my Dominions II site
Reply With Quote
  #4  
Old August 12th, 2004, 01:54 PM

msew msew is offline
Corporal
 
Join Date: Jun 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
msew is on a distinguished road
Default Re: [feature request] scripts as objects for re us

>That said, it would be nice if IW were to externalize scripts for commander orders in a user-editable text file. Then you could save your favorite scripts, to reuse in other games (or give to friends).


100% agree on this. much easier to edit and manage this way too.
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 02:22 AM.


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