Difference between revisions of "Adding custom items to custom modules tutorial"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with 'This guide will show you the easiest way to create a custom item and how to get it in singleplayer. This will use a cheat console command runscript zz_giveitem == Things needed ...')
 
Line 28: Line 28:
 
on ok.
 
on ok.
 
4. in the blank script window type this:(replace zz_youritemhere.uti with your item)
 
4. in the blank script window type this:(replace zz_youritemhere.uti with your item)
<code>
+
<source>
 
void main()
 
void main()
 
{
 
{
Line 38: Line 38:
 
}
 
}
  
</code>
+
</source>

Revision as of 17:16, 13 December 2009

This guide will show you the easiest way to create a custom item and how to get it in singleplayer. This will use a cheat console command runscript zz_giveitem

Things needed

1. Dragon age origins game 2. Dragon age origins toolset 3. able to follow instructions

Creating item

1. Open the toolset and click on Tools -> Manage Modules 2. Select Singleplayer and hit ok. 3. On the palette window select items 4. Choose an item under global 5. Right click on the item and select duplicate 6. A window will popup, ignore all fields exept resource name. 7. name the item what you want in resource name. No spaces. can have underscore _ 8. In the main window you will see your item, modify it how you want it. This part is easy so I won't go over item properties. 9. Once done with your item. look above it it should say whatever.uti. 10. right click on that tab, and select check in. 11. right click on it again and select export -> export with dep.

Creating a script to summon your item

1. Click on File -> new -> Script 2. A window will popup, ignore all fields exept resource name. 3. Name it what you want it such as zz_give_youritem then click on ok. 4. in the blank script window type this:(replace zz_youritemhere.uti with your item)

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, aimms, algol68, apache, applescript, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, caddcl, cadlisp, cfdg, cfm, chaiscript, chapel, cil, clojure, cmake, cobol, coffeescript, cpp, csharp, css, cuesheet, d, dart, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, ezt, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, ispfpanel, j, java, java5, javascript, jcl, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nginx, nimrod, nsis, oberon2, objc, objeck, ocaml, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, pic16, pike, pixelbender, pli, plsql, postgresql, postscript, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, qml, racket, rails, rbs, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, rust, sas, scala, scheme, scilab, scl, sdlbasic, smalltalk, smarty, spark, sparql, sql, standardml, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vbscript, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xpp, yaml, z80, zxbasic, dascript, nwscript


void main()
{

            CreateItemOnObject(R"zz_youritemhere.uti", OBJECT_SELF, 1, "", TRUE);



}