Doom Marine
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 > Doom Editing > Learning ACS
 
Author
All times are GMT. The time now is 12:40. Post New Thread    Post A Reply
General Rainbow Bacon
may have been DoomHero85 at some point


Posts: 1781
Registered: 01-10


I would like to learn ACS, but there is a lot on the zdoom forum. Where should I start? Also, in some of the tutorials there are thingnames like "T_SHOTGUY" where can I find the thingnames that DB2 recognizes?

Old Post 02-13-10 00:40 #
General Rainbow Bacon 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: 6457
Registered: 07-07


DB2 doesn't know anything about ACS. It doesn't recognize any name. It just lets you type text in something, and then send that something to ACC.

These names are actually constants declared in zdefs.acs. Keep in mind that the latest version of the .acs files can be downloaded from DRD Team.

A full list of constants for the spawn numbers can of course be found on the ZDoom wiki; and in addition, each actor page shows this information, when relevant, in the actor's header. For example, look at the shotgun guy.

As for ACS itself, you should find everything you need to know here.

Old Post 02-13-10 01:17 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
General Rainbow Bacon
may have been DoomHero85 at some point


Posts: 1781
Registered: 01-10


What if I want to spawn in one of the decorate monsters that I am using. How do I define them?

Old Post 02-13-10 01:45 #
General Rainbow Bacon 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: 6457
Registered: 07-07


It pays to read the sites behind the links...

Note that new actors need not be assigned a spawn number to spawn them from an ACS script. Nearly every spawn function that takes a SpawnID has an equivalent function that uses the actor's name directly instead. This allows for the creation and usage of more than 255 actors without the possibility of conflicting SpawnIDs.


Anyway, if you really want to define a spawnid, you do it with the spawnid property.

Old Post 02-13-10 01:51 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
General Rainbow Bacon
may have been DoomHero85 at some point


Posts: 1781
Registered: 01-10


Alright. Also, I want to put the double chainsaw in a level, but i guess it works a little differently than adding a monster because I keep getting errors when I try to load the level. Like "Error expected "{" but got ":" instead, or "doublechainsaw needs to be defined as a weapon for some property". It shows up in decorate, but I can't get the map to load because of these errors

Old Post 02-13-10 02:05 #
General Rainbow Bacon is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
magicsofa
Senior Member


Posts: 1379
Registered: 04-03


There are decorate examples for weapons and adding new ones. Find them.

Your first error was just a punctuation problem.

Old Post 02-14-10 22:22 #
magicsofa 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: 6457
Registered: 07-07


Why don't you post your code? We can't tell you more than the error messages themselves if you don't.

Old Post 02-14-10 23:11 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 12:40. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Learning ACS

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