![]() |
![]() |
|
#1
|
||||
|
||||
|
Hi,
can someone (looking at ro_sauce ) write a subclass for a PhysicsVolume for me that only affects ZEDs and can multiply their movement speed with a setting?
__________________
|
|
#2
|
|||
|
|||
|
hmmm....
so do you want their groundspeed modified only while they are in the volume? or timed? (like a powerup?) should their animations be scaled too? |
|
#3
|
||||
|
||||
|
I'm thinking just the ground speed. I don't want them to wiggle about too much. How easy it is to score headshots should still be more or less determined by the difficulty setting. I just need them to get to places faster. If it looks like they're ice-skating a bit because the animations don't quite match their speed that's ok. I don't care.
This effect should affect them only while they're inside the volume.
__________________
|
|
#4
|
||||
|
||||
|
How's it going, ro? Is it at all possible?
__________________
|
|
#5
|
|||
|
|||
|
It's certainly possible. I guess it's just a case of scaling the specimen's speed (based on its OriginalGroundSpeed variable) when it enters the volume. I'm not sure on the specifics though since I've never worked with volumes. Hopefully ro_sauce can figure it out.
![]() Movement animations are automatically scaled based on the difference between the current and default GroundSpeed (ie. give it a movement speed 50% higher than the default and the animations will play 50% faster)
__________________
|
|
#6
|
|||
|
|||
|
the approach i'm taking is trying to add the classblocker function from blockingvolume, that way you can choose what pawns the volume affects (be it kfhumanpawn or kfmonster) to a physics volume
so basically extending from phys vol with class array, but i'm going through the physicsvolume code first, in case the linear movement functions from that might work. otherwise i'll try to extend from volume, add class array, and hopefully a processtouch would work for modifying groundspeed. do you want the volume to move them somewhere fast? (linear velocity) or do you want them to decide where to move fast? (groundspeed) |
|
#7
|
||||
|
||||
|
I don't need a wind-tunnel, if that's what you're asking. The volume should just make ZEDs able to move around faster. Like there's a stimulating gas in the air or whatever.
__________________
|
|
#8
|
||||
|
||||
|
Any progress, ro? I don't want to be a bother, just checking in to see how (or if) it's going.
__________________
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
nothing successful yet, everything i've tried doesnt work yet, but i'm still a novice at coding, so after i figure it out i'll post, i'm sure one of the other guys who know how to do this might give it a shot.
i know where the variables are (kfmonster, pawn, groundspeed) i'm just having trouble making them work. so far all i get are errors. |
|
#11
|
||||
|
||||
|
Do you know the adrenaline combos in UT2004? There's a speed combo you can activate. Maybe you can steal something from there and have it activate on Touch of the volume? I'm absolutely clueless when it comes to these things. Just a stab in the dark.
__________________
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|