Side scroller movement with ACS

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Okay... I'm almost there... I just had to fix the DECORATE actors' durations. It ALMOST works now... in the sense that it is printing "on the floor" and "in the air" correctly.

But it's not setting the player_isonfloor[] arrays properly either.

Dammit, I swear to God, ACS can really not make any sense at all... >=(

Anyway, I've updated the file above with the fix I mentioned. Now all I need help on is getting it to set the array properly, and I'm good to go!

If anyone else can help me on it, I'd appreciate it, too. ;)
User avatar
Isle
Posts: 687
Joined: Fri Nov 21, 2003 1:30 am
Location: Arizona, USA

Post by Isle »

player_isonfloor[ActivatorTID() - 9] is wrong, 1001 - 9 isnt 0. ActivatorTID() - PLAYER_TID
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Actually, ActivatorTID() would return the TID of the FloorZChecker thing, not the player. Because it is the one that activated the script (called from their Spawn and Death states in DECORATE).
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

HotWax wrote:I would recommend going back to using KEYCONF instead of using a hacky solution which requires capturing player movement.
I wholly agree. That's how I worked out the controls for a certain mod envolving karts.
User avatar
Isle
Posts: 687
Joined: Fri Nov 21, 2003 1:30 am
Location: Arizona, USA

Post by Isle »

oh, i guess the activator for decorate crap stays the projectile. i tried the wad and it seems to work fine
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Isle wrote:oh, i guess the activator for decorate crap stays the projectile. i tried the wad and it seems to work fine
Yes, apparently it does. I must have... done something to it a few hours ago. I was apparently half-asleep again when I was at it.

Odd...
User avatar
Sphagne
Posts: 513
Joined: Wed Jul 16, 2003 3:36 am

Post by Sphagne »

Hey, this is a bit like on old abandoned project of mine: Sample Picture

I started it a few years ago, but because of the limited features of ZDoom on that era, I could not complete it.

It uses my SPZDoom2 resources...
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Well this is actually going to be more than just a Doom sidescroller. I won't release too much info right now but all I can say is... it will have nothing to do with Doom at all.

(omg sekrit lolol)
User avatar
Sphagne
Posts: 513
Joined: Wed Jul 16, 2003 3:36 am

Post by Sphagne »

Heh, good luck with it, I hope to see some great results, soon. :)
Locked

Return to “Editing (Archive)”