EDuke32 Scripting "CON coding help"
#1606 Posted 11 March 2015 - 02:03 PM
2. You are on the right track by using the Vaca+ con instead of the original one, because the original used nasty hacks to support v1.3D, which I removed in Vaca+ in the name of modularity. In addition, Vaca+ supported Duke Plus for a time until it added the Super Trooper in a non-modular fashion, so you have a better chance of it working right off the bat.
3. Remove the block Trooper Dan posted from your code; you won't need it. I added it to assist in taking screenshots: "vaca_pose" is a gamevar that is never changed during normal gameplay; I would set it from the console.
4. Be sure you defined all the sounds the beach babe uses. These come in two parts: a "define" for the label, which assigns the sound an ID number, and a "definesound", which gives the sound a file name and a few properties.
5. Be sure all the states that the code calls are included in the cons. For example, I don't see where you included "state stopbeachbabebathersounds".
#1607 Posted 12 March 2015 - 05:29 PM
Attached File(s)
-
eduke32.log (22.36K)
Number of downloads: 834 -
BEACHBAB.CON (6.14K)
Number of downloads: 761
#1608 Posted 12 March 2015 - 11:46 PM
Attached File(s)
-
eduke32.log (4.12K)
Number of downloads: 766 -
GIRLS.CON (209bytes)
Number of downloads: 759
#1609 Posted 20 March 2015 - 06:46 PM
#1610 Posted 20 March 2015 - 11:57 PM
Usually when those errors happen it is the RIGHT bracket that is missing, not the left. The code you have attached looks like it should work. It could be a compiler bug, but, in my experience the cause is usually something that is not being shown. There's a lot of stuff being loaded that you aren't showing us, including your custom def file.
You might want to try typing the girl code into a new CON file, just in case there are hidden characters in your file that are messing with the compiler. I have actually had that issue (long, long ago). While you are at it, replace the defined labels with constants.
#1611 Posted 21 March 2015 - 06:31 PM
I deleted the girls con and made a new one to see if that would help and it's still crying over the brackets when they are clearly there. I even deleted all the duke files and did a fresh install of everything and it still bitches.
#1612 Posted 21 March 2015 - 06:43 PM
1337DirtAlliance, on 21 March 2015 - 06:31 PM, said:
Use just 5225 instead of BEACHBABE1.
#1613 Posted 21 March 2015 - 11:13 PM
#1614 Posted 22 March 2015 - 06:33 AM
1337DirtAlliance, on 21 March 2015 - 11:13 PM, said:
Have you tried using a debug build to see if it gives you more information in the log file when it fails?
#1615 Posted 22 March 2015 - 07:37 AM
Trooper Dan, on 20 March 2015 - 11:57 PM, said:
Speaking of, are these ALL the CON files you are using?
#1616 Posted 22 March 2015 - 08:41 AM
GIRLS.CON compiles fine as a module for me ("-mx GIRLS.CON"). It may really be helpful if we could see all CON files that get translated. From the log, it seems like GAME.CON is the root file for you. I don't understand why the error spam appears long after the script has been compiled. Also, r4410 is somewhat outdated; please try the most recent synthesis build.
#1617 Posted 22 March 2015 - 07:26 PM
Trooper Dan, on 22 March 2015 - 06:33 AM, said:
I have never done that before nor have I ever heard of it.
Fox, on 22 March 2015 - 07:37 AM, said:
[b]Duke3d - Invasion[/b]
DEF.CON
GAME.CON
USER.CON
[b]1337DA[/b]
BEACHBAB.CON
GIRLS.CON
[b]DUKEPLUS[/b]
EDUKE.CON
dpcons
CIVILIANS.CON
DEFSPLUS.CON
DNE.CON
DUKEPLUS.CON
HUDPLUS.CON
LIGHTS.CON
MONSTERPLUS.CON
PLAYERPLUS.CON
USERPLUS.CON
Helixhorned, on 22 March 2015 - 08:41 AM, said:
GIRLS.CON compiles fine as a module for me ("-mx GIRLS.CON"). It may really be helpful if we could see all CON files that get translated. From the log, it seems like GAME.CON is the root file for you. I don't understand why the error spam appears long after the script has been compiled. Also, r4410 is somewhat outdated; please try the most recent synthesis build.
I'll go update that. Ahh theres the debug files I don't have. I'll run those 'n see what happens.
Also I wasn't aware that you need to use the command line to call out con files.
This is my def layout it's a txt because it said i wasn't allowed to upload a def
Attached File(s)
-
1337DA.txt (1.7K)
Number of downloads: 723
This post has been edited by 1337DirtAlliance: 22 March 2015 - 07:32 PM
#1618 Posted 23 March 2015 - 05:23 PM
Attached File(s)
-
eduke32.log (513bytes)
Number of downloads: 793
#1619 Posted 24 March 2015 - 05:23 AM
#1620 Posted 24 March 2015 - 01:30 PM
Attached File(s)
-
eduke32.log (1.71K)
Number of downloads: 763
#1621 Posted 25 March 2015 - 02:26 PM
And that log actually says you don't have palette.dat.
#1623 Posted 25 March 2015 - 07:26 PM
This is with no extra con files and just my own added
#1624 Posted 26 March 2015 - 02:08 PM
And then when I add a include in the game con for my con it wont even launch anymore and says there are errors in game.con and wants to load internals. When I say yes. It says error compiling con. So it looks like this ain't happening for me if my original con is trash right from the cd. I blame dosbox.
Attached File(s)
-
eduke32_FreshInstall.log (1.9K)
Number of downloads: 839 -
eduke32_WithTheIncludeInConAndInShortcut.log (1.54K)
Number of downloads: 845
#1625 Posted 26 March 2015 - 02:16 PM
1337DirtAlliance, on 26 March 2015 - 02:08 PM, said:
True. But it doesn't break the game.
This post has been edited by Fox: 26 March 2015 - 02:18 PM
#1626 Posted 26 March 2015 - 02:16 PM
1337DirtAlliance, on 26 March 2015 - 02:08 PM, said:
The original cons have warnings, yes, but they don't affect the game.
#1628 Posted 26 March 2015 - 03:56 PM
#1629 Posted 26 March 2015 - 04:02 PM
#1630 Posted 26 March 2015 - 04:18 PM
Changing ends to enda and having -ms param and sprite being called by its def name FEM20 fails. Says it's not defined.
#1631 Posted 26 March 2015 - 04:23 PM
I added the beachbab.con into the mx param and it worked but instead of it being the girl I had a still of one my tv's following me.
If I try to use the one Hendricks wrote vbeachbabe.con it:
Including: VBeachBabe.con (6361 bytes)
VBeachBabe.con: In state `BEACHBABESTATE':
VBeachBabe.con:118: error: state `babechecksquished' not found.
VBeachBabe.con:130: error: symbol `vaca_pose' is not a game variable.
VBeachBabe.con:155: error: state `stopbeachbabebathersounds' not found.
VBeachBabe.con:235: error: state `stopbeachbabebathersounds' not found.
VBeachBabe.con:240: error: state `standard_bjibs' not found.
Found 2 warning(s), 5 error(s).
The vanilla con 'beachbab' works but doesn't show the proper tile. Tv following me telling me to watch were I point that thing lololol
This post has been edited by 1337DirtAlliance: 26 March 2015 - 04:48 PM
#1632 Posted 10 April 2015 - 10:40 AM
Nevermind, latest release on the port's webpage fixed the corrupted save game problem and also seems to load my con file again.
This post has been edited by Lava Grunt: 10 April 2015 - 10:47 AM

Help
Duke4.net
DNF #1
Duke 3D #1


