ju52

For info on the site, community and 'battlefieldy' things

ju52

Postby Bonaparte » Mon Jul 12, 2010 4:33 pm

I need to do a little fix to the ju52 in forgotten hope 1. How do i make it stay in the air until someone spawns in it? And how do i make it spawnable?
Bonaparte
 
Posts: 64
Joined: Tue Jan 12, 2010 8:49 pm

Re: ju52

Postby Jeronimo » Mon Jul 12, 2010 5:39 pm

1. Set the objectSpawner to "holdObject":
Code: Select all
ObjectTemplate.holdObject 1


2. Find a suitbale objectSpawner in ObjectSpawnTemplates.con and put the ju52 in there.
Image
Jeronimo
 
Posts: 196
Joined: Sun Dec 27, 2009 8:55 pm
Location: Germany

Postby freddy » Tue Jul 13, 2010 7:22 pm

should be possible more or less
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Postby freddy » Wed Jul 14, 2010 8:09 am

well with more or less im thinking of the old trick to add a spawner to a rotational bundle (like a radar) but that will ofcourse not fly exactly in a straight line, or you can use the floater trick and setting one or more engines as rocketengines wich will make them always on (more or less) but in this last example you loose the normal flight charasteristics of the plane

there may be more ways to do it, the ones i wrote is ssm codeing but if its csm there should be even more options
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: ju52

Postby Apache Thunder » Thu Jul 15, 2010 1:31 am

You can try changing the engine type to c_ETRocket. Then the engine would turn on even with the vehicle empty. Also you would need to add the Fowardmod setting so the plane spawns with it already moving foward. Getting it to fly stable on it's own may be tricky. Also note that the plane will never turn or do circles or anything other then flying straight if you go this route. (unless the plane spawns too slow or wrong angle, then it could fly out of control into the ground somewhere. :P )

You might be able to make the plane do a curved flight if you spawn the plane pitched to the side a tiny bit. But it will probably never do a full circle or change direction.
ImageImageImage

I have cameras in your head!
User avatar
Apache Thunder
 
Posts: 1192
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA

Postby freddy » Thu Jul 15, 2010 2:20 am

the B17 drags to left in its original form/shape, its just a tiny bit but it is there, dont ask me why :)

i remember a post where someone had coded a airstike you could call from a bunker, thats looked pretty cool. wonder how long they came with that.
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: ju52

Postby Bonaparte » Tue Jul 20, 2010 12:45 pm

Can someone please do this for me, i dont know why but everytime i try it in my map it crashes.

http://www.paste.fi/file/1279626174670 This is the original Forgotten hope 1 file!
Bonaparte
 
Posts: 64
Joined: Tue Jan 12, 2010 8:49 pm


Return to General discussion & notices

Who is online

Users browsing this forum: No registered users and 3 guests

cron