Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Shoes

Pages: 1 ... 32 33 [34]
Work In Progress / Re: Achievements mod
« on: July 09, 2013, 06:09:49 am »
This is great! I am not too creative or informed about RL military stuff, so this is great. I will be referring to this when I eventually get this mod working.

Work In Progress / Achievements mod
« on: July 07, 2013, 05:58:59 am »
The purpose of this thread is really more for me to ask general questions in one thread, instead of many. Also, I will outline the mod so people can feel free to recommend more elegant ways of proceding!


The purpose of this mod is to award soldiers medals for their valor in combat. These medals would grant stat bonuses. In the future, they could be required before a soldier can equip a certain weapon or something. Or provide bonuses in specfiic conditions, like long range accuracy or vs alien accuracy.


This mod will act a lot like how promotions are done.

In the SoldierInfoState, there will be a new button that leads to SoldierMedalState that lists all the medals (and their effect) for the current soldier.

After a mission, the DebriefingState will check to see if a medal has been awarded. If one has, it will show which soldier got what (This is different from Promotions and Ranks, because there is only ever one new rank, but many possible new medals...).

In Soldier.cpp, I am adding the actual medal code. Perhaps I will make Soldier.cpp call Medal.cpp to keep things clean. I will be asking questions about how to do what I want to do at a later point.

Here is a link to my git repo branch :

My first question is this : Where are all the strings located? :x I know they are all centralized for easier translation, I just can't find where!

I even read the FAQ and I missed that. This is going to be a long modding project. :x Thanks

Here is the error I get now:

Code: [Select]
1>------ Build started: Project: OpenXcom, Configuration: Debug Win32 ------
1>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I am going to install the dependencies from the 3rd FAQ. The stuff I had was more recent.

I am running into this error while compiling.

1>OpenXcom.rc(11): fatal error RC1015: cannot open include file 'afxres.h'.

Following the compiling instructions on the wiki, I downloaded VS C++ 2010 express, downloaded the dependencies from the pre-compiled link provided, and ran the .sln. I am familiar wtih git, so I know I have the latest git branch. Where is this missing file from?


Suggestions / Re: Achievements
« on: July 04, 2013, 06:00:23 pm »
medals, it seems every so many months some one has this great idea :)

This makes it sound like people have attempted and failed :x hopefully they just haven't even attempted.

Suggestions / Re: Achievements
« on: July 02, 2013, 12:22:16 pm »
I was thinking more of Emblems like in Ogre Battle Tactics for the GBA. An example would be "Complete a mission sending only one soldier". If you are able to win with only one guy, that guy would get a medal and maybe like +30 Bravery or something as a bonus.

All that would be required from a UI standpoint is maybe an extra button in the soldier screen leading to their list of medals. Behind the scences, I would need to run checks during a mission to see if achievements are met, grant the emblem and the stats to the soldier, and communicate them to the geoscape.

In my mind, this sounds simple and doable for a beginner programmer like myself, with a bit of persistence and help from guys on IRC.

Also, this should totally be in the modding forum, oops :x

Suggestions / Achievements
« on: July 02, 2013, 03:23:39 am »
I was wondering how feasible adding achievements to the game would be. I've done virutally no C++ at univeristy, but I've been working witn Cataclysm: Dark Days Ahead for about 6 months now, so I am learning. I intend to do this on my own, with your help, but before I even start I would like to know if the mechanics are in place for doing achievements.

Hopefully this question is answerable :x if not I will delve in myself and ask tons of questions on the IRC!

Edit: Disregard the poorly spelled title...

Pages: 1 ... 32 33 [34]