![]() |
|
|
#1 |
|
Scripting Volumes
Is it possible to use unrealscript and create a volume in the game?
Thanks -Jimboh |
|
|
|
|
|
|
#2 |
|
Yes
|
|
|
|
|
|
|
#3 |
|
Hahahaha...forgot to ask my second part...how?
|
|
|
|
|
|
|
#4 | |
|
Quote:
Last edited by MKhaos7; 28th Jun 2004 at 04:05 PM. |
||
|
|
|
|
|
#5 |
|
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... |
|
|
|
|
|
|
#6 |
|
hummm...
good question! I've been thinking abotu it my self for some time. But i couldn't resist making the joke #) |
|
|
|
|
|
|
#7 |
|
Okay, you define a new volume by simply subclassing it. So some simple code such as,
Code:
class myVolume extends Volume; Works for me. YOU DO NOT SPAWN BSP TYPE STRUCTURES. |
|
|
|
|
|
|
#8 | |
|
Quote:
|
||
|
|
|
|
|
#9 |
|
Did it work?
|
|
|
|
|
|
|
#10 |
|
Snake, why ServerPackages as well as EditPackages? Is there something special about subclassing volumes or something?
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|