General > User modifications

Problems modding weapons and techtree

(1/6) > >>

tobbe:
Hi, i am trying to modify some weapon and tech scripts a little bit and i encountered some problems i wasnt able to find a solution via the wiki...maybe somebody around could help?

1. I want to move some initial weapons (and their tech) to a later time in the campaign. I removed the entries (e.g. riotshot gun) in researched list, equipment campaign_player and equipment campaign_initial_market, but i still start with a riot shotgun...any way to change this without coding?

2. I want to move some starting techs (e.g. combat armor) to a later time by adding a research_AND...but every time i try this, the geoscape crashes and i dont understand why.

3. I want to use the multiplayer weapons (changed of course) in the campaign...i changed the research time to 0 (in research.ufo), moved the entries from weapons_multiplayer.ufo to weapons_human.ufo. that seems to work kind of...but once i change the research value to a positve value, geoscape crashes again.

The geoscape chrash happen in two ways:
a) once i start a new campaign, i build my first base, it is placed, but cant be chosen. Every time i try to pick the base, a new base will be built. (most of the time)
b) geoscape wont appear at all (rare)

Mattn:
sorry, but "geoscape crashes" isn't enough info - there should be console output, we need that.

Destructavator:
What version of the game are you trying to modify?

Edit:  And yes, many of the messages that appear in the console (and log file in your APPDATA path) will give info that will help with where you went wrong - For example, if you incorrectly alter a research .ufo script, the console may give a specific error message that helps determine what happened.

tobbe:

--- Quote from: Mattn on April 11, 2010, 05:20:19 pm ---sorry, but "geoscape crashes" isn't enough info - there should be console output, we need that.

--- End quote ---

well, the problem is that there arent any "real" error messages or obvious console messages...as i wrote: mostly the game wont accept the first base placement...but i will repeat my modding again and will try to access the console...but how do i get to the console??

version: 2.3 r29222

Destructavator:
Please read through the wiki - it describes how to use the console, what commands you can use to test things, and where the log file is saved when/if the program crashes or malfunctions.

Navigation

[0] Message Index

[#] Next page

Go to full version