News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 27th Jun 2004, 12:01 PM   #1
jimboh
Salty Sea Dog
 
jimboh's Avatar
 
Join Date: Jan. 20th, 2004
Location: Roaming the high seas...
Posts: 140
Scripting Volumes

Is it possible to use unrealscript and create a volume in the game?

Thanks

-Jimboh
jimboh is offline   Reply With Quote
Old 27th Jun 2004, 09:06 PM   #2
[SAS]Solid Snake
Registered User
 
[SAS]Solid Snake's Avatar
 
Join Date: Jun. 7th, 2002
Location: New Zealand
Posts: 2,633
Yes
__________________
I make the impossible possible ... ... ... to some extent.

Digital Confectioners
[SAS]Solid Snake is offline   Reply With Quote
Old 28th Jun 2004, 11:59 AM   #3
jimboh
Salty Sea Dog
 
jimboh's Avatar
 
Join Date: Jan. 20th, 2004
Location: Roaming the high seas...
Posts: 140
Hahahaha...forgot to ask my second part...how?
jimboh is offline   Reply With Quote
Old 28th Jun 2004, 04:03 PM   #4
MKhaos7
Member of Clan |UED|
 
MKhaos7's Avatar
 
Join Date: Apr. 14th, 2004
Location: Brasil
Posts: 37
Quote:
Originally Posted by jimboh
Hahahaha...forgot to ask my second part...how?
spawn(class'Volume') ?
__________________


Things are like they are because thats how they are suposed to be

Last edited by MKhaos7; 28th Jun 2004 at 04:05 PM.
MKhaos7 is offline   Reply With Quote
Old 28th Jun 2004, 04:10 PM   #5
jimboh
Salty Sea Dog
 
jimboh's Avatar
 
Join Date: Jan. 20th, 2004
Location: Roaming the high seas...
Posts: 140
yeah, but how would you define the size of a volume and stuff like that?
I couldn't find anything related in the Volume class...
jimboh is offline   Reply With Quote
Old 28th Jun 2004, 05:59 PM   #6
MKhaos7
Member of Clan |UED|
 
MKhaos7's Avatar
 
Join Date: Apr. 14th, 2004
Location: Brasil
Posts: 37
hummm...
good question!
I've been thinking abotu it my self for some time.
But i couldn't resist making the joke #)
__________________


Things are like they are because thats how they are suposed to be
MKhaos7 is offline   Reply With Quote
Old 28th Jun 2004, 10:17 PM   #7
[SAS]Solid Snake
Registered User
 
[SAS]Solid Snake's Avatar
 
Join Date: Jun. 7th, 2002
Location: New Zealand
Posts: 2,633
Okay, you define a new volume by simply subclassing it. So some simple code such as,
Code:
class myVolume extends Volume;
That will do the trick, it won't do anything however. Now from there, make sure that you have your package in BOTH ServerPackages and EditPackages define in your UT2004.ini. From there you should just start up Unreal ED. Once in UnrealED you should be able to just click on your Volume button and your Volume name should be listed by it's class name.

Works for me.

YOU DO NOT SPAWN BSP TYPE STRUCTURES.
__________________
I make the impossible possible ... ... ... to some extent.

Digital Confectioners
[SAS]Solid Snake is offline   Reply With Quote
Old 28th Jun 2004, 11:27 PM   #8
jimboh
Salty Sea Dog
 
jimboh's Avatar
 
Join Date: Jan. 20th, 2004
Location: Roaming the high seas...
Posts: 140
Quote:
YOU DO NOT SPAWN BSP TYPE STRUCTURES.
Haha that was what I wanted to know :P
jimboh is offline   Reply With Quote
Old 29th Jun 2004, 02:09 AM   #9
[SAS]Solid Snake
Registered User
 
[SAS]Solid Snake's Avatar
 
Join Date: Jun. 7th, 2002
Location: New Zealand
Posts: 2,633
Did it work?
__________________
I make the impossible possible ... ... ... to some extent.

Digital Confectioners
[SAS]Solid Snake is offline   Reply With Quote
Old 29th Jun 2004, 02:16 AM   #10
Radiosity
Minty Fresh!
 
Radiosity's Avatar
 
Join Date: Jan. 3rd, 2003
Location: UK
Posts: 2,217
Snake, why ServerPackages as well as EditPackages? Is there something special about subclassing volumes or something?
Radiosity is offline   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 -5. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer