Best way to make bumpers for boats?
- Iced Earth
- Posts: 209
- Joined: Sun Oct 18, 2009 2:07 pm
- Contact:
Best way to make bumpers for boats?
...to prevent ship beaching. The best solution would be changes to the ships themselves in objects.rfa, so it would apply to every map.
One idea was sandbags, but...they go through the terrain. Wheels might be one idea, but for a carrier that would be a sh*t ton of wheels.
Any ideas?
One idea was sandbags, but...they go through the terrain. Wheels might be one idea, but for a carrier that would be a sh*t ton of wheels.
Any ideas?
Re: Best way to make bumpers for boats?
some sort of frame low enough to bump into the bottom seabed before it get to close to shore?
dunno if it could be done directly to the mesh?
dunno if it could be done directly to the mesh?
- Iced Earth
- Posts: 209
- Joined: Sun Oct 18, 2009 2:07 pm
- Contact:
Re: Best way to make bumpers for boats?
yes...server side?freddy wrote:some sort of frame low enough to bump into the bottom seabed before it get to close to shore?
dunno if it could be done directly to the mesh?

- Kuyong_Chuin
- Posts: 80
- Joined: Wed May 05, 2010 2:34 pm
- Location: Middle Tennessee, USA
- Contact:
Re: Best way to make bumpers for boats?
I have and idea but not sure exactly how you would code it for it to work properly.Iced Earth wrote:...to prevent ship beaching. The best solution would be changes to the ships themselves in objects.rfa, so it would apply to every map.
One idea was sandbags, but...they go through the terrain. Wheels might be one idea, but for a carrier that would be a sh*t ton of wheels.
Any ideas?
Place a Landing gear type system on the boats and ships. One gear on each corner of the front of the craft. Then if you run a ground you hit the key that you asign the landing gears, like mouse button 3 or something that isn't used right now. The gears lower raising the craft off the bottom enough for the engines with the wheels rolling to get it off the land. If you run a ground in reverse you would be SOL or you would have to put gears on the rear of the craft and make the wheels powered. Problem with that someone would use it as an amphibous Battle ship or something unless you some how coded it so you could only lower the front or rear gears not both at the same time. That would stop the Amphib BB at least.

If thy sleepth in a bed of roses, thy will most likely awake with thorns in thy backside if thou doeth not prepareth thy bed beforeth thy lie down.
Re: Best way to make bumpers for boats?
well if you attach a object to a boat and the game don't crash, you just won't see it server-side right... ?
because you could try add a little object like freddy said low enough to bump into the bottom seabed before it get to close to shore...
one problem I'm just not sure if the collisions work ssm
because you could try add a little object like freddy said low enough to bump into the bottom seabed before it get to close to shore...
one problem I'm just not sure if the collisions work ssm
Re: Best way to make bumpers for boats?
you can attach any object you like to each other and the server doesn´t mind, provided you rem out the networkinfo (if any) from the object you attach.
of course you cant see the added object if you dont have it in your gamefiles, but otherwise its the same as those bunkers some like to add to there maps, the server know its there and interact with it.
you can even attach a aagun to a plane and fly around with it, it crashes first when/if you try to get into the aa by using the shift position buttons
of course you cant see the added object if you dont have it in your gamefiles, but otherwise its the same as those bunkers some like to add to there maps, the server know its there and interact with it.
you can even attach a aagun to a plane and fly around with it, it crashes first when/if you try to get into the aa by using the shift position buttons
- Iced Earth
- Posts: 209
- Joined: Sun Oct 18, 2009 2:07 pm
- Contact:
Re: Best way to make bumpers for boats?
grrr
So i've added a bunch of wheels, this is just an example of some:
I've added all of them to the shokaku complex, right after all the ShokakuAirplaneSupplyDepots. The only problem is the rotation doesn't seem to effect them. I've tried 0/0/90, 0/90/0; nothing. Right now they "kind of" work, but as soon as they hit a bump they can "climb", the whole ship tilts as if it were being beached. So it doesn't really do much good there, lol.
What am I doing wrong?

So i've added a bunch of wheels, this is just an example of some:
Code: Select all
ObjectTemplate.addTemplate PT_BackWheel
ObjectTemplate.setPosition 10/-20/120
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate PT_BackWheel
ObjectTemplate.setPosition 10/-20/110
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate PT_BackWheel
ObjectTemplate.setPosition 10/-20/100
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate PT_BackWheel
ObjectTemplate.setPosition 10/-20/90
ObjectTemplate.setRotation 0/0/0
What am I doing wrong?

Re: Best way to make bumpers for boats?
add the wheels to the PT_BackLandEngine instead and then add the engine to the shokaku complex, that way the wheels would be like working on driving the ship out/back again when they touch land
as for the PT_BackLandEngine on the PT boats, they really doesnt do much good on them. so if you need the PT boats in a map/maps just rem the PT_BackLandEngine out from them in objects.con
as for the PT_BackLandEngine on the PT boats, they really doesnt do much good on them. so if you need the PT boats in a map/maps just rem the PT_BackLandEngine out from them in objects.con
- Iced Earth
- Posts: 209
- Joined: Sun Oct 18, 2009 2:07 pm
- Contact:
Re: Best way to make bumpers for boats?
thanks freddy i'll give that a go and see what I can come up with.