Hey, I was going through the script reference, _utility, and _utility_code, and I noticed that there is only a reference to checking if certain buttons are pressed, like attack, and use, and the generic only applies for host and appears to only apply for gamepads. Is there a way to check if any button is pressed, like forward, sprint, jump, etc.?
I'm still a bit unsure what a vector is. Let's say I set the vector to (50, 30, 10), will the launched object/person go to that point on the coordinate grid, or will they move 50 on the x axis, 30 on the y axis, and 10 on the z axis. Pretty much, is it a specific position or a distance relative from the player/object?
I am trying to fling a player using Physics Launch, but it does nothing. I'm not sure that I understand the parameters of Physics Launch fully. Here is the code:
Alright, I made a modified version of the dp28_bipod_stand in AssMan which shoots projectiles called the dp28_bipod_stand_projectile, but when I go to launch the map, I get this error: weapClass in weapon info "dp28_bipod_stand_projectile" for misc_turret must be "turret." This doesn't really make sense to me, as the new asset is just the dp28 with projectile settings.
Alright, I decided to use the Oerlikon Cannon Turret from the campaign: http://callofduty.wikia.com/wiki/Oerlikon_Cannon . Based on this and the available turret types in AssMan, I made a turret with these kvps: weaponinfo : pby_dual_30cal model : artillery_usa_oerlikon classname : misc_turret
and added these lines to my mod.csv:
However, when I touch the turret in-game, I get this error: Missing tag [tag_aim] on entity [64] (artillery_usa_oerlikon). I assume this means that the oerlikon model is not rigged to be a weapon, but I cannot find any more oerlikon models.
Hey, I am trying to get a bomb to follow a path based on the Airstrike Tutorial on the UGX Wiki. However, when I am in game and press the trigger, the bomb does not move. Here is my script:
When obtaining guns from the box, it seems that I only have one slot and cannot switch to a secondary. However, if I use the give command to force the issue, I am able to switch guns. What is the issue? Thanks in advance for your help. Video of problem: http://www.youtube.com/watch?v=sNuq9lu0H0k&feature=youtu.be (Mute the audio it's messed up)