SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-03-13, 02:54 PM   #2191
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.121.0 released. See post #1
Thank you

I'm sorry to remind you - http://www.subsim.com/radioroom/show...postcount=2183
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 07-03-13, 02:56 PM   #2192
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Thank you

I'm sorry to remind you - http://www.subsim.com/radioroom/show...postcount=2183
my fault. I missed that. I'll upload new version will this included here in a few
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:03 PM   #2193
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
my fault. I missed that. I'll upload new version will this included here in a few
Thanks
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 07-03-13, 03:04 PM   #2194
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Thanks
download counter was 0 so I didn't change the version number. Link at post #1 updated
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:07 PM   #2195
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

If you want to see the new carrier patch in action:
- fire up the Generic Patcher
- Expand the Carriers spawning aircraft patch
- Double click on the Notes= node. Read what it says.
- Double click on the Files= node.
- Do what the Notes= said.
- Fire up game.
- Set course to 0
- Set speed to ahead standard
- Go to external cam
- place the external cam behind carrier and follow it
- once carrier has detected you it will scramble aircraft
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:07 PM   #2196
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
download counter was 0 so I didn't change the version number. Link at post #1 updated
it can't be zero.. I have downloaded and installed it already (and looked inside the LanguagePacks/Help folder) ..

EDIT:

Quote:
Originally Posted by TheDarkWraith View Post
If you want to see the new carrier patch in action:
- fire up the Generic Patcher
- Expand the Carriers spawning aircraft patch
- Double click on the Notes= node. Read what it says.
- Double click on the Files= node.
- Do what the Notes= said.
- Fire up game.
- Set course to 0
- Set speed to ahead standard
- Go to external cam
- place the external cam behind carrier and follow it
- once carrier has detected you it will scramble aircraft
I'll try it later this night.. thanks for the details
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 07-03-13, 03:08 PM   #2197
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
it can't be zero.. I have downloaded and installed it already (and looked inside the LanguagePacks/Help folder) ..
MediaFire must be slow to update the counters then
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:08 PM   #2198
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

That's brilliant TDW

I guess that making planes to taxi on carrier's deck would be too an hard task, if possible at all, but what about placing 4 bones on carrier's 3D model (two in front of the bow and two abaft the stern) that spawned aircraft would use respectively as spawning/despawning point and as first/last waypoint? This way, carrier-borne aircraft would always spawn/despawn in the same position respective to their parent unit, and they would follow a more realistical take off / landing path.

Is this feasible, or yet one more of my usual reveries?
gap is offline   Reply With Quote
Old 07-03-13, 03:14 PM   #2199
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Thank you once again!
Sartoris is offline   Reply With Quote
Old 07-03-13, 03:16 PM   #2200
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
That's brilliant TDW

I guess that making planes to taxi on carrier's deck would be too an hard task, if possible at all, but what about placing 4 bones on carrier's 3D model (two in front of the bow and two abaft the stern) that spawned aircraft would use respectively as spawning/despawning point and as first/last waypoint? This way, carrier-borne aircraft would always spawn/despawn in the same position respective to their parent unit, and they would follow a more realistical take off / landing path.

Is this feasible, or yet one more of my usual reveries?
Too complicated. The amount of assembly code needed to implement this would be probably about the same as current amount of code (just shy of 1Kb) or more. If I had the source code I would attempt it because I can write in C++ SO much easier (and it takes a hell of a lot less time to do!). Trust me I'd love to make this patch better than it already is but writing in assembly is very difficult.

Here's what I would have to do just to get the aircraft updated with the carrier's current position at all times:
- find everywhere new units are created and adjust the amount of memory asked for them to some bigger size
- create new code that accepts carrier as argument passed and takes carrier's current position and updates all planes spawned by that carrier
- create new code that allocates memory for storing aircraft spawned by carrier and code for adding/removing those aircraft from that memory and code for allocating/destroying this memory when it's needed/not needed
- hook into game end and destroy all memory created for each carrier (have to iterate over all game units and see if they are type of carrier and if so see if they have spawned any units)
- etc. etc.

In assembly this is a TON of code. Writing in C++ or C# it would be a snap.

You have to keep in mind it took me a little over 4 months to develop this carrier patch to where it is currently.

Here's the real kicker: you have to know what every object is and how to locate it in order to use it (and what methods it has and how to use those methods). I'd say half the development time of this patch was decoding dlls and act files just to learn how things worked and how to get to the objects I needed. Then I had to manipulate the game and call functions out of order to make the game do what I wanted it to do. No easy task especially when there are multiple arguments passed to each function!!!

I'm amazed that I wrote code that didn't crash the game once. That never happens...but in assembly you either know your objects and memory addresses or you don't - bugs are usually rare.

Last edited by TheDarkWraith; 07-03-13 at 03:30 PM.
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:27 PM   #2201
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Too complicated...
Nevermind, I think I was daydreaming
gap is offline   Reply With Quote
Old 07-03-13, 03:36 PM   #2202
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Nevermind, I think I was daydreaming
If I could get my hands on the source code I could do wonderful things

Now it's time for a little R&R. Taking the motorcycles out for a spin and then I have a date at the range...the 50BMG, AKs, and ARs are begging to be shot!!!!

Enjoy the carrier's patch and watch out for them. They are not an easy target anymore. Battlegroups containing carrier(s) fighting battlegroups with carrier(s) is quite a site also
TheDarkWraith is offline   Reply With Quote
Old 07-03-13, 03:56 PM   #2203
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 5,811
Downloads: 457
Uploads: 0


Default

Thanks a million for your hard work on this
Have a nice ride!
Fifi is offline   Reply With Quote
Old 07-03-13, 03:59 PM   #2204
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Now it's time for a little R&R.
Well deserved

Quote:
Originally Posted by TheDarkWraith View Post
Enjoy the carrier's patch and watch out for them. They are not an easy target anymore. Battlegroups containing carrier(s) fighting battlegroups with carrier(s) is quite a site also
I think it is time for Trevally to close the mid-Atlantic gap once for all, reconsidering the mid-late war usage of carriers in the light of your new patch
gap is offline   Reply With Quote
Old 07-03-13, 05:24 PM   #2205
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

The carrier spawned a biplane and then spawned 2 fighters . The fighters were flying very low then i noticed as they were approaching they would dive into the water and then back out again .
THE_MASK is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.