Not Getting Shot buy a cannon. Created 16 years ago2007-08-20 17:45:48 UTC by Kill_the_Bug Kill_the_Bug

Created 16 years ago2007-08-20 17:45:48 UTC by Kill_the_Bug Kill_the_Bug

Posted 16 years ago2007-08-20 17:45:48 UTC Post #232504
Ok - quick and dirty style - took cannon from tutorial and copied it into a dod map - works great except I'm not being shot and the smoke sprite appears with a black box around it.

any ideas

Great cannon tutorial too! - used the grunts and guns one.
Posted 16 years ago2007-09-11 10:50:12 UTC Post #233892
sorry to bump this up but it's also to go with my other post and the two might be linked.

In the other post my guns work everywhere else but not in dod any ideas?
Posted 16 years ago2007-09-11 13:34:53 UTC Post #233894
You mean when it fires at you, you don't take any damage?

And the sprite thing.. change the render values
Madcow MadcowSpy zappin my udder
Posted 16 years ago2007-09-12 16:50:00 UTC Post #233965
Yea that's right - cannon goes boom boom and buggy's still standing tall!

I'll check out the sprite values tonight!
Posted 16 years ago2007-09-22 14:08:46 UTC Post #234749
how exactly do you change the render settings for the flash sprite tied to the gun barrel? :confused:

not sure about the cannon though, thats got me confused :zonked:
Posted 16 years ago2007-09-24 11:42:07 UTC Post #234879
For the sprite, you need to set the texture type to either Glow or Additive.

If you set it to "Glow", the image will grow and shrink in size when you move toward and away from it.

If you set it to "Additive", it will do the same... but if you add a value above 1, it will stay a constant size.
Depending how transparent you want that smoke, change the value between 100 - 255.
As for the damage from the cannon... I haven't done any turrets yet, but I can take a crack at it...

First, you're gona need to check if a "shot" is even being fired from the cannon.
Do YOU fire the cannon at a target, or is it firing at you when something is pressed or walked on?
Also, check to see if the destination target of the cannon is correct. If it's an auto fired cannon, there should be a parameter for the "target".
Fiddle around with it. You might need to keep it blank or something... not sure.

You'll also want to check the damage parameter of the cannon. Make sure it has a value like 150 if you want to kill someone with armor, or pretty close to it.
Posted 16 years ago2007-09-25 08:53:20 UTC Post #234968
I've imported the cannon and rocket lauchers from the tutorials on this site into my map to give it a quick spin before making my cannons operational in my DoD map. They'll work in 1/2 life or CS - I know this because if I put the bsps into that game they work fine but the don't work in Dod.

In trying to figure it out with DoD I decompiled valve's DoD_Escape map imported their rocket launcher - it work's but in this case the laucher is stationary and fires the rockets straight ahead. If I rotate all the entities say 45 degrees the rockets still shoot straight ahead and not to the target that I want.

DoD sure is confusing to be sure - what works for 1/2 & CS doesn't seem to work all the time in this game. Argh!
Posted 16 years ago2007-09-25 16:12:57 UTC Post #235011
Not sure about that :/ ive never mapped for DoD, but what i recomend is building a gun from scratch, using the one from the tut as a template, also, make sure that the gun is pointing 0 degrees, then set its direction you want it to be in-game using the entity properties box. sometimes weird errors can happen if you dont do that.
Posted 16 years ago2007-09-26 16:57:58 UTC Post #235080
thanks will try it out
Posted 16 years ago2007-09-28 11:33:57 UTC Post #235156
Wasn't DoD created using the Spirit engine instead of HAMMER and WorldCraft?

Meaning... Spirit gives you more options and ability that CS1.6 and HL1 have limitation with.

Example:
Doors with breakable glass...
Vehicles with shootable turrets...
etc...
Posted 16 years ago2007-09-28 13:20:18 UTC Post #235163
Spirit is a mod of HL. DoD had a team of coders and all that to add whatever they needed so I doubt they needed spirit.

Spirit adds flexibility to the HL entities so that people who don't code may have some advanced control.
Rimrook RimrookSince 2003
Posted 16 years ago2007-09-28 13:30:45 UTC Post #235165
DoD was based on Spirit, yes. Spirit isn't an engine though, just a customisation of the HL SDK.
Posted 16 years ago2007-10-02 15:29:32 UTC Post #235484
Wait a sec I think I forgot to tell it to shoot bullets - if I can remember to where the bullets is - lol
Posted 16 years ago2007-10-03 12:08:22 UTC Post #235545
OK - update for you all - in DoD

I have the entity as controllable - doesn't do anything press button hand moves like it does to take over the firing of gun sequence then goes right back again. gun don't do nothin - lol - grammar!

I click active flag - oh gun works just fine - at doing whatever it it takes to kill you! this then can be further controlled to be axis or allied friendly = you not one of them and you dead.

I hope this helps you peeps out and if anyone has the answer in how I can control the gun please let me know thanks!
Posted 16 years ago2007-10-22 15:24:19 UTC Post #236824
Ok - this isn't a bump but I've encountered two new issues and maybe someone here knows:

Gun----Line of sight--->player

It seems gun will shoot you in this fashion however if you are below the gun i.e it's on a ledge - it can't see you and won't shoot you - this is even if you walk straight at it but not at the same level as the gun. I don't have the line-of-site flag checked.

Lastly, is there a max distance setting? gun will shoot at 5 - 1500 ftbut beyond that it won't shoot me even if I set it to 50000 ft
Posted 16 years ago2007-10-24 07:58:55 UTC Post #236933
Sorry. I read this as;

Not getting shot? Buy a cannon!

I really wanted a cannon...
You must be logged in to post a response.