PDA

View Full Version : Kismet to script



mikepurvis
03-24-2012, 07:41 PM
Is there a way to look at Kismet Sequences in text form?

I've prototyped some stuff in Kismet and I was just trying to figure the fastest way to port it all to just script and being able to look at it in text form instead of a wired diagram I thought would help.

charliethetall
03-24-2012, 08:22 PM
Not that I know of. While the kismet graph can be copied to text, it can only be pasted into another kismet sequence. (Or an email if you wanted to send it to another designer or something). I think the best way to do this would be to compartmentalize. Take an isolated chunk of what you're trying to do and move it to unreal script piece by piece. I prototype a lot with Kismet then move it to Unreal script a little bit at a time depending on what I'm trying to do with it.

Solid Snake
03-24-2012, 08:54 PM
I usually just try to understand the actual logic the Kismet is trying to encapsulate. Once I understand what it is trying to achieve, I then write it in Unrealscript.

rquester
03-25-2012, 05:41 AM
mikepurvis
I've prototyped some stuff in Kismet and I was just trying to figure the fastest way to port it all to just script and being able to look at it in text form instead of a wired diagram I thought would help.
Select, ctrl-v and copy to text editor like notepad.

VendorX
03-25-2012, 05:52 AM
@rquester:
"Select, ctrl-c and paste to text editor like notepad."

@mikepurvis:
Even you can save your "prototyped stuff" in external package.

Solid Snake
03-25-2012, 06:02 AM
Pretty sure you can't directly just copy and paste Kismet objects and expect it to be automagic Unrealscript.

Saving Kismet into Prefabs is one way; but it also doesn't convert it into Unrealscript.

VendorX
03-25-2012, 06:12 AM
...but you can -i'm pretty sure- paste it to Kismet again...

BTW. I don't know what purpose is in "being able to look at it in text form", but when pasted or loaded all instance variables will be Null...

Solid Snake
03-25-2012, 06:28 AM
Yes, you can do that. Kismet nodes is basically just Unrealscript Objects.