SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Community Simple Text Modding Tutorial For New Modders (https://www.subsim.com/radioroom/showthread.php?t=128825)

ReallyDedPoet 01-24-08 08:44 PM

Quote:

Originally Posted by Mush Martin
Well not to worry Clay the community is full of helpful types and
if you need help by all means ask.
M

Very true :roll::up:


RDP

NealT 01-27-08 12:22 PM

MM
If you are not careful, you are going to make me want to really buy this game and if I do that...my wife is going to come after you! :rotfl:

Seriously though, thanks for the detailed explanation. It is making a lot of things come into play for the other SH game I play...

pythos 01-27-08 05:09 PM

Mid career conning tower change
 
I have yet to have the game upgrade my tower. I am several months into the interval listed in the UPC files for a change of tower, so I think my upgrade of this unit is broken.

Anyone have hints on how to change the tower of my CURRENT sub (not a new career), to what it should have been.

Or any idea how to make the change probabilty of the game 100%, instead of a random chance kinda thing?

I will try some things, but so far none have worked.

When I change things in the save game UPC inti, file, after loading the game, I find that the file has returned back to what I changed it from...very anoying.

Mush Martin 01-27-08 07:04 PM

Stay tuned Pythos I will see if I cant address some of those issues.
M

399nkov 02-01-08 08:41 AM

Thanks for your input MM. I'am tuned in. Maybe you can teach a dummy like me a few things. Trial and mostly error is my middle name.

nkov

AkbarGulag 02-02-08 10:00 AM

Excuse the placement of this, but after consideration, some of this is probably more releveant here than somehwhere else... It poses questions, though the files relevancy is of dubious content. Though it appears useful for making campaign layers.

As i'm sure there are people out there that can answer some of these or maybe all of them, this seemed like the best place to ask. The question is, "What does each line control, in the Campaign.cfg file?"... heres an example.

[Section 6]
1- FileName=data/Campaigns/Campaign/Jap_AirCover.mis
2- StartDate=19380101
3- EndDate=19451231
4- GameModes=SingleMission,SinglePatrol,Career
5- InclusionProbability=100
6- MinimumDifficultyRating=0
7- MinimumPlayerRating=-3
8- EntryFocalPointLong=0
9- EntryFocalPointLat=0
10- MaximumDistanceFromStartPoint=90000
11- ExclusiveLayer=No
12- ExclusiveLayerID=0

Here's what I believe they some of them are... please correct me if incorrect.

1- Is clearly the refference for the resource assosciated with this file and its location.
2- Start date year/day/month for this resource to be in use.
3- End date year/day/month for this resource to cease use.
4- The type of game the user is playing that this will be active in.
5- I can only guess on this one, is it telling me this will deffinately be active 100% of the time, the value being from 0-100%?
6- No idea how this works.
7- No idea how this works. the negative value makes it even less obvious ^^
8-9- I can only guess at this also, help appreciated. But I suspect the value of 0 is a placeholder and this will affect nothing unless a lat and/or longitude is added. What it will actually do if a value is inserted is a myth to me so far. Help needed.
10- Pretty much everything in the campaign.cfg has this maximium distance value of 90000. Is this just the maximum range of the active campaign layer from one focal point... 90,000 being a distance of ?? in a radius around X on the map? or from the actuall location as dictated by the associated resource file?
11- The wording on this one is intriguing... especially interested in what this means.

12- This is clearly in relation to 11... for example, if 11 is 'Yes' instead of 'No' as a value, then layerID=(insert resource here). This line has an associated file or folder?.

I know this may seem like a lot to ask, but as you can see, guessing what everything does only gets you so far :lol:

Mush Martin 02-02-08 02:12 PM

Quote:

Originally Posted by AkbarGulag
Excuse the placement of this, but after consideration, some of this is probably more releveant here than somehwhere else... It poses questions, though the files relevancy is of dubious content. Though it appears useful for making campaign layers.

As i'm sure there are people out there that can answer some of these or maybe all of them, this seemed like the best place to ask. The question is, "What does each line control, in the Campaign.cfg file?"... heres an example.

[Section 6]
1- FileName=data/Campaigns/Campaign/Jap_AirCover.mis
2- StartDate=19380101
3- EndDate=19451231
4- GameModes=SingleMission,SinglePatrol,Career
5- InclusionProbability=100
6- MinimumDifficultyRating=0
7- MinimumPlayerRating=-3
8- EntryFocalPointLong=0
9- EntryFocalPointLat=0
10- MaximumDistanceFromStartPoint=90000
11- ExclusiveLayer=No
12- ExclusiveLayerID=0


you were doing alright akbar, tater is probably a better guy to ask
but heres my try.

on the first four your good but regarding onset and offset dates.
the unit will have a spawning rating in ME I think. every twenty four
every niety six hours or something.
so within that framework it will spawn every 96 hrs for the duration of
the included dates (based on a 100% inclusion)

it wont respond to player presence and spawn from a base if the player
is below the indicated minimum player level.

probability of inclusion// now to me this was originally
the probability of a single ship spawning within a given formation
but I am not certain but I think in the case of shiv that there is
some relevance to the other game modes (ie single player)
SHIV and SHIII lay the singlemissions out onto the campaign layer
which is why if you make a mission without any sunderlands in it
you will suddenly start getting bombed by a plane you didnt put in.
because its from the campaign layer.

min difficulty means if the min difficulty is set at eight then my suspicion
is that the unit wont spawn unless the game is set for eighty percent
realism/difficulty.

min player level is a requirement that seems to indicate that
if the player has less than the required gameskill level then
the unit will not spawn.


entry focal point lat and long seems to be the anchor point on which
the spawning area is centered. (spawning area size is a variable I think)

Exclusive layer would indicate a single mission not overlayed on a
campaign layer but on a blank ocean so no random units appear
this would be beneficial in an exacting historical recreation mission.
(the above is a sort of I think a campaign layer may also be double
layed in some cases but am uncertain.)

exclusive layer id would to me indicate what layer other than the mis file
to use.


all of the above may not be correct try to further verify
Tater I believe would be the resident expert on this one.

hope it helps
MM

AkbarGulag 02-03-08 06:52 AM

Everything helps Martin :D

If we get all these lines deffinitively answered, ill go back and add them all to my original post.

Anyone else know what all these lines do?

In particular, how the -3 'playerRating' is calculated.

Also, MaximumDistanceFromStartPoint=90000.... what does the 90000 mean? is this in metres or other?

Thats an interesting idea for the 'Exclusive Layer' also. Something else for me to ferret out maybe :hmm:

Mush Martin 02-03-08 07:56 AM

90000 appears to be in Yards/Metres (I think)

clayp 02-03-08 11:31 AM

MM Sir a question,again...:lol: Is it possible to do some of the changes you have put forth not in the context of making a mod but just make them to the game?..I hope my question is clear and understandable....:yep:

ReallyDedPoet 02-03-08 11:44 AM

Quote:

Originally Posted by clayp
MM Sir

No need to refer to Mush as Sir :roll:, numskull will do :yep::lol::lol:


RDP

clayp 02-03-08 11:47 AM

Quote:

Originally Posted by reallydedpoet
Quote:

Originally Posted by clayp
MM Sir

No need to refer to Mush as Sir :roll:, numskull will do :yep::lol::lol:


RDP

As I have stated I call anyone smarter then me Sir,EVEN you....:lol: :lol: :rotfl:

ReallyDedPoet 02-03-08 12:00 PM

Quote:

Originally Posted by clayp
Quote:

Originally Posted by reallydedpoet
Quote:

Originally Posted by clayp
MM Sir

No need to refer to Mush as Sir :roll:, numskull will do :yep::lol::lol:


RDP

As I have stated I call anyone smarter then me Sir,EVEN you....:lol: :lol: :rotfl:

He, he, good one Clay :up:


RDP

Mush Martin 02-03-08 12:22 PM

Quote:

Originally Posted by clayp
MM Sir a question,again...:lol: Is it possible to do some of the changes you have put forth not in the context of making a mod but just make them to the game?..I hope my question is clear and understandable....:yep:

Ignore that man clay...... he cant spell numb .....which makes him.....:88)

yes its possible you just in order to make it a permanent change
to your install take the instructions and make the files just like you
would for jsgme. before changing your install permanently use
jsgme to test your set up and make sure its right because after
you do it as a permanent change instead of a mod then theres
no take backs.

to make it a permanent change once you are done making the files
and testing via the mod method then just copy each of the modded
files into the appropriate folder in your game install and overwrite the
exisiting files. this will make permanent changes but again I would advise
testing your changes as a mod prior to commiting the change as if anything
goes wrong after then its uninstall reinstall and start over.

regards
M

JREX53 02-03-08 02:16 PM

ClayP,

You might also want to make a backup of the original files also,
just in case you might want to go back to the stock game.

Just my $.02 worth of advice.

MM, I have liked your tutorial so far, do you have a idea when
the next section is going to be put out.

Thanks for the tutorial.

Mush Martin 02-03-08 03:17 PM

Well normally I would come around to it on sunday (today)
but its Superbowl and Ive been doing food prep all day.
so I am looking at doing it through the weeknights this week
assumably by sometime next weekend I think. as this one
is a bit shorter.
M

ReallyDedPoet 02-03-08 03:39 PM

Quote:

Originally Posted by Mush Martin
Ignore that man clay...... he cant spell numb .....which makes him.....:88)

Oh I can spell it :roll:, you just are not looking in the right places :yep::D
http://dictionary.reference.com/browse/numskull
Stop disappointing me :lol:


RDP

clayp 02-03-08 03:54 PM

Quote:

Originally Posted by reallydedpoet
Quote:

Originally Posted by Mush Martin
Ignore that man clay...... he cant spell numb .....which makes him.....:88)

Oh I can spell it :roll:, you just are not looking in the right places :yep::D
http://dictionary.reference.com/browse/numskull
Stop disappointing me :lol:


RDP


:rotfl: :rotfl: :rotfl: :rotfl: :rotfl: :rotfl:

Mush Martin 02-09-08 07:18 AM

for those who are expecting a segment today or tommorow
its been delayed for a bit this week and should be ready soon
but wont be today.
M

aanker 08-22-08 01:20 PM

Quote:

Originally Posted by WEBSTER
bump

You got that right! This tutorial has been very helpful for me too even with the 1.5 add-on.

Happy Hunting!

Art


All times are GMT -5. The time now is 06:44 AM.

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