project-navigation
Personal tools

Author Topic: Help with the modding  (Read 13562 times)

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Help with the modding
« on: April 27, 2016, 02:08:14 am »
Hi.

I'm trying to remove the laser weapons from my mod, but, it doesn't works. I removed all laser weapons and D-F cartridges from "research.ufo" files, except base defense and laser cannon. I modified the equipement.ufo files removing all laser weapons.

The games launch, but when i select a campaing, the intro is skipped to the geoscape and i can't build my first base.

What i need to change?

Thanks for the help.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help with the modding
« Reply #1 on: April 27, 2016, 05:11:19 pm »
Hi.

I'm trying to remove the laser weapons from my mod, but, it doesn't works. I removed all laser weapons and D-F cartridges from "research.ufo" files, except base defense and laser cannon. I modified the equipement.ufo files removing all laser weapons.

The games launch, but when i select a campaing, the intro is skipped to the geoscape and i can't build my first base.

What i need to change?

Thanks for the help.

Check the console log, there must be some error message...

-geever

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #2 on: April 28, 2016, 03:04:27 am »
I don't remember the key that open the console. Can you refresh me please?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help with the modding
« Reply #3 on: April 28, 2016, 07:04:28 pm »
I don't remember the key that open the console. Can you refresh me please?

Shift+ESC

-geever

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #4 on: April 30, 2016, 06:38:52 am »
Thanks geever

Some additional questions:

1. Where can i change the radar coverage of base instalations?
2. Which software can i use to mod an alien armour graphics? I want to do a new one.
3. Which software can i use to mod a weapon? I want to do a new smg clip, an encased plasma round. In fact, i do it, but i need a pic for the clip with the blue line.

Thanks

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help with the modding
« Reply #5 on: April 30, 2016, 12:31:51 pm »
1. Where can i change the radar coverage of base instalations?

I'm afraid that can only be changed in the source code yet.

2. Which software can i use to mod an alien armour graphics? I want to do a new one.
3. Which software can i use to mod a weapon? I want to do a new smg clip, an encased plasma round. In fact, i do it, but i need a pic for the clip with the blue line.

Models (shape, animation) can be modified in 3D _Modeller softwares, like Blender or 3D Studio Max. Textures can be modified using image editors like Gimp and Photoshop.


-geever

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #6 on: April 30, 2016, 08:17:28 pm »
Thanks.

I have another problem. I made a tech for laser weapons that works like the "Encased Plasma Rounds" - weapons clips. When i research EPR, i got automaticaly the EP rounds. I tried to do the same but with laser weapons; i do a "Hand Laser Weapons" tech, so, when i finish the research, automatically gives the laser pistol, rifle and heavy laser. The problem is that doesn't works, the wepons research options are there.

How can i do this works? i want all laser weapons available from one single tech.

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #7 on: April 30, 2016, 08:51:25 pm »
Forget it. I tried with a new game and the mod is working well.

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #8 on: May 01, 2016, 06:14:10 pm »
It's possible to mod the health growth? I don't want my soldier's health increase, because it reduce the difficulty. If i can't stop the growth, at least, i want reduce it's speed. How can i do that? It's hardcoded?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help with the modding
« Reply #9 on: May 02, 2016, 06:20:28 pm »
It's possible to mod the health growth? I don't want my soldier's health increase, because it reduce the difficulty. If i can't stop the growth, at least, i want reduce it's speed. How can i do that? It's hardcoded?

The ability increase is yet programmed in C++, sorry.

-geever

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #10 on: May 12, 2016, 12:20:42 am »
Since some time, there is many UFOs spawning. I can't advance more than one day without a massive ufo spawn. It's possible to reduce the ufo flights frecuency? It's very hard to play every crash land, althougth I ever try to shoot them over the sea. There's many of them and auto play kills many of my soldiers.

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #11 on: May 18, 2016, 03:12:10 am »
Hi.

I was modding my game when suddenly it crash. I return to the original 0ufos.pk but the crash continues.

This is the console message:

Error: Invalid aircraft size given for 'craft_drop_raptor'


Please, help.

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #12 on: May 18, 2016, 04:10:58 am »
When I talk about "console", i refers to Linux console, not ufoai console.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help with the modding
« Reply #13 on: May 18, 2016, 09:56:49 pm »
I was modding my game when suddenly it crash. I return to the original 0ufos.pk but the crash continues.

Error: Invalid aircraft size given for 'craft_drop_raptor'

Check the "game directories", probably you left in a .ufo file (or its backup) that contains the offending entry. The game merges the configs in a way that an additional entry can override the originals.

-geever

Offline cevaralien

  • Rookie
  • ***
  • Posts: 85
    • View Profile
Re: Help with the modding
« Reply #14 on: May 21, 2016, 12:58:25 am »
I checked the .ufoai folder and /base folder (linux). I erased all config files and... nothing.

------

New:

I moved the ufo.pk3 mod files to a new folder and... it works!!! Just like you said, geever, the games merges the configs. It's strange to me, because i changed the name of my mods .pk3 files.

So, for anyone; don't mix the mod .pk3 files on the same folder.

« Last Edit: May 21, 2016, 01:02:04 am by cevaralien »