need the shores changed a bit in midway

Give a clear description of what you need and maybe Santa will deliver
Post Reply
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

need the shores changed a bit in midway

Post by freddy »

i tried to do it myself watching fo0k´s tutorials and all but it just craps out, i have like zero talant for this stuff :)

i want to have the shores (hope thats the right word) changed a bit so instead of "leaning" to the isle it should be the other way around, like a cliff so to speak. perhaps move the shore a bit further to land also.

its for a "stop noobs from putting ships on ground mod" it works ok as is but sometimes the ships starts climbing, its a bit wierd just as bf42 are.

Image
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: need the shores changed a bit in midway

Post by freddy »

bump, i really could need some help with this :/
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: need the shores changed a bit in midway

Post by fo0k »

so when in heightmap mode..

(mouse hover tooltips show you the names of tools below..)


1. find a quiet area of the map underwater.. then use the 'raise and lower terrain' tool to bring a section of the heightmap up close to level of the water.

2. still in heightmap mode, change to the 'set terrain' tool and then right click on the highest part of the heightmap you just raised up.

3. now go over to your coastline/shore and left click along the edge where it normally drops off to the seabed. Do this around all shoreline.

You should now have a steep face from seabed up to the water level and will help stop the boats landing :)
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: need the shores changed a bit in midway

Post by freddy »

hum hum not sure i follow heh

is now Image

want Image
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: need the shores changed a bit in midway

Post by fo0k »

ahh, well the best you can get is something near vertical.. its a grid mesh and the points on it can only go up or down.. never possible to create the shape you are looking for. best option (with just heightmap) is to get the terrain closer to the water level to help stop boats get over it.

alternatively a static could be made to line the shore.. an invisible wall a few meters high with the top just over the water level..
collision allowing soldiers but no vehicles to get through.

would work serverside but requires the model.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: need the shores changed a bit in midway

Post by freddy »

i guess i could place some statics all around the edges, will see what i can think of :)

User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: need the shores changed a bit in midway

Post by fo0k »

just noticed this is in the 'request a mod' section.

Sir freddy. I shall make this for you :)

before I do.. you want NO boats to pass the current 'drop off' points of the heightmap?

or.. perhaps you could draw a line on where you want the border to be

(new image upload functionality folks.. click it.. amazing huh!) :)
midway.jpg
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re:

Post by freddy »

Nice! is that fancybox or lightbox or something?

Iwé been lazy with the modding heh, but i should fix it because theres always atleast one noob that take a boat and drive it full speed into the isle. Wouldnt care about it but its known to cause lag and many midway/wake servers is forced to have rules about it with kicks and bans and stuff, and im not happy with that.

My take on this (as you can see in the vid) is to use the same wheels the PTboats is using for ground contact, they have springs and whatnot so shouldnt lag the server when they hit ground i think? Plus if (when) it works the boat wouldnt be left hanging on the shore, but still be floating so one could just reverse it to get free.

The problem is the weird physic in bf42, one could think a big and heavy ship of that size should be forced down by gravity but apperently that doesnt apply in the gaming world :mrgreen: I think what i need is to put something to block the wheels so they cant climb over the edge. I can use whatever static object as its serverside and then adjust the wheelpositions until i get it right (perhaps its enough with one wheel).

Image

Anyway its worst at the coast around the radarstation, so i guess perhaps it could be enough to fix it there.

edit: some code, i rotated the wheels in the front so they will try to push the ship backwards as they have enginegrip.

Code: Select all

ObjectTemplate.Active Fletcher_Engine
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 3/0/96
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -3/0/96
ObjectTemplate.setRotation 180/0/0

ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 6/-6/60
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -6/-6/60

ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 6/-5/0
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -6/-5/0

rem *****************************

ObjectTemplate.Active HatsuzukiEngine
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 3/4/98
ObjectTemplate.setRotation 180/0/0
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -3/4/98
ObjectTemplate.setRotation 180/0/0

ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 6/-3/60
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -6/-3/60

ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition 6/-3/0
ObjectTemplate.addTemplate PT_FrontWheel
ObjectTemplate.setPosition -6/-3/0


ObjectTemplate.Active PT_FrontWheel
ObjectTemplate.createInvisible 0
Post Reply