Why the Wasserfall Launcher can't fire WasserfallRocket???

Ask questions, discuss ideas, get answers
User avatar
Dennis|8749236
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth
Contact:

Why the Wasserfall Launcher can't fire WasserfallRocket???

Post by Dennis|8749236 »

when bot using it, the Wasserfall Launcher's Rocket just disappered with no reason...
and here is the code:

Code: Select all

rem *** WasserfallFireArms ***
ObjectTemplate.create FireArms WasserfallFireArmsBundle
ObjectTemplate.setNetworkableInfo TankFireArmInfo
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setAsynchronyFire 0
ObjectTemplate.aiTemplate WasserFallLauncherWeapon
ObjectTemplate.projectileTemplate WasserfallRocket
ObjectTemplate.projectilePosition 0/1/1
ObjectTemplate.visibleDummyProjectileTemplate WasserfallRocketDummy
ObjectTemplate.setHasMag 1
ObjectTemplate.magSize 1
ObjectTemplate.numOfMag -1
ObjectTemplate.magType 0
ObjectTemplate.velocity 150
ObjectTemplate.autoReload 1
ObjectTemplate.reloadtime 20
ObjectTemplate.roundOfFire 100
ObjectTemplate.fireingForce 30
ObjectTemplate.disableWhenFired 1
rem ObjectTemplate.addFireArmsPosition 0/-0.188/2.9 0/0/0
ObjectTemplate.addFireArmsPosition 0/-0.188/0 0/0/0

ObjectTemplate.create SimpleObject WasserfallRocketDummy
ObjectTemplate.geometry Wasserfall_r_rocket_m1
ObjectTemplate.hasCollisionPhysics 1
but sometimes the launching is ok... but most of time it just disappeared...
What is the meaning of Life?? (Don't think about it!)
User avatar
Apache Thunder
Posts: 1213
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by Apache Thunder »

Does the launched rocket use the same fire key to detonate as the key used to fire it? Perhaps the bots are just hitting the fire key more then once causing the launched rocket to detonate as soon as it's launched. Try changing the detonation key to right click (also make sure to update the AI template for the weapon). Perhaps this would fix that issue.
ImageImageImage
I have cameras in your head!
User avatar
Dennis|8749236
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by Dennis|8749236 »

WasserfallRocket is using PIAltFire(right mouse button)
wasserfall launcher is using PIFire(left mout button)
it just disappeared didn't left anything(nothing left include fume, wreck, sound... nothing..)
What is the meaning of Life?? (Don't think about it!)
GoodDayToDie!!
Posts: 226
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by GoodDayToDie!! »

I am trying to implement this object into 2 Interstate 1982 maps(interstate_eagles_nest and hillclimb_iii) to no avail :cry:

That code mentioned above, where does that go(I'm a total noob)

I have all the standardmesh, textures, and object files in their respective places(I hope). But when I add the wasserfall bunker and the wasserfall rocket in my map(via bc42) they do not appear in game......

Any tips or pointers to get me going in the right direction(s)?

*I am not worried about bots. This is for conquest only.
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by Swaffy »

Did you copy the projectile code?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
GoodDayToDie!!
Posts: 226
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by GoodDayToDie!! »

Hey Swaff..

Yes, I did that just today. I put in at the end of the objects spawn template.con and that made the map crash. Turned the thumbnail gray. So I aborted and pulled out :lol:
Image
GoodDayToDie!!
Posts: 226
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by GoodDayToDie!! »

I'm picking these 2 projects up again. I can't wait to get this to work in my maps....will edit soon with any questions....

I suppose if anybody has any useful info about this feel free to shout:)
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by Swaffy »

Make sure the icon images are in the correct folders. Check the file paths in the 3D model's ".rs" file to see if they point to the correct path.

I've run into quite a few crashed in my past simply because a file path was incorrect.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
GoodDayToDie!!
Posts: 226
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by GoodDayToDie!! »

Can you give me an example Swaffy, I'm not sure what path you're referring to:/
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Why the Wasserfall Launcher can't fire WasserfallRocket?

Post by Swaffy »

For example,

Code: Select all

subshader "870mcs_Material0" "StandardMesh/Default"
{
	lighting true;
	lightingSpecular true;
	materialDiffuse 0.588235 0.588235 0.588235;
	materialSpecular 0.9 0.9 0.9;
	materialSpecularPower 20.0;
	texture "texture/870_main_d";
}
In this case, texture "texture/870_main_d"; is the path. It's always a good idea to check file paths when issues come up.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply