Weird entity problem


(retredmadcat) #1

Hey
i have a weird problem here… i guess its a problem tho, maybe its just something stupid im forgetting…

well, i made a jump pad. Trigger brush targets a target_push, which targets a target_position

i compiled, got on the jump pad, it pushed me up, exactly to the height of the target_position, but i noticed it was just a tad too low… so i got to gtk again and put the target_position a bit higher… i compiled again, tested, and it seemed the map had nog changed :???: It pushed me to exaclty the same height again, which was just too low to make it onto the roof which i wanted…

does it need some entity-refreshing compile or smth?


(Loffy) #2

Hi!
Check out http://www.qeradiant.com/manual/Q3Rad_Manual/appndx/appn_b_7.htm

“target_push: the direction can be set by the “angles” key or pointing to a target_position or info_notnull entity.
Keys:
angles: this sets the pitch and yaw aiming angles of push entity (default 0 0).
speed: speed of push (default 1000 game units per second). Has no effect if entity targets an aiming entity.”
Not sure what it means for your project, but I would fiddle around with those entities and keys/values to get it to work. Maybe you do not need a target_position? Maybe you need to increase “speed”?

//L.


(retredmadcat) #3

thnx for your help, but its not what i meant

i can get the pusher thing to work, it pushes me up in the air…

lets say i made a Jumppad which must push me onto the uper story of a building. I tested it, and i didnt make it all the way up, because the target_position was a little bit too low. I tried to fix it quickly by moving the target_postion up, so i would go high enough to get on the ledge. When i compiled and tested it again however, it didnt change, it was as tho the target_position hasn’t been moved at all…
so i was wondering if i had to select some more options with compiling (i only did the first, and the 3rd (vis fast) or smth)


(Loffy) #4

I have no idea. In the document that I linked to, they state that “Compile and test it. The first compile needs to be a full or fast vis. If you need to make adjustments to the target_position, you only need to use an entities compile.”.
Is it a straight jump, straight up? In that case I would try target_push without target_position, and set the angle right and the speed high enough so I would jump to the right place. I would also try using a info_null, just to try. Have you ever managed to move the target_position, recompile and achieve a new jump successfully? Or is this the first time you move a target_position?
//L.


(retredmadcat) #5

ive always used target position, i found it much easier to use… but this is the first time i had to change it, and it just didnt change

i found out that deleting the whole trigger brush + target_push + target_position and making it from scratch again solved the problem

i was just curious why it didnt work


(Loffy) #6

OK, glad it worked. Jump pads are cool.


(Lanz) #7

so i was wondering if i had to select some more options with compiling (i only did the first, and the 3rd (vis fast) or smth)

Sounds like you don’t know what the compile options means and used the wrong ones last time.


(retredmadcat) #8

hm maybe
i always use those (BSP -meta & -vis -fast) and it only fails me with this… everything else works fine