Finally, the scripting fault?


(abina999) #1

I sended my ready map to my friend, my map was working perfectly on my computer, but my friend started it and any of objectives, any construction’s didnt work with his computer? How this possible? What should I do? to get objectives and other constructions to work without my computer? Is there some file missing in .pk3? How my ET can load some file in my computer from different location than .pk3?


(Boosted) #2

start it with sv_pure 1.
then it will use only pk3 files.


(abina999) #3

It did work on my computer still, so might it be a problem with my friends computer only ?


(Avoc) #4

are you sure that you included your .script file in the .pk3?

Here are a couple of things that might have caused the problem:

  1. No .script file in your .pk3, make sure that the .script file is in the “yourmapname/map/”

  2. The script file is not the same name as the .bsp file

  3. Something is wrong with the .script file itself

  4. You forgot to add the the /script/script_multiplayer entity in your map.

Hope it helps


(abina999) #5

What’s the multiplayer_entity thing ?
Is there someplace where I can get goldrush multiplayer_entity file ?
I think that’s the reason coz I have .script file in .pk3/map/
.Bsp and .script file has same name
I dont know about script file itself :-/


(Avoc) #6

right-click on the overview in radiant, and go down to “script” and find the “multiplayer_script” entity. You don’t need to write anything in it, you just need to have it placed in your map. ONLY 1 IS NEEDED!


(Flippy) #7

No dude that’s totally wrong!

First of all the entity is called “script_multiplayer”.
Second, you do need to type anything in it, you need to give it a ‘key’ of “scriptname” with a ‘value’ of “game_manager”.
Lastly, the map wouldn’t have worked for him either without it…


(abina999) #8

So… Do I need to do that or… ? And I didnt found that thing yet… :?


(Avoc) #9

I bow down to your superior knowledge on the subject.


(abina999) #10

Ok, now he can repair the tank :? He did not change anything, it just came repairable :shock: But, now he cant pick up gold bars :? I dont know what to do… everything is working perfectly on me still… :?


(S14Y3R) #11

This may be a stupid question, but did you name your version something other than goldrush.bsp?

If you named it the same, every mod shader/et_pro.script would be messing with it.


(abina999) #12

Yes, I did change it to Cobrarush.bsp, and script is Cobrarush.script, command map is Cobrarush_cc.tga etc… Everything is Cobrarush.something, even the .pk3 file, and will that make the map work only on my computer :shock: And my friend did /g_gametype 2 and /map Cobrarush on console… Same did I… I have checked the script, arena, sounds and sps with ultra edit, I didnt find anything odd from there… Also I have checked the whole map with radiant… Or may this fault become from that I only compiled it with BSP - meta ? :shock: