B&BMapping Designs

Mapping & Modding seit 2005
Medal of Honor · Battlefield · bbmd.de

Forum · Medal of Honor

demo scripting

Archiv. Das Forum ist seit Dezember 2019 geschlossen. Antworten sind nicht mehr möglich.

TsuNami21. Dezember 2009bearbeitet 21. Dezember 2009

hi all.

sorry but my german isn't that perfect.

i'm from belgium and i run a demo server
( sniper only & all weapons server )

for the demo i've made a christmas theme but for some reason
it doesnt work.

tryed it in the map.scr and even made a scr.file for the global map.

in a private server it works but when i upload it in the server it doesnt work.

the map is malta and the theme is quit simple, is the demo so hard to script or am i over looking something.

but no luck , can some one help me out here.

BTW Cubus nice Omaha snow map.

PS: i'm only scripting for 6 months or so, so i'm a bit of a noob here


:-)

cubus21. Dezember 2009bearbeitet 21. Dezember 2009

hi tsunami,
nice to see you here on BBMD and read your post........

hm... let me see what we can do

but first some questions.

1.) is this for a spearhead or a breakthrough-server?
i really dont know very much this released demos, but i guess... it was for spearhead

2.) i see there 3 moddifications....
- snow falling down
- a banner with "happy 2010" over the bridge
- some kind of lightdots on the balustrade

is that right?

3.) this mod is running on a private server... means..... moddification runs on your local-mashine well?

4.) then you put this mod. script and all the other stuff - f.E. textures, shaders, other files - in a valid pk3 in right folder-stucture?
give the pk3 a name like "zzz_my_modd.pk3".... for example, restart the server?

anyway i am not sure about the fact, that a demo accept modded files.... but you wrote something about a weapon-mod. if this work, it might be possible.
one more question. weapon-mod means, that you dissable the "granatwerfer" on both sides too?

btw....... moddifications like yours are not really "noobs job"..... you are a little genius ... i guess :-)

lol ... nice idea to let it snow in malta. in reality i guess, the people from malta didnt see snow for the last 1000 years.

p.s.: my english is also not the best one...... :atomrofl

TsuNami21. Dezember 2009

hi cubus thx for the quick reply here:hurra

1st question : yes it's for spearhead demo.

2nd question : yes it only works on my machine.

3th question : this is what i used for the lights.

local.fix1 = spawn script_model
local.fix1 model "static/corona_reg.tik"
local.fix1.origin = ( 838 2538 -972 )
local.fix1.scale = 0.5

there is no banner. i dont know how to make it, like i said i only started scripting 6 months a go.

i did learn it myself by reading the forums at modtheather. so i tryed to make the best of it.

the weapons are sniper rifles only.

i installed a teleport in the map and that works , but i dont see any lights.

i will send you the script file on your email so you can see what i have done here :coolman

cubus21. Dezember 2009bearbeitet 21. Dezember 2009

so, all this little spots are spawned static/corona_reg's ?........... holly shit, lot of work... :-o :-)

and excelent... too...

i guess, if you load this demo-files on your server, this static/corona_reg.tik maybe missed....
i dont know, if you have to install also the standard pk3 from AA or SH, if not this might be the source of error...

try to pack/uoload also the needed corona-files from sh-packeges

thats only a thinking.......... not sure. i have to search on my old mashine for this demo-files... and verivy this idea....

edit:
okay, i found this demo-files. as far as i see, one file isnt packed in this demo.... "unitsquare.skc" is missed....

search for this file in AA-pk3's.. must be located in folder models/fx/unitsquare

thats just a thought.....

TsuNami21. Dezember 2009

quote: so, all this little spots are spawned static/corona_reg's ?........... holly shit, lot of work...
and excelent... too...

yep 364 corona's. and lots of work.

will try to upload the corona_reg files , but where do i place them in the server? in what map or pak file.

or should i make them a pk3 file???

i also added the corona in the DMprecache.scr , so the game will find it aswell.

i will try that and will let you know if it works or not.

thx a lot again:hurra

TsuNami21. Dezember 2009

this is what i found.

TsuNami21. Dezember 2009

cubus21. Dezember 2009bearbeitet 21. Dezember 2009

best thing might be to pack all needed stuff in one extra-pk3

modded mapscript "MP_Stadt_DM.scr" in folder maps/dm

this missed "unitsquare.skc" in folder "models/fx/unitsquare"

and i think, this needed snow-textures are also not packed in demo-files. so search in AA for snow1.tga - snow12.tga in folder textures/weather.

pack them also in your new pk3, folder-path like above

edit:

this missed "unitsquare.skc" in folder "models/fx/unitsquare"
find this file in pak1.pk3

TsuNami21. Dezember 2009

cubus21. Dezember 2009bearbeitet 22. Dezember 2009

dammed copy/paste function....... sorry dude... my mistake.......

modded mapscript "MP_Stadt_DM.scr" in folder maps/dm

modded mapscript "mp_malta_dm.scr" in folder maps/dm... this is the right name for mapscript

edit:
and i mean all "12" snow-textures........

TsuNami22. Dezember 2009

ok it works :hurra

but now i have all weapons at the start up.

once after beeing killed i get the sniper rifle. so have to delete the all weapons.

server IP is 69.28.221.160 check it out:atomrofl

cubus22. Dezember 2009bearbeitet 22. Dezember 2009

Does it work? amazing .... I had not expected so........... but thats a good news

:freude

in case of weapon-mod...... maybe a conflict between new and old mapscript?

TsuNami23. Dezember 2009

ok cubus. i'm very happy that it works , but i've tryed every thing to delete those
all weapons .
this demo is a snipers only mod. and with all weapons my members wont be to happy
with it.

so if you have a idea it's welcome.:hurra

STORMnl25. Dezember 2009

setze mal fur alle wafen in der dein waffen folder,,, //

aber nicht bei der sniper,,
versuche es mal

cubus26. Dezember 2009

@ tsunami

I like to repeat:
Before you have the xmas-mod uploaded, the weapons-mod worked perfectly,
now does the xmas-mod, but the weapons-mod has a malfunction

I conclude from this, that the two additional pk3 files on the server leading to a conflict.
Please send both pk3-files to my email address, you'll find on the TEAM side.
I will watch them, may I can find something.

TsuNami26. Dezember 2009

ok thx guys for the help again.

got the weapons working , but now the snow doesnt work.

the only one that works is the nightweather.scr

all the rest works , the corona lights working the teleport is working now the sniper mod is back on.

all is working ecsept for the snow.

when i go in a private game it works but once uploaded in
the server it doesnt work anymore.

BTW ; stormNL you can talk dutch to me i'm from belgium.
and all our admins are dutch :)

TsuNami26. Dezember 2009

ok cubus i can send you a email.

mails are coming back to me

cubus27. Dezember 2009bearbeitet 27. Dezember 2009
:hm

check IM

TsuNami27. Dezember 2009bearbeitet 27. Dezember 2009

tryed it and i dont know what to do in the IM ??

it's all in german , i dont understand it.

cubus27. Dezember 2009

i send you two different optional-emailadresses for me, but i saw now, that you didnt open/read my message..

i dont like to show this adresses here in forum, to much spam might be the result

anyway, for downloading this files, i have to register?

TsuNami27. Dezember 2009

ok i activated your account cubus , you can download the pk3 file

cubus27. Dezember 2009

okay, i get it.. i will search for errors.........

first thing i saw, that you have 2 map-scripts.. one in base-directory, second in maps/dm-folder. this one will be read and hnadled by game... but not the first one.... i think, you put it here to deactivate it... right?

stay tuned.....

TsuNami28. Dezember 2009bearbeitet 28. Dezember 2009

no the one in base directory is more of a backup.

you can delete it if you want to

cubus28. Dezember 2009

tsunami..
i check this files and get surprised. you changed

static/corona_reg.tik

into

static/corona_orange.tik

right?

anyway, one file is still missing ...... this "unitsquare.skc"
this must be stored in folder models/fx/unitsquare
i dont not why, but ea didnt pack it in the demo-archives.... you will find this file in pak1.pk3 in your main-directory....
copy it and store it in your mod-pk3..... folder "models/fx/unitsquare"

this "unitsquare.skc" is needed in every corona, you will try....
i guess, if you run this demo on your private computer, the main-directory from allied-assault is scaned, so the file is avaiable... but not on a demo-server...

unfortunally i am not a expert in server-stuff... its just a idea

cubus28. Dezember 2009bearbeitet 28. Dezember 2009

okay, i add this file and send it the complette pk3 to you.. check your email........

hope it works fine for you

TsuNami28. Dezember 2009bearbeitet 28. Dezember 2009

ok thx a lot cubus

your help means a lot to me.

yes i did remove some of the script lights cause it was to

laggy. so the banner is gone.

will try the file later on as soon the server is empty

and i'm still waithing lol , popular server i gess.

thx anyway

OK uploaded it on the server.

all works fine cubus , but no snow storm???

i have the weapons the lights the sound , teleport.

but no snow storm

A happy newyear to you:hurra

cubus28. Dezember 2009

Original geschrieben von TsuNami

OK uploaded it on the server.

all works fine cubus , but no snow storm???

i have the weapons the lights the sound , teleport.

but no snow storm

A happy newyear to you:hurra

no snow-storm........ a storm i didnt saw there.. more slowly snow falling down from heaven... you mean this?

if no snow is visible.. hm ????
there are so many external scripts included ....... its hard to follow every script-line and search for there threads. i guess, some parts of your moddification base on AA/SH scripts... which not supported/avaiable in this demo.....

TsuNami28. Dezember 2009

could i rewright the Dmprecache.file and add the line.

exe global/snow.scr or some other line ???

cubus28. Dezember 2009

no, this dont make any sence