Page 1 of 1

Scripts In Multiplayer

Posted: Fri Dec 08, 2006 3:14 pm
by Dark_Floodz_One
How can i place scripts into the map coagulation? I can't get it to work properly using entity.
and i can't find any tutorials either.

thanks

Posted: Fri Dec 08, 2006 4:53 pm
by JK-47
Correct me if I'm wrong but aren't scripts not allowed?

Posted: Fri Dec 08, 2006 7:38 pm
by a mammoth
JK-47 wrote:Correct me if I'm wrong but aren't scripts not allowed?
YOU"RE WRONG YOU FAIL!!!! I don't even know what you mean, but you're still wrong.

Anyways first you gave to add the script reflexives with entity. Then rename the script name using a hex editor. then write you script with the entity script compiler and it should compile successfully.

Posted: Fri Dec 08, 2006 9:28 pm
by Dark_Floodz_One
You mean the reflexives Scripts, and Script Data?
Thats what i did before, only i didnt change the script names with a hex editor, so when i tried to edit the scripts they were all wonky...
im gonna search for info on hex editing the names of scripts.
thanks a bunch

Edit: I cant find anything on editing script names with hex, so im going to experiment. :)

Posted: Sat Dec 09, 2006 10:58 am
by a mammoth
all you have to do is search for the name of the script that you want to change in a hex editor, then change it.

Posted: Sat Dec 09, 2006 5:05 pm
by Dark_Floodz_One
oh! haha i feel like such a newb now
lol
my bad

Posted: Sun Dec 10, 2006 5:27 pm
by Dark_Floodz_One
ok so i opened the map in hex workshop and changed the name of the script from mission_main to mission_test
and when i open the script in the program Script Tools
it has this

(script startup mission_test <UNKNOWN:0, >
)

and if i try to change it and save it, it freezes, and if i try to view it in the constructor it freezes too. did i do something wrong?

EDIT: sorry for the double post...

But i figured out that the map zanzibar has alot of scripts on it already and doesnt use any of them. so i used entity's script compiler and put a no gravity script into the map. it works awesome :)