Activity Streams
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Oh ima fool, now I’ve come to realize that this thing is set for american keyboard so it screws hard for other formats… Now we need to figure out a way to change this as depending on the language it is the accents and punctuations vary wildly between places. I dunno why I didn’t make it right in the first place, maybe I left something behind……[Read more]
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Perhaps because lower e is already defined in the font .ini file for [KEYBOARD_SYMBOL]:
char_e_ = 32,192,32,32
If defined more than once, either confuses things, or more likely it uses the first one it encounters.
For a bracket, I just tried this and it works:
Added to [KEYBOARD_SYMBOL] the following:
char_[ = 256,64,32,32
This actually…[Read more]
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Hm, with my new image name e coordinates correctly set up the thing still points out to another coordinate in game, for ex: press [ and it shows the image of Ctrl even tho I assured the coordinates were correct. Worth noting that all of them are getting this issue.
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
We could do that.
BTW, I found that the dot and brackets are defined in pc_init. These keycodes (keycode values are sometimes different than ASCII and are defined here https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/keycode-constants just have to convert hex to integer if you want to know that a dot is…[Read more]
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Yep, that is it, that was the thought I had but didn’t know how to search for it and yes I’m speaking of the other keys being able to be assigned, I didn’t know that before I started messing with the pc_keyboard.tga so I assumed I messed up something, but oh well.
Speaking of that wouldn’t be great if those keys were defined so in the future if…[Read more]
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
I’m not sure I understand what you mean by “does not accept?” The PC Keyboard characters will only show on the options/keymap screen for the game because I think that’s the only place that uses that font definition. If you mean you cannot map a dot, comma, bracket key, that is because for that purpose, you first have to define the keys in…[Read more]
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
The Pc Keyboard.tga is something else, that file doesn’t seem to accept other characters like dot, comma, square brackets, you name it. With all the ASCII values correct and properly mapped what can be the cause of the issue?
-
Filipe replied to the topic GOF ERAs Mod 2 Latest Download in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Yep, some of the trouble was due to the ‘wrong’ encoding. Thing is that I copied and overwrote the game files as they were so they need to be changed as well for any future translations. Now there’s not much left to do, I hope I can finish it before the next big update…
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
I don’t know why it was resized, but I can guess.
The fonts were redone by some modder on PA! awhile back and offered up. I don’t think it caught on, but MK liked it, so we just copied it into ERAS.
Comparing interface buttons from COAS to this version, it looks like they filled in the outlined version of the letters to a solid look and in the…[Read more]
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Hmm, ok, so why the interface button.tga.tx is 2048 by 2048 and not 512×512? Is it being downscaled or what?
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Correct, you can’t use the same name. This code:
iLev1Bonus = 0.5;
iLev1Bonus = 1;Will just assign variable iLev1Bonus to .5, but the very next line will just replace its value with 1, so that’s what you will get.
You can replace the values like you show:
iLev1Bonus = 0.5;
iLev2Bonus = 1;
iLev3Bonus = 2;
iLev4Bonus = 3;
iLev12Bonus =…[Read more] -
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
This engine work is enough of a pain in the ass to resolve problems that should have never passed testing back in 2009…why would I want to torture myself with another problem child? LOL
Anyway, can you just grab it from an old copy you have already, or update from Itch? I’m not sure, but I would imagine if you remove the files from where Itch…[Read more]
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
It is a little messy, but I’ll try to explain as best I’ve deduced.
First, I have no idea why FONT_1, FONT_2 and FONT_3 files are there. They do appear to be unused anywhere in the game and on my COAS cd circa 2009, those files are dated 2002, so my guess is they were copied there from maybe previous versions of this game and just left there for…[Read more]
-
Oldtimer replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Well a mistake, cannot have 2 identical names can I, so will this work:
//original skill bonuses
iLev1Bonus = 0.5;
iLev2Bonus = 1;
iLev3Bonus = 2;
iLev4Bonus = 3;
iLev12Bonus = 1.2;
iLev15Bonus = 1.5;
iLev25Bonus = 2.5;
iLev35Bonus = 3.5;to start with? Then the bonuses will have to be changed in SetCharacterSkillByItem, right?
Rgds, Oldtimer
-
Filipe replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
I’m having some trouble understanding how the fonts work.
Why the Font.ini doesn’t mention all the fonts.tga available ( I know that the english font doesn’t need the rusian one but there are some like font_1 that isn’t mentioned ) and there the file size and letters positions aren’t ‘synched” so to speak. So how can I modify them properly?
-
Schiavonna replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Dear MK & Jeffrey – How do I steal the source code for “Naval Action” from those scuzzy devs and give it to you to play with…without getting caught?
Just kidding! Do you have a copy of the model and texture for the Salamanca broadsword (in-game)? My texture file is borked – well, i’ve overwritten it accidentally and whats produced now in-game…[Read more]
-
Oldtimer replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Mr. Jeffrey,
first things first. Is it possible to add a skill bonus lvl like:
//original skill bonuses
iLev1Bonus = 0.5;
iLev1Bonus = 1;
iLev2Bonus = 2;
iLev3Bonus = 3;
iLev12Bonus = 1.2;
iLev15Bonus = 1.5;
iLev25Bonus = 2.5;
iLev35Bonus = 3.5;As I only play with original skill bonuses(but equip…[Read more]
-
Oldtimer replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Mr. Jeffrey,
THX for the explanation. I think, by now, it may be a somewhat useful feature actually. With my very sensitive gaming mouse/s I sometimes activate wrong alternatives. This feature solves this annoyance and may be worth the time increase in some dialogues.
Rgds, Oldtimer
-
Jeffrey replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
The value added is determined by the result of function SetCharacterSkillByItem in the line:
skillN = skillN + SetCharacterSkillByItem(_refCharacter, skillName, SKILL_LEADERSHIP, "jewelry3_2", iLev2Bonus);The SKILL_LEADERSHIP and other skill types are defined in characterscharacters.h and determine where the item bonus will apply in the…[Read more]
-
Oldtimer replied to the topic Technical Questions in the forum GOF Eras Module 2 download & discussion board 7 years, 3 months ago
Mr. Jeffrey,
I think made a thought blunder above. The + value is determined somewhere else, right?
Is that by: itmname_booklight_2 {Effective Stances} or itmdescr_booklight_2 { or by both lines together like: itmname_booklight_2 {Effective Stances}
itmdescr_booklight_2 { where the digit 2 sets the value to +20 or?Also as we have no +5 and +25…[Read more]
- Load More
by