ZDoom Wiki Thread

We sure do have a lot of rules and guidelines threads - find them all here, and please make sure you've read them! Also, community-wide announcements (that aren't major ZDoom News) go here as well.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: ZDoom Wiki Thread

Post by Cutmanmike »

I can give it a whirl tomorrow. Edit one of them and send me the link to the history comparison thingy so I know what I'm doing.
Gez
 
 
Posts: 17942
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: ZDoom Wiki Thread

Post by Cutmanmike »

Okay I think I can do it. I need a list of all the classes that need this though. Is that actor the only one you've done so far?
Gez
 
 
Posts: 17942
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

Yeah.

A list of all classes can be obtained [wiki=Hierarchical_class_list]here[/wiki].
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: ZDoom Wiki Thread

Post by Cutmanmike »

Okay please do not edit that page or any of the classes pages until I give the word :mrgreen:
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: ZDoom Wiki Thread

Post by Cutmanmike »

http://zdoom.org/wiki/Classes:ActivatedTimeBomb

Okay tested the first one. Here's what the script does.
  • In IE7 the cursor starts in the address bar (blank). The app checks the first item of the list (in this case ActivatedTimeBomb) and sticks it in the wiki editing web address and goes to that page.
  • After that it waits a few seconds (to wait for it to load, unfortunately there's no clean way of checking if a page has loaded), hits CTRL + F and searches for "[[Classes]]:".
  • Then it hits escape and the right arrow key to position the cursor after the [[Classes]]: bit. Then it pastes "{{Class|Actor}} →", hits TAB, enters a summary, hits tab again, marks it a minor edit, two more tabs and space to save the article.
  • It then waits until the page is saved before closing the tab in IE7 and then opening a new tab to position the cursor in the address bar ready for the next entry in the list and a loop :).
Here's the code if you're interested, it doesn't loop just yet.

Code: Select all

LineNumber+=1
FileReadLine, WikiPage, actorlist.txt, %LineNumber%
SendInput http://zdoom.org/w/index.php?title=Classes:%WikiPage%&action=edit
Send, {ENTER}
Sleep 10
WinWaitActive, Editing Classes:%WikiPage% - ZDoom Wiki - Windows Internet Explorer
sleep 10
Send, {CTRLDOWN}f{CTRLUP}
sleep 8000
SendInput [[Classes]]:
Send, {ENTER}{ESC}
sleep 5
Send, {RIGHT}
SendInput {{Class|Actor}} →
Send, {TAB} 
SendInput (AUTOMATION) Added "{{Class|Actor}} →"
Send, {TAB}{SPACE}{TAB}{TAB}{SPACE}
WinWaitActive, Classes:%WikiPage% - ZDoom Wiki - Windows Internet Explorer
Send, {CTRLDOWN}wt{CTRLUP}
Sleep 5
Send, {BACKSPACE}
return
A few pointers. I won't be running this because I'm at work and it won't look very good having windows dance about about Doom. You'll need IE7 with tabbed browsing enabled, need to be logged into the wiki ready and just incase, be using the default zdoom wiki theme. If this is all okay I can give you the app ready for execution.

If there's no rush I can do it at a later date when I get chance.
Gez
 
 
Posts: 17942
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

Yeah, there's no rush at all. I'll let you handle it. :)
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: ZDoom Wiki Thread

Post by Cutmanmike »

Haven't forgotten, will get to this as soon as I can.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: ZDoom Wiki Thread

Post by bagheadspidey »

Lots of new action specials got added today: A_ZoomFactor, A_WeaponBob, A_SetAngle, A_SetPitch, A_ScaleVelocity, A_ChangeVelocity.

Also, momentum is now more properly referred to as velocity:
rh_log wrote:Enough with this "momentum" garbage. What Doom calls "momentum" is really velocity, and now it's known as such. The actor variables omx/momy/momz are now known as velx/vely/velz, and the ACS functions GetActorMomX/Y/Z are now known as GetActorVelX/Y/Z. For compatibility, momx/momy/momz will continue to work as aliases from DECORATE. The ACS functions, however, require you to use the new name, since they never saw an official release yet.
Wiki time?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: ZDoom Wiki Thread

Post by HotWax »

[wiki]A_WeaponBob[/wiki] is done.
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Re: ZDoom Wiki Thread

Post by DoomRater »

Ooooooh~ that's a new useful codepointer that fixes a lot of interesting bugs.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: ZDoom Wiki Thread

Post by bagheadspidey »

Alright, the only major things left are A_SetCrosshair and Gez's PowerInvisibility changes.
Gez
 
 
Posts: 17942
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

I've created a bunch of pages for functions that had not been added yet. If people feel like [wiki=Category:Stubs]destubbing those[/wiki]... I'm not sure which category to put [wiki]GetChar[/wiki], [wiki]SetActivator[/wiki] and [wiki]SetActivatorToTarget[/wiki]: they're not actor information, they're not level alteration...
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: ZDoom Wiki Thread

Post by HotWax »

The activator ones I would put until Actor Control or Script Control. What's GetChar do? In any case, it seems like we may want to consider reorganizing the ACS functions page since it has kind of grown unweildy of late.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: ZDoom Wiki Thread

Post by Logan MTM »

MAPINFO

So...?
Post Reply

Return to “Rules and Forum Announcements”