Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > ScoreDoom and custom content problem
 
Author
All times are GMT. The time now is 02:25. Post New Thread    Post A Reply
Mr. Chris
The term is "prehensile"


Posts: 3663
Registered: 07-02


With the recent switch to the 97c source code, I presumed my custom PK3 containing many of Realm667's monsters in it but when I try running the game with it, it spits out a script error on one of the monsters.

code:
Script error, "Decorate/Squire.txt" line 38: Expected ',', got ')'.


Line 38 points to this:

code:
BOS6 G 7 A_CustomMissile("SquireShot")


I am baffled because in the new version of Skulltag and versions prior to it, I do not get the above script error and loads normally.

What gives?

PS: How does ScoreDoom track custom monster's points when killed/infighting/etc?

Old Post 04-19-10 20:32 #
Mr. Chris is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
kristus
Megablast!


Posts: 9683
Registered: 07-00


97c uses a version of Zdoom that is about 3 years old, if not older.

Old Post 04-19-10 20:42 #
kristus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Agent-H
Banned


Posts: 63
Registered: 04-10


I have an idea, rename ".pk3" to ".zip", extract the files. If there is a wad file containing the DECORATE, fix the line yourself using XWE. If it is a notepad file, edit it yourself.

(preferably change it to: A_CustomMissile ("SquireShot", X, X) the x's being a variable.) This is happening because sometimes missileheight is used as a property and older or newer versions may not recognize that, they would want you to put it in the command.

Then just zip it back up and rename to ".pk3" and play. It should work now.

(Yes I am such a zdoom nerd i can fix problems without seeing them firsthand.)

Old Post 04-19-10 20:56 #
Agent-H is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


I don't think ScoreDoom got downgraded.

However, the fact that this function got default parameters must be a relatively recent change, apparently. The current definition of the function (in zdoom.pk3:actors/actor.txt) is this:

action native A_CustomMissile(class<Actor> missiletype, float spawnheight = 32, int spawnofs_xy = 0, float angle = 0, int flags = 0, float pitch = 0);


If the codebase in ScoreDoom is recent enough to support default parameter, you could edit that directly. Otherwise, just copy the default height, ofsxy and angle values in your squire actor and any other with the same issue:
code:
BOS6 G 7 A_CustomMissile("SquireShot", 32, 0, 0)

Old Post 04-19-10 20:58 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Agent-H
Banned


Posts: 63
Registered: 04-10



Gez said:
...Otherwise, just copy the default height, ofsxy and angle values in your squire actor and any other with the same issue:
code:
BOS6 G 7 A_CustomMissile("SquireShot", 32, 0, 0)



...Which is pretty much what I just stated.

Old Post 04-19-10 21:05 #
Agent-H is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Mr. Chris
The term is "prehensile"


Posts: 3663
Registered: 07-02


I fixed another script problem and it's complaining there are more than one actor defined under the same name (Two NailBorgBomb entries due to using both Nailborgs from R667)

Ugh..

I also noticed that I am not seeing the "ouchface" when taking 20 or more damage, nor do I see the X/Y billboard option for sprites...I swore 97c had those things..

Last edited by Mr. Chris on 04-19-10 at 23:34

Old Post 04-19-10 23:14 #
Mr. Chris is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
BilboHicks
Member


Posts: 482
Registered: 11-07



Mr. Chris said:
I fixed another script problem and it's complaining there are more than one actor defined under the same name (Two NailBorgBomb entries due to using both Nailborgs from R667)

Ugh..

I also noticed that I am not seeing the "ouchface" when taking 20 or more damage, nor do I see the X/Y billboard option for sprites...I swore 97c had those things..



When I started working on SD, I dove in head-first, so a lot of the add-on pack ACTOR references I should of differentiated with a 'SD' appendix of something. ... which would of allowed modders like yourself to more easily include content, but due to stupidity, I didnt foresee this.
I never got around to cleaning this up. So you are experiencing DECORATE clashes when using your wad with the add-on pack wad.
Hopefully it wouldn't require too much editing to incorporate your mod.

Last edited by BilboHicks on 04-20-10 at 00:44

Old Post 04-20-10 00:37 #
BilboHicks is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Mr. Chris
The term is "prehensile"


Posts: 3663
Registered: 07-02


I am not loading any of the addon content since it contains MANY monsters that I have in this PK3 of mine, if this clears a bit up for you.

Why does the executable still say "GZDoom" under "Description? Did I even download the proper file?

EDIT: Crap, I downloaded ScoreDoom 2.8v2r3c instead of the file on top..haha I'm such a dope sometimes.

EDIT #2: Still happens (The conflicts via my PK3)

Last edited by Mr. Chris on 04-20-10 at 04:59

Old Post 04-20-10 04:40 #
Mr. Chris is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7046
Registered: 07-07


You have to edit your pack to solve the conflict. If both nailborgbombs are identical, simply delete one of the two. If they have differences, rename one and edit the corresponding nailborg.

Although recent versions of ZDoom will accept to load this pack, you'll still get warnings.

Old Post 04-20-10 05:30 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 02:25. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > ScoreDoom and custom content problem

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory