ZDoom Wiki Thread
- 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
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.
- 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
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?
Re: ZDoom Wiki Thread
Yeah.
A list of all classes can be obtained [wiki=Hierarchical_class_list]here[/wiki].
A list of all classes can be obtained [wiki=Hierarchical_class_list]here[/wiki].
- 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
Okay please do not edit that page or any of the classes pages until I give the word 

- 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
http://zdoom.org/wiki/Classes:ActivatedTimeBomb
Okay tested the first one. Here's what the script does.
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.
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
.
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
If there's no rush I can do it at a later date when I get chance.
Re: ZDoom Wiki Thread
Yeah, there's no rush at all. I'll let you handle it. 

- 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
Haven't forgotten, will get to this as soon as I can.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: ZDoom Wiki Thread
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:
Also, momentum is now more properly referred to as velocity:
Wiki time?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.
Re: ZDoom Wiki Thread
[wiki]A_WeaponBob[/wiki] is done.
- DoomRater
- Posts: 8270
- Joined: Wed Jul 28, 2004 8:21 am
- Preferred Pronouns: He/Him
- Location: WATR HQ
- Contact:
Re: ZDoom Wiki Thread
Ooooooh~ that's a new useful codepointer that fixes a lot of interesting bugs.
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: ZDoom Wiki Thread
Alright, the only major things left are A_SetCrosshair and Gez's PowerInvisibility changes.
Re: ZDoom Wiki Thread
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...
Re: ZDoom Wiki Thread
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.