3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Updating
[Re: Sanctioner]
#79888
07/07/06 05:17
07/07/06 05:17
|
Joined: Mar 2003
Posts: 3,010 analysis paralysis
NITRO777
Expert
|
Expert
Joined: Mar 2003
Posts: 3,010
analysis paralysis
|
This is the same thing I was telling jcl about in the other thread, when beginners update the tech demo doesnt work anymore. I will attempt to help you get this code up to date(and for anyone else reading this thread in the future) Quote:
<create(<strall.pcx>,MY_.X,strall_fligt)> tlight.wdl 251:0 Error(269): Syntax error- <create(<gelb.pcx>,MY_POS.gelb_fligt)> tlight.wdl 400:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 485:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 488:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 492:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 496:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 499:0 Error(269): Syntax error- <create(<elf.mdl>,temp,my_Elf)> tlight.wdl 502:0 Error(269): Syntax error- <play_entsound(my,sndRoomPTorn0,1000_> tpart.wdl 361:0 Error(0): Bad or missing parameter unknown function <play_entsound(my,sndRoomPTorn0,1000_> tpart.wdl 387:0 Error(0): Bad or missing parameter unknown function <play_loop(my,sndRoomPRain1,10_> tpart.wdl 492:0 Error(0): Bad or missing parameter unknown function <tune_sound(hndRoomPSound1,iRoomPSndVol1,0> tpart.wdl 514:0 Error(0): Bad or missing parameter unknown function <play_sound(sndRoomPRain2,100> tpart.wdl 553:0 Error(0): Bad or missing parameter unknown function <play_sound(sndRoomPRain2,100> tpart.wdl 718:0 Error(0): Bad or missing parameter unknown function <)> tpart.wdl 719:0 Error(96): Syntax error - nonexistent/empty function blitzen_sound <create(<fisch1.mdl>,temp,roomW_myFish)> twater.wdl 387: Error(269): Syntax error <create(<fisch1.mdl>,temp,roomW_myFish)> twater.wdl 390: Error(269): Syntax error <create(<fisch1.mdl>,temp,roomW_myFish)> twater.wdl 394: Error(269): Syntax error <create(<fisch1.mdl>,temp,roomW_myFish)> twater.wdl 398: Error(269): Syntax error <create(<fisch1.mdl>,temp,roomW_myFish)> twater.wdl 401: Error(269): Syntax error < creat(fisch2.mdl>,temp,roomW_myPredatorFish)> twater.wdl 404:0 Error(269): Syntax error – < create(<pistol.mdl>,rr_weaponPos,roomR_gunPistol)> trange.wdl 91:0 Error(269): Syntax error – < create(<mgun.mdl>,rr_temp_offset,roomR_gunSMG)> trange.wdl 93:0 Error(269): Syntax error – < create(<launch.mdl>,rr_temp_offset,roomR_gunRifle)> trange.wdl 95:0 Error(269): Syntax error – < create(paperHole_map,MY SKILL10,roomR_targerHole)> trange.wdl 430:0 Error(58): Parameter unknown pbulhol Keyword < create(ipaperHole_map,MY .SKILL10,roomR_targetHole)> trange.wdl 582:0 Error(58): Parameter unknown ipbulhol Keyword
First, all these "create" commands were changed to ent_create in the updated edition, so everywhere you have "create" above, you need to change to "ent_create". Just leave the parameters in the following parentheses alone, those shouldnt need to be changed. This in itself should clear up all the "create" syntax errors.
Quote:
<play_entsound(my,sndRoomPTorn0,1000_> tpart.wdl 361:0 Error(0): Bad or missing parameter unknown function <play_entsound(my,sndRoomPTorn0,1000_> tpart.wdl 387:0 Error(0): Bad or missing parameter unknown function
Quote:
<play_loop(my,sndRoomPRain1,10_> tpart.wdl 492:0 Error(0): Bad or missing parameter unknown function
Quote:
<play_loop(my,sndRoomPRain1,10_> tpart.wdl 492:0 Error(0): Bad or missing parameter unknown function <tune_sound(hndRoomPSound1,iRoomPSndVol1,0> tpart.wdl 514:0 Error(0): Bad or missing parameter unknown function
These sound based errors are also because of updated syntax conflicts. The new commands use media_play and media_loop which you can look in the manual under c-script->tricks and traps -> old syntax. There you can try to compare the old syntax with the new, if you have a c-like programmer in your team he should be able to make sense of the differences in parameters. However it is stupid becuase its difficult for beginners to try to decipher which functions and parameters were meant to be called by the original techdemo developers.
All the rest of the errors pertain to other chnages in syntax from one edition upgrade to the next, and I would really need to be looking directly at the scripts to fix it. But the first thing you need to do is change all your "create" commands to "ent_create" 
Last edited by NITRO; 07/07/06 05:33.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|