kismet.ts
v1.0.0-beta.4
Published
Make kismet from code
Downloads
2
Readme
Kismet.ts
Build kismet nodes for (the old and dusty) UDK using code! Intended for large .udk files to simplify the process of making kismet nodes
Installation
Node 16.6.0 or newer is required.
npm install kismet.ts
Links
Example
import { KismetFile } from 'kismet.ts'
const { Actions, Events, Variables } = KismetFile.Items
const targets = new Variables.Player()
.setAllPlayers(true)
const DrawText = new Actions.DrawText()
.setVariable('String', 'Hello world!')
.setVariable('Target', targets)
const onMapLoaded = new Events.LevelLoaded()
.on('Loaded and Visible', { item: DrawText })
const project = new KismetFile({ projectName: 'MyMap' })
const sequence = project.mainSequence
sequence.addItems([targets, onMapLoaded, DrawText])
console.log(sequence)
Roadmap
For upcoming features take a look at the roadmap. Discussion and other questions can also be asked in GitHub discussions