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

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- 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 September 3rd, 2009, 01:48 PM
Stavis_L's Avatar

Stavis_L Stavis_L is offline
Second Lieutenant
 
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
Stavis_L is on a distinguished road
Default Re: Dom 3 Scripting Framework (SP)

Wow, that's amazing. Just want to ask a few clarification questions, since I don't have a score file available at the moment.

1) Are messages to the player limited to editing descriptions of units/items? I can't think of anything else that can be modded to "talk" to the player...might want to give the player an immortal "messageboard" unit or something, rather than updating the description of units that will see actual play. Would need to be reasonably killable to allow the player to lose though...maybe an item would be better.
2) What conditions are available in the score file to predicate events upon? Your example has #castles and turn #. What else is there?

Thanks!
Reply With Quote
to )
Income
Gem Income
Research
Dominion
Army Size
Victory Points
Reply With Quote
  #2  
Old September 3rd, 2009, 03:30 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: Dom 3 Scripting Framework (SP)

@Gandalf

Yeah, a list a long these lines is great. If you have something around that shows how they look in the debug log that would be perfect.

Well, as for ideas I have so many myself, otherwise I would't have made it.
But I certainly don't object to some brainstorming

Make some units like angels or devils more expensive or cheaper as you dominion grows (scores)

Give a weak nation a gem discount site that looses the discount when it's taken by another nation (debug log)

Changing mages based on your conquest (you have taken Mictlan cap and all your nationals have learned a bit about blood) (debug log)

Gem gens - make them spells that can be cast at provinces containing specially prepared sites and increase the gem income from the site. Make them more expensive with every turn/casting (debug log)


@Stavis_L

Atm I don't provide any way to access messaging options. Well, to be honest, atm I don't really provide access to anything, except through copying the examples.
Theoretically such a thing could be coded from scratch by anyone, and maybe it will be added in a long time, but I'm not sure if it's worth it, since it would require changing 2h files.
A immortal messageboard (who needs a starting scout anyway) is imo the best thing as you can use it to deliver both messages and gems (in an ugly way also items, if you give them access to exactly the paths needed for forging that for 1 turn, just look at the researchers mod) without messing with the turn files themselves.


The conditions in the scorefile are
Forts
Provinces (change
FortsProvinces
  #3  
Old September 3rd, 2009, 04:50 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Dom 3 Scripting Framework (SP)

This is still available from an old test game called Massive.
http://www.dom3minions.com/games/Massive/

There are score files and stat files and a zipped up log file. The log file is only one turn but......

Archive: massive.zip
Length Date Time Name
-------- ---- ---- ----
13514713 05-15-06 10:53 home/dom3/dominions3/savedgames/massive/massive.log


You can see why I only zipped up 1 turn at a time. Even in the small 4-man games on my server a log file is huge. There are a number of examples in the Dom3Minions games directory that are viewable online if you want some logs to dig thru.

In my Monster Scenario thread I did lay out some options for mid-game mod changes that could act like events. Such as placing a big runed monolith in each home province and having the mod change the "description" so that looking at it would tell you new things. Maybe have two images, one that is dull and one lit up to tell the player that the message of the runes has been changed.

Another was to place an immobile inactive completely hidden unit in various provinces which could erupt into something at some point later in the game (change it into something like an attacking army or horror) but Im not a real modder. I couldnt figure out how to make it automatically hidden so that it didnt affect the outcome of battles.

Also for some of the ideas about game overseeing, game management, reward/punishment of players I did create the "Watcher" nation mod. It could occupy a location not on the map, watch everything going on in every province, use messages from the GM (game master) to send rewards or use free spells to send punishments.
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 04:42 AM.


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