URGENT Modding Questions!

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

Ok, forgot the earlier message for now, because I'm experience what is recorded in the logs as this:

--- Starting log ---
error |10:36:56: [resGetDataFromHash] resGetDataFromHash: Unknown ID: d0 Type: IMD
error |10:36:56: [resGetDataFromHash] Assert in Warzone: /Users/dak180/Applications/Build/wz2100/tags/2.3_rc1a/macosx/../lib/framework/frameresource.c:553 (psRes != ((void *)0)), last script event: '<none>'
error |10:36:56: [resGetData] resGetData: Unable to find data for
0 type IMDerror |10:36:56: [resGetData] Assert in Warzone: /Users/dak180/Applications/Build/wz2100/tags/2.3_rc1a/macosx/../lib/framework/frameresource.c:569 (data != ((void *)0)), last script event: '<none>'
error |10:36:56: [loadResearch] Cannot find the research PIE for record Pulse Laser
error |10:36:56: [loadResearch] Assert in Warzone: /Users/dak180/Applications/Build/wz2100/tags/2.3_rc1a/macosx/../src/research.c:428 (0), last script event: '<none>'
error |10:36:56: [resLoadFile] resLoadFile: The load function for resource type "RESCH" failed for file "research.txt"
fatal |10:36:56: [resLoad] Failed to parse wrf/multires.wrf
fatal |10:36:58: [startGameLoop] Shutting down after failure

No matter what I've tried, I cannot play the game! Please, PLEASE can someone help me????
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Modding Questions

Post by Zarel »

Can you paste the relevant lines from weapons.txt, resultcomponent.txt, and research.txt?
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

While some of this may be irrelevant, I thought I'd include it just in case it's related. Anyways, here's some of the text from weapons.txt:

Laser3BEAMMk1,Level Three,150,600,300,1,10,100,GNMRLAS.PIE,TRMLAS.PIE,FXHBLas.PIE,FXLFLSH.PIE,FXFLSHL.PIE,FXFLSHL.PIE,FXFLSHL.PIE,0,1536,1536,80,80,20,1,0,0,80,0,0,0,0,0,0,10,0,3200,20,YES,HEAT,ENERGY,HOMING-DIRECT,ANTI PERSONNEL,180,90,-60,YES,NO,10,0,YES,100,100,0,1,0

Laser2PULSEMk1,Level Three,200,800,500,1,10,180,GNMLAS.PIE,TRMLAS.PIE,FXLasRot.PIE,FXPLAmmo.PIE,FXLENFL.PIE,FXLENFL.PIE,FXMExp.PIE,0,1792,1792,80,80,40,1,0,0,165,0,0,0,0,0,0,10,0,3200,20,YES,HEAT,ENERGY,HOMING-DIRECT,ANTI PERSONNEL,180,90,-60,YES,NO,15,0,YES,100,100,0,1,0

Then here's research.txt:

R-Wpn-Laser01,Level Three,0,0,IMAGE_RES_WEAPONTECH,0,0,RES_W_LAS1,0,Laser3BEAMMk1,WEAPON,14400,1,2,0,0,0,0,0,3

R-Wpn-Laser02,Level Three,0,0,IMAGE_RES_WEAPONTECH,0,0,RES_W_LAS2,0,Laser2PULSEMk1,WEAPON,28800,1,1,0,0,0,0,2,2

And here's from resultcomponent.txt:

R-Wpn-Laser02,Laser2PULSEMk1,WEAPON,Laser3BEAMMk1,WEAPON,10

R-Wpn-Laser01,Laser3BEAMMk1,WEAPON,0,0,10

I hope this helps, please tell me if you need more information ASAP
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

I don't want to be bothersome, but I really would like to be able to play again, so if someone could please help me figure out what I did wrong soon, I'd be extremely appreciative.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Modding Questions

Post by Zarel »

Vecmoroc wrote:I don't want to be bothersome, but I really would like to be able to play again, so if someone could please help me figure out what I did wrong soon, I'd be extremely appreciative.
You should keep two installs, so when one of them is broken, you can still play on the other. :P Go do that now.

I'm afraid I can't tell what's wrong with your mod at the moment.
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

Well, I didn't figure out the problem, but I managed to successfully get the non-breaking changes I made to the broken one to a stable one, so that problem is fixed! :).
By the way, sorry if I seemed grumpy earlier, but I was worried that I wouldn't be able to fix this, or that it would take far longer than it did, but now that I'm able to still play with the changes I'm good.

However, I do still have yet another question, even if it's not urgent. Simply, I noticed that there were line of hover, hover02, hover03, etc. Since this was already there, and since Naval didn't have 2 and 3 versions, I thought I'd try to add them, but whenever I did, I got this message in the logs:

--- Starting log ---
fatal |10:02:02: [loadBodyPropulsionIMDs] Invalid propulsion name Naval

I don't know whether you could explain to me what I may have done wrong, because I think it would be neat to add a Naval02 and Naval03, so long as I can do it without causing problems. Mind, this isn't a major problem, although if you could reply when you can, I'd again appreciate it.

Also, if I could get a response to my question regarding the error message I was asking about before the game breaking thing came up, that'd be nice as well.

Just in case, I'll list that particular log here:

--- Starting log ---
error |09:35:27: [checkResearchStats] checkResearchStats: Invalid Comp Result for topic R-Wpn-WraithLaser
error |09:35:27: [checkResearchStats] Assert in Warzone: /Users/dak180/Applications/Build/wz2100/tags/2.3_rc1a/macosx/../src/research.c:2772 (asResearch[resInc].pArtefactResults[inc] != ((void *)0)), last script event: 'N/A'
error |09:35:27: [checkResearchStats] checkResearchStats: Invalid Comp Result for topic R-Wpn-WraithLaser
error |09:35:27: [checkResearchStats] Assert in Warzone: /Users/dak180/Applications/Build/wz2100/tags/2.3_rc1a/macosx/../src/research.c:2772 (asResearch[resInc].pArtefactResults[inc] != ((void *)0)), last script event: 'N/A'
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

While I don't want to keep people from other important things, I could still use some help here. If anyone could help me out, that'd certainly be nice.
Raem_Lylar
Trained
Trained
Posts: 151
Joined: 22 Jul 2008, 17:44

Re: Modding Questions

Post by Raem_Lylar »

Vecmoroc wrote:While I don't want to keep people from other important things, I could still use some help here. If anyone could help me out, that'd certainly be nice.
If you dont mind, post the entire mod, or... i think you can PM it to me, never tried... :wink:
Main: Arithyce
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

It's not a specific mod I'm using, I've just been editing the text in the stats folder files
Raem_Lylar
Trained
Trained
Posts: 151
Joined: 22 Jul 2008, 17:44

Re: Modding Questions

Post by Raem_Lylar »

Make sure there is a blank line at the end of all files.
Main: Arithyce
Vecmoroc
Trained
Trained
Posts: 44
Joined: 15 Feb 2010, 22:05

Re: Modding Questions

Post by Vecmoroc »

I have been doing that as well
Raem_Lylar
Trained
Trained
Posts: 151
Joined: 22 Jul 2008, 17:44

Re: Modding Questions

Post by Raem_Lylar »

Then it realy is an invalid component. You have to make sure that the resulting components name/id matches what the name/id of the component is in weapons.txt, body.txt, propulsion.txt etc...

Also make sure that there are no spaces at the end of any of the lines.
That's realy all i know... sometimes warzone is just a pita for no reason at all, in those situations, re-download everything.
Main: Arithyce
User avatar
Rusya
Greenhorn
Posts: 8
Joined: 09 Dec 2009, 08:59
Location: Russia, Irkutsk
Contact:

Re: Modding Questions

Post by Rusya »

Hi everyone! I have modding\editing question too...

The goal is - I want to make sensor turret (Uplink Center, which reveals all map then placed) like cheated thing. I want it to have range (for artillery turrets and artillery units) not 2304 like now, but something about 12800 or even more.

I'll try to explain - imagine that you have only ONE sensor, that Uplink Center. And right after that moment your artillery begans firing at everything in THEIR range, just like if you have placed sensor towers everywhere on map.

Uplink Center is ultimate sensor, right? :)

I tried to change file stats/sensor.txt in that line:
UplinkSensor,Level All,1,1,1,1,1,200,miupdish.PIE,TRLSNSR1.PIE,2304,TURRET,SUPER,0,1000,0

As I understood, 2304 is range for artillery assigned. I change it to 23040, but nothing changed in the game... Artillery fires as before. Can someone help? What is wrong in my line?

And I'd appreciate if you explain meanings of ALL numbers in that lines - there is no such information in Wiki.
Sorry for my bad English - I have not practiced very long NEVER :)
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Modding Questions

Post by KukY »

Rusya wrote:As I understood, 2304 is range for artillery assigned. I change it to 23040, but nothing changed in the game... Artillery fires as before. Can someone help? What is wrong in my line?
I did that in my tries of doing that: And I failed too. Maybe hardcoded limitations?
And I'd appreciate if you explain meanings of ALL numbers in that lines - there is no such information in Wiki.
There is: http://developer.wz2100.net/wiki/TxtEditing#sensors.txt
User avatar
Rusya
Greenhorn
Posts: 8
Joined: 09 Dec 2009, 08:59
Location: Russia, Irkutsk
Contact:

Re: Modding Questions

Post by Rusya »

I did that in my tries of doing that: And I failed too. Maybe hardcoded limitations?
Maybe so, let's wait that developers think :) I hope they are reading this topic?
THANKS A LOT!!!
But, there is something not correct in that Wiki section, no? 3rd position "build power - price of sensor", and in that line

Code: Select all

UplinkSensor,Level All,1,1,1,1,1,200,miupdish.PIE,TRLSNSR1.PIE,2304,TURRET,SUPER,0,1000,0
3rd position is "1" - can it be price of Uplink? Off course not. Price is something about 1000 - and that is 15st position in Wiki-sensors part.

Developers, please comment that! I'm counting on you :)
Sorry for my bad English - I have not practiced very long NEVER :)
Post Reply