In guerrila, open up a projectile tag and edit the initial velocity and final velocity variables.
Printable View
The problem was, i was working with an SMG and its bullets fired slowly but its initial and final velocity variables were set to 1000 and I don't know whats the measure of those. 1000 world units/sec?
I'm not talking about the rate of fire. Like, the bullets would fly slowly through the air.
That's odd, try comparing the bullets of the smg with the bullets of the assault rifle and see if theres something you missed out, i seem to remember there was a "limit" for how fast the bullets would move though, i remember having issues because after a certain speed my projectiles would slow down.
I set them to use the same projectile and still had the same effect...
Current Questions:
1. How can I set a bullet projectile's detonation range? So bullets fly farther without disappearing?
2. How can I set a bullet projectile's speed when flying?
Double Post:
How do I set up a device_control to execute a script? Or moreso, how do I set up a device_control to do anything at all besides start a sound or effect?
Your mentality is backwards. You write a script to continually check the state of a device, and then the script does something based on the position of the control.
(Remember, the semicolons denote comments in BSL.)Code:;;Basic device script for solo maps
(script continuous devicescript
(if (= (device_get_position myswitch) 0) ;If
(device_set_position mydoor 0) ;Then
(device_set_position mydoor 1) ; Else
)
)
Ahhhhhh. That makes a lot more sense.Any way I can set the device_set_position for a group of objects? Say, if I put them in a device group?
Got it...
How can I set the orientation of a projectile? For example, a rocket shoots with the same projectile orientation, nose away from the person). How would I do this with something like a bomb or C4? Something that falls rather than shoots, but always falls in the same orientation.