Please or Register to create posts and topics.

Frankenturrets follows you

PreviousPage 2 of 3Next

zivi7 -
You're a certified bro in my book, but stop bullshitting ideas out of your butthole if you have no idea what you're even suggesting.

Jade2k8 -
No. There's no way to accomplish what you are wanting. You can settle for, at best, complete disgusting hacks of the physics systems. But they don't even have any real AI, they just spring kind of randomly. To say they go in straight lines is very generous.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Vordwann wrote:
CamBen wrote:
no, parent the frankenturret to the tank, and parent the phys_trhuster to the tank also.

These all sound like the most ridiculous and disgusting setups in the world.

Doesn't work, func_tank has no physics.

You would need to parent the func_tank to the frankenturret and the phys_thruster at the func_tank (but I don't know if this still transfers the force on the turet).

Effectively, func_tank doesn't have any physics, and ataching my Franky to the Tank, does rotate it but it keeps it floating above the ground since it is fixed to a non-physic brush.

Though,ataching the thrust to the Franky does speed it up if it is no parented to the tank but only if it keeps its physics properties.

Damn Wheatley...why you made your cubes so dumb!?

I was thinking about scripts... get the angle of the franken-turret, every times it jumps forward, change its' angles to a certain degrees more in the direction of the player... give it a push...

?????????????????????????????TWP Releases | My Workshop

Yeah! I was about to suggest the same (without the knowledge chickenmobile has got about it ofc! :D).

I think that if this is finally achieved by func_tanks or whatever other parenting maneuver it would look odd anyway (will modify the moster box natural movement with sudden orientations or floating effect as mentioned...). I think the only good-looking system would be to use scripts. I haven't experimented much with this though but there are some interesting params that maybe could modify its predefined trayectory...

Just an idea:

1. Get player's angles (position in terms of pitch, yaw, roll )
2. SetVelocity / SetAngles of the prop_monster_box upon player's position.

That of above can be achieved by triggering a logic_script. Then it would be necessary to fire this logic_script every once in a while by means of math_counter/logic_relays in order to continually update the direction of the monster box.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

The Frankenturret could use its thinkscript to always point at the player, then moving forwards would always go towards them.

Falsi sumus crusto!

Yeah! you're right, it has its own "Entity scripts" and "Script think function" parameters. No need to use a logic_script.

Another possibility would be to disable the Smart Edit and add a Target !player new line?? Don't know if that would be exactly the command, I'm referring to the same one as the trigger_catapults have as "Launch Target".

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Ok, im gettin my hands on doing a Squirrel script, i'll tell you if i get any success on this.

But there is also one more thing and I'm a little concerned because pakrat seems to don't have native support for including .nut files.

If i pack my .nut file on the .bsp that i will upload to the Workshop...should it work properly without any extra downloads?

The answer is no. your users will have to download it seperately and out it in the right location. That is not due to Pakrat, but the way source works: It loads the scripts before you start any maps.

The Aperture Alpha
A map pack coming soon. - click for more information
Image
Brainstone wrote:
The answer is no. your users will have to download it seperately and out it in the right location. That is not due to Pakrat, but the way source works: It loads the scripts before you start any maps.

Completetly correct. :thumbup:

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
PreviousPage 2 of 3Next