Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > Level Design

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2012, 12:29 AM
tehmadcap tehmadcap is offline
Senior Member
 
Join Date: Nov 2010
Posts: 369
Default Edit Script guide?

When you right click an actor one of the options is Edit Script and i was just wondering what function(s) this serves? I can't find any guides or even a command usage/syntax reference.

What are the capabilities/limitations of a script? Can it be used to interact with other actors? for example, script a weapon pickup to fire a trigger when it's picked up


Edit: I found this http://udn.epicgames.com/Two/UnrealScriptReference.html which is a start.

Last edited by tehmadcap; 05-07-2012 at 02:09 AM.
Reply With Quote
  #2  
Old 05-09-2012, 08:33 AM
ro_sauce ro_sauce is offline
Senior Member
 
Join Date: Sep 2007
Posts: 3,110
Default

this is actually an almost completely useless function in the editor, it opens up actors/ objects to view the source code.
however it's much better to work with uncompiled uc files in a directory structure, and besides, you really arent supposed to change any of the code for default objects/actors because you will get mismatch errors when trying to join online.

if you want to start coding stuff, then you should get rachel cordone's programming for unreal book (or ebook) it's very helpful for ppl wanting to learn unrealscript.

if you want a weapon pickup to fire a trigger, then just give it an event to what ever you want to trigger, you dont even have to mess with source code.
__________________


For RO2 Crash Support Help, PM me your problem and teamview connection, and I will see if I can fix it for you.
Reply With Quote
  #3  
Old 05-09-2012, 08:50 AM
ro_sauce ro_sauce is offline
Senior Member
 
Join Date: Sep 2007
Posts: 3,110
Default

if you want to learn how to start modding stuff then head over to generel modding forums and read the tutorials.
__________________


For RO2 Crash Support Help, PM me your problem and teamview connection, and I will see if I can fix it for you.
Reply With Quote
  #4  
Old 05-10-2012, 04:26 AM
tehmadcap tehmadcap is offline
Senior Member
 
Join Date: Nov 2010
Posts: 369
Default

Quote:
Originally Posted by ro_sauce View Post
this is actually an almost completely useless function in the editor, it opens up actors/ objects to view the source code.
however it's much better to work with uncompiled uc files in a directory structure, and besides, you really arent supposed to change any of the code for default objects/actors because you will get mismatch errors when trying to join online.

if you want to start coding stuff, then you should get rachel cordone's programming for unreal book (or ebook) it's very helpful for ppl wanting to learn unrealscript.

if you want a weapon pickup to fire a trigger, then just give it an event to what ever you want to trigger, you dont even have to mess with source code.
Ah ok. It's possible to make custom actors like the ammobox in fal's triggerpack so mismatch errors can be avoided that way.

What i was trying to do is make the ammobox fire an event via script because the pickup event for ammobox is either broken or not used in the game engine.

Last edited by tehmadcap; 05-10-2012 at 12:47 PM.
Reply With Quote
  #5  
Old 05-10-2012, 12:46 PM
tehmadcap tehmadcap is offline
Senior Member
 
Join Date: Nov 2010
Posts: 369
Default

I figured out the problem. Edit Script doesn't actually make any changes to packages.







It's working now
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off

Forum Jump


All times are GMT -4. The time now is 05:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC