Jump to content

Fallout 4 CK custom weapon help


RashYY

Recommended Posts

Hello all!

 

I have been working on making my own version of iron man's cluster bombs, but I have run into some hiccups. I am already very satisfied, but how it's set up is like this:

I have a baseball grenade with a projectile override that uses Automatron's Sentry Cluster Missiles.

It explodes into 50 smaller ones that hit the ground using the explosion object of a car, of which i deleted the lighting options to get rid of the temporary blindness when you have too much nukes at once.

Now, i know nothing of scripting but there is a few things I would like to improve:

 

* I have noticed whenever the cluster separates into the little ones, it bursts to the left and down. So to get the carpet bombing effect on the area I want it, I find i have to aim the bomb to the right. Is there anything i can do to make it more random/natural which way it bursts to?

* Is it hard to create a script that makes it so that the missiles come down in front of the player, with a safe distance between the player and restricting it from going too far, essentially marking a trapezoid area in front of the player that the bombs rain down in?

* I really want to make the grenade itself launch from the back of the player(like the sentry bot itself) in a straight-up unaimed shot that then shoots the projectiles into the trapezoid area in front of the player, using the alt-key (or another hotkey), because this weapon is meant to be used like heavy secondary fire that could be used against an approaching horde while youre still free to use your hands for uninterrupted fire. is this in any way possible?

 

I am very much willing and passionate to put in a lot of hours to learn the scripting to do this, but i am generally horrible at advanced math and have no experience with any kind of coding or scripting.

Very much thanks to anyone who can give me some pointers or advice on this, and if you have any other comments regarding where to find good learning resources on working with Papyrus or the CK please let me know!

Edited by RashYY
Link to comment
Share on other sites

 

I have noticed whenever the cluster separates into the little ones, it bursts to the left and down. So to get the carpet bombing effect on the area I want it, I find i have to aim the bomb to the right. Is there anything i can do to make it more random/natural which way it bursts to?

Try to adjust the spawning vector. E.g. set Z=-1.0 and set explosion to Use World Orientation, most reliable. Existing cluster explosion uses Y=1.0 and, as seen for Sentries, works fine for weapon-shot projectile (forward, along the line of fire), but possibly, throwable projectile generates the exposion at different orientation (is it Model dependent actually? and which model - Explosion or Projectile?), so maybe change Y-vector to X.

PS. 50 children... doesn't it crash the game?

Edited by hereami
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...