PDA

View Full Version : List of events, commands and conditions



Epistolary Richard
11-24-2006, 02:11
To help us with our modding, one of the kind souls in CA Oz has released the docudemon files for M2TW. These files contain the 'language' (i.e. a list of events, commands and conditionals) used in the ancillaries, trait, advice and, most importantly for us at the moment, the campaign script file.

There are several new items in all these files, so it's well-worth brainstorming what new features we can use them for now we have an integrated script file.

You can download these files here (http://files.mizus.com/files/M2TW/documentation/docudemon.zip).

(BTW having had a look around myself while I was there, there didn't appear to be a new console commands file - though I understood most of the RTW ones were still valid - we'll have to look into testing them to see what works and what doesn't)

If you want to learn a bit more about working in the campaign script file, then you can pick up a lot of tips from this tutorial about RTW scripting:
https://forums.totalwar.org/vb/showthread.php?t=57014

Apoc
11-24-2006, 05:32
Many thanks to the kind soul who provided these (and thanks to CA for letting him).

alpaca
11-24-2006, 14:47
Very nice. What about the console commands though?

methoz
11-24-2006, 14:54
hi..i dont understant....

my problem:

Identifier: create_unit
Parameters: <character/settlement name>, <unit label>[, num <number of units>, exp <experience>, arm <armour level>, wep <weapon level>
Description: creates one or more units of the specified type
Sample use: create_unit Foedus Chaerea, English_Knights, num 5, exp 1, arm 1, wep 2
Class: CREATE_UNIT
Implemented: Yes

i want to - create this unit (bonus in game)
https://img150.imageshack.us/img150/9638/wagte9.jpg
https://img225.imageshack.us/img225/7179/husal2.jpg

city - Riga

BozosLiveHere
11-24-2006, 18:54
Don't know about you scripters, but in the traits department, there aren't that many new options. The Ancillary conditionals are interesting but I'd rather have some nice way to move a trait "up" the family tree.

ShadowStriker
11-25-2006, 03:55
Identifier: replenish_units
Parameters: army identifier (the general's name)
Description: replenish all the units to full numbers for the army
Sample use: replenish_units Gaius Julius
Class: REPLENISH_UNITS
Implemented: No
Author: Guy

um r u sure this is for M2TW?

alpaca
11-25-2006, 12:39
They just copied those parts they didn't change from the RTW docudemon.
There's all kind of Crusade and Jihad stuff so, yes, it is for M2 ;)

rawghi
12-01-2006, 09:43
Excuse me but this command (replenish_units) isn't available as a console command right?

alpaca
12-01-2006, 14:29
No, it's a scripting command only.

SigniferOne
12-04-2006, 22:48
ER, would you mind asking Caliban to release the cheat commands? A lot of the commands provided in the docudemon seem simply incomplete without some of the things that can only be done through the cheat commands.

Myrddraal
12-05-2006, 14:32
Yes that would be helpful. I want to see if they've compensated me for my dear control command :wink:

Epistolary Richard
12-05-2006, 21:39
cheats = console commands

(BTW having had a look around myself while I was there, there didn't appear to be a new console commands file - though I understood most of the RTW ones were still valid - we'll have to look into testing them to see what works and what doesn't)

Eldon
12-11-2006, 15:00
Hey, any chance of getting these docudemon files re-hosted somewhere? The current site's out of bandwith.

Darkmoor_Dragon
12-11-2006, 16:30
Hey, any chance of getting these docudemon files re-hosted somewhere? The current site's out of bandwith.

what eldon said....

Brighdaasa
12-14-2006, 00:40
man, that conditions docudemon file is a b1atch to parse!
every condition has some parameters like logical value, number for >0 or =5, or unit type, but it's written by a few different guys and there's no uniformity in their system. I was trying to include editing triggers in my traits editor, looks like i'm gonna have to add in the conditions and what parameters they use by hand :wall: Either that or just leave it to the user to figure that out by himself by using the docudemon file, but that's hardly userfriendly.

ShadowStriker
12-23-2006, 02:08
could u add the cheats in that list and maybe say what commands can be uses as console and not?

Shahed
12-25-2006, 12:30
Does anyone have a list of console commands please ?

octavius vatco
11-22-2007, 11:09
Ave everyone. I was wondering where i could find a command like this?

"I_settlement_besiege" :help: ???

nikolai1962
11-23-2007, 07:20
In the files linked in the top post--in conditions.txt. There's a few to do with sieging.

CocaCola'97
12-20-2012, 13:14
Could someone please reupload the files? The link is down... (i know the last post was in 2007 but there's still hope...)

Gigantus
07-20-2016, 12:20
A valid download can be found here (http://www.twcenter.net/forums/downloads.php?do=file&id=4066).