adding landing pad lights on a skirmish map

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

comming right up
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

http://i.imgur.com/Kn5oT.png

here you go: left is what i done to piestats.wrf and the right is the most recent log :D
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

carbon dude oxide wrote:http://i.imgur.com/Kn5oT.png

here you go: left is what i done to piestats.wrf and the right is the most recent log :D
ive just realised that that log is not for the error i am having today :/
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

Why don't you post the .wz file you are loading and/or at least paste the whole log here? :augh:
Why convert text to a picture and then attach the picture to the forum? :augh:
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

im sorry :augh: here, take it! and the money too :P
You do not have the required permissions to view the files attached to this post.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

Testbase.pie != Testpad.pie
Also this file can't work; you don't need to pack the testmods directory itself but only its contents.
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

thanks alot ^.^ i shall try it now
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

yay more errors :D

i changed the name on piestats.wrf to Testbase and now this has come up:

Image
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

Not sure about this particular error, but i also noticed that you're not loading your png texture in vidmem.wrf. Also it needs to have a page number in its name, like other textures.
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

ah i see i shall give that a go :) il report back with the results :D
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

(i can't really run the game right now, just blindly pointing out possible issues; a complete wzlog should be better than screenshots anyway)
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

which log file should i get for you?

also i have added the wrf file and i am still having the problem

here is my most updated version of it:
You do not have the required permissions to view the files attached to this post.
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

i found the right log file ^.^
--- Starting log [C:\Users\carbondudeoxide\Documents\Warzone 2100 3.1\logs\WZlog-0905_155910.txt]---
info |03:59:10: [realmain:1128] Using C:\Users\carbondudeoxide\Documents\Warzone 2100 3.1\logs\WZlog-0905_155910.txt debug file
info |03:59:14: [loadMapPreview:456] Loading map preview: "Sk-Rush" builtin t2
last message repeated 2 times
error |03:59:22: [loadStructureStats:504] Line 153, column 1 "PAD": Expected one of
info |03:59:22: [resLoadFile:476] The load function for resource type "SSTRUCT" failed for file "structures.txt"
info |03:59:22: [resLoadFile:476] Assert in Warzone: frameresource.cpp:476 (false), last script event: '<none>'
fatal |03:59:22: [resLoad:130] Failed to parse wrf/limiter_data.wrf
info |03:59:23: [startMultiplayerGame:3255] Unable to load limiter_data.
error |03:59:30: [loadStructureStats:504] Line 153, column 1 "PAD": Expected one of
info |03:59:30: [resLoadFile:476] The load function for resource type "SSTRUCT" failed for file "structures.txt"
info |03:59:30: [resLoadFile:476] Assert in Warzone: frameresource.cpp:476 (false), last script event: '<none>'
fatal |03:59:30: [resLoad:130] Failed to parse wrf/stats.wrf
error |03:59:30: [levLoadData:777] Failed resLoad(wrf/stats.wrf)!
fatal |03:59:30: [startGameLoop:766] Shutting down after failure
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: adding landing pad lights on a skirmish map

Post by NoQ »

1. you added more textures for some wheels, they need to be put to vidmem.wrf too.
2. you need to adjust vidmem2.wrf and vidmem3.wrf as well, they are loaded depending on the map tileset.
3. you still didn't fix the archive: it shouldn't contain the testmods folder, but only its contents; but i guess you are not uploading the file you make your game load but some different file :augh:
4. there is no such structure type as "PAD", only a little set of values are possible in this field. You probably meant "REARM PAD".
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: adding landing pad lights on a skirmish map

Post by carbon dude oxide »

i uploaded the folder that was in the mods/autoload folder, i should have copied what's inside onto it ^.^

the wheel mod has been working fine without any changes to the vidmem.wrf file so yea :D

i just changed to rearm pad and no error untill it tried to build it, im unsure why it crashed but here is the log for it:

Code: Select all

-------------------

Error occured on Wednesday, September 5, 2012 at 17:19:24.

Program: C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe(warzone2100)
Command line: "C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe" 
Version: Version SDL-3.1 rc2 (modified locally) - Built Aug 21 2012
Distributor: wz2100.net
Compiled on: Aug 21 2012 00:36:26
Compiled by: GCC 4.7.0
Compiled mode: Release build
Executed on: Wed Sep 05 17:18:19 2012

Pointers: 32bit

Compiled against PhysicsFS version: 2.0.2
Running with PhysicsFS version: 2.0.2

Misc Data:
[17:18:19]mod: testmods
[17:18:22]Video Mode 1920 x 1080 (fullscreen)
[17:18:22]OpenGL Vendor: NVIDIA Corporation
[17:18:22]OpenGL Renderer: GeForce GTX 670M/PCIe/SSE2
[17:18:22]OpenGL Version: 4.2.0
[17:18:22]GLEW Version: 1.7.0
[17:18:22]OpenGL GLSL Version : 4.20 NVIDIA via Cg compiler
[17:18:22]OpenAL Device Name: DirectSound Default
[17:18:22]OpenAL Vendor: OpenAL Community
[17:18:22]OpenAL Version: 1.1 ALSOFT 1.13
[17:18:22]OpenAL Renderer: OpenAL Soft
[17:18:22]OpenAL Extensions: AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data AL_SOFT_loop_points
[17:18:22]Using Backend: SDL
[17:18:22]Using language: System locale
[17:18:31]mod: testmods
[17:18:31]mod: testmods
[17:18:31]mod: testmods
[17:18:31]mod: testmods
[17:18:38]Current Level/map is Sk-Rush
[17:18:57]User has used cheat code: give all


C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe caused an Access Violation at location 00548c34 in module C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe Reading from location 00000000.

Log message: info    |05:18:19: [realmain:1128] Using C:\Users\carbondudeoxide\Documents\Warzone 2100 3.1\logs\WZlog-0905_171819.txt debug file
Log message: info    |05:18:24: [loadMapPreview:456] Loading map preview: "Sk-Rush" builtin t2
Log message: last message repeated 2 times

Registers:
eax=00000000 ebx=00000013 ecx=762fadf9 edx=00000000 esi=00000000 edi=00000000
eip=00548c34 esp=0028f2c0 ebp=1354ed88 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210246

Call stack:
00548C34  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:00548C34  buildStructureDir  /wz2100/warzone2100-3.1_rc2/src/structure.cpp:2047
00A4E517  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:00A4E517  SDL_SoftStretch
00A4E673  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:00A4E673  SDL_SoftStretch
00A4F942  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:00A4F942  SDL_SoftStretch
0043FA88  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:0043FA88  droidUpdate  /wz2100/warzone2100-3.1_rc2/src/droid.cpp:779
0049CAEE  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:0049CAEE  gameLoop  /wz2100/warzone2100-3.1_rc2/src/loop.cpp:508
0049E3F5  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:0049E3F5  mainLoop  /wz2100/warzone2100-3.1_rc2/src/main.cpp:888
005D4175  C:\Program Files (x86)\Warzone 2100-3.1_rc2\warzone2100.exe:005D4175  wzMain3  /wz2100/warzone2100-3.1_rc2/lib/sdl/main_sdl.cpp:1258