Scripting with documents and bombs
Posted: Wed Apr 09, 2003 6:12 pm
I saw the tut on these and had some questions so i have been talking to the creator of the tuts personally. He asked me to post a few questions i had along with the responses for others to see to help others who may have the same questions.
Bjarne, i cannot thank you enough for making such an easy to follow tut for us new guys trying to learn. For anyone learning to script bombs i HIGHLY recommend using his tut's( they are both in the MP tut section)
Bjarne BZR wrote:Q: I used your tut perfectly when making a control panel. When i tried using the flak model it didn't work. Will the tut work when using just the flak cannon model or do you have to create an obj from brushes each time? I tried the tut and it wouldn't let me set the bomb.
A: There should be no difference... the undestroyed flak should have targetname = exploder instead of the panel.
But if you cant set the bomb there is probably someting wrong in the exploder setup ( such as wrong value of the bombs $trigger_name ). Write logfile 1 ( to start a new logfile ) or logfile 2 ( to keep writing in the old one ) on the consol, to get a text file in main that will contain any errors...
Bjarne BZR wrote:Q:When scripting more than one document to steal do each need a specific name? (ie desk/wall)
A:Each document objective must have a unique targetname, and the same goes for the triggers.
Bjarne, i cannot thank you enough for making such an easy to follow tut for us new guys trying to learn. For anyone learning to script bombs i HIGHLY recommend using his tut's( they are both in the MP tut section)