Basrahs Edge, DC Final

Ask questions, discuss ideas, get answers
Post Reply
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Basrahs Edge, DC Final

Post by [ECG]TheOne »

I've modded a couple of maps for my server. Bocage Day2, and DC First Light so far. I tried to change Basrahs Edge - Control Point Templates, Object Spawn Templates, Object Spawns, I packed the file as _001 and lower case on the server, but it crashes. The first 2 maps mentioned I edited Object Spawn Templates, Object Spawns on Bocage Day2, and Control Points on DC First Light, and they both work fine.
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Basrahs Edge, DC Final

Post by Swaffy »

Make sure you're not compressing the map when you save it.
Compression caused my maps to crash in the past.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Re: Basrahs Edge, DC Final

Post by [ECG]TheOne »

Yeah pretty sure I'm not. I am using Winrfa to pack the level, which I've been using pretty much forever, I don't believe it has an option to compress.
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Basrahs Edge, DC Final

Post by fo0k »

I guess this could be a number of things, most commonly just a typo somewhere.. :/

i guess try each element of your mods, one at a time and see if you are getting crashes or find out whats causing it.

either that of there may be something special about Basrah which I don't know about.. if so I'm sure somebody will mention it.
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Re: Basrahs Edge, DC Final

Post by [ECG]TheOne »

I guess maybe if I cancel the changes to the control points, see if that fixes it. If not I'll cancel changes to the object spawns, elimination I guess.
I'll see how I get on.
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Re: Basrahs Edge, DC Final

Post by [ECG]TheOne »

OK, I think I may have found the issue.
I started from scratch - I added a modded ControlPointTemplates.con - worked OK
I then added a modded ObjectSpawnTemplates.con, firstly with a beginrem and endrem around a spawner I had created, worked fine.
I then removed the beginrem/endrem, and it crashed. This is the spawner text: (Note I had not yet added the file ObjectSpawns.con)
rem
rem *** AAtank ***
rem
objecttemplate.create objectspawner opplighttank
objecttemplate.setobjecttemplate 2
objecttemplate.setobjecttemplate 1 bmp2
objecttemplate.minspawndelay 65
objecttemplate.maxspawndelay 75
objecttemplate.spawndelayatstart 0
objecttemplate.timetolive 45
objecttemplate.distance 40
objecttemplate.damagewhenlost 5
ObjectTemplate.MaxNrOfObjectSpawned 1

Is adding completely new spawner names, that aren't in the original map, something you just can't do in SSM??

OK another edit...
I have renamed the US lighttank to "uslighttank" that works.
The additional bmp2s I want in I have put beginrem and endrem around it for now, but I have renamed it to just "lighttank"....
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Re: Basrahs Edge, DC Final

Post by [ECG]TheOne »

OK, now have this....

Code: Select all

objecttemplate.create objectspawner uslighttank
objecttemplate.setobjecttemplate 2 m2a3
objecttemplate.setobjecttemplate 1 bmp2
objecttemplate.minspawndelay 65
objecttemplate.maxspawndelay 80
objecttemplate.spawndelayatstart 0
objecttemplate.timetolive 45
objecttemplate.distance 40
objecttemplate.damagewhenlost 5
ObjectTemplate.MaxNrOfObjectSpawned 1
^^ works fine...

Code: Select all

objecttemplate.create objectspawner lighttank                    
objecttemplate.setobjecttemplate 2
objecttemplate.setobjecttemplate 1 bmp2
objecttemplate.minspawndelay 65
objecttemplate.maxspawndelay 75                                                 
objecttemplate.spawndelayatstart 0
objecttemplate.timetolive 45
objecttemplate.distance 40
objecttemplate.damagewhenlost 5
ObjectTemplate.MaxNrOfObjectSpawned 1
^^this makes it not work!! :S I don't get it :(
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
[ECG]TheOne
Posts: 19
Joined: Sun Apr 29, 2012 4:30 pm

Re: Basrahs Edge, DC Final

Post by [ECG]TheOne »

Finally I think I have fixed it...
It seems in objectspawns.con - some of the properties for
Object.setTeam and Object.setOSId
were wrong :S

Edit, hmm still crashed when running fullscreen :S
[ECG]TheOne
BF, DC Server -
East Coast Gamers BF and DCF - 82.21.107.243
Post Reply