Cacodemon
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 > [Unsolved] Trying to increase maxseedist (A_LookEx) on a friendly marine, not working
 
Author
All times are GMT. The time now is 13:06. Post New Thread    Post A Reply
MALON
Green Marine


Posts: 33
Registered: 05-06


code:
actor MyMarine : MarineChaingun { Speed 0 +ALWAYSFAST +INVULNERABLE +FRIENDLY -SOLID +FLOAT +NOGRAVITY +MISSILEMORE +MISSILEEVENMORE +QUICKTORETALIATE +DROPOFF +STANDSTILL States { Spawn: PLAY A 1 A_LookEx(0, 0, 0, 0, 360, "Missile") Loop Idle: PLAY A 1 A_LookEx(0, 0, 0, 0, 360, "Missile") Loop See: PLAY A 1 A_LookEx(0, 0, 0, 0, 360, "Missile") Loop Missile: Missile.Chaingun: PLAY F 1 Bright A_CustomBulletAttack(0, 0, 1, 5000, "MarinePuff", 8192.0) Goto Idle } } actor MarinePuff : BulletPuff { DamageType "MarineFire" }


The important part is
code:
A_LookEx(0, 0, 0, 0, 360, "Missile")


According to the wiki (http://zdoom.org/wiki/A_LookEx), setting the third parameter to zero should have unlimited sight distance. He never seems to check more than about 256 map units away. Any ideas?

User Demolisher on the ZDoom forums also had the same question go unanswered:
http://forum.zdoom.org/viewtopic.ph...t=27460#p524814

Last edited by MALON on 12-15-13 at 03:56

Old Post 12-15-13 01:15 #
MALON is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
plums
Senior Member


Posts: 2011
Registered: 08-13


Does A_Look behave the same way? Could you use it instead, perhaps in combination with +LOOKALLAROUND?
What happens if you just give a really large number for maxseedist?

Old Post 12-15-13 04:05 #
plums is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
MALON
Green Marine


Posts: 33
Registered: 05-06



plums said:
Does A_Look behave the same way? Could you use it instead, perhaps in combination with +LOOKALLAROUND?
What happens if you just give a really large number for maxseedist?



A_Look doesn't have any way to change view distance as far as I'm aware.

Putting large numbers (I tried 8192) has no effect. It appears to be stuck at 256 map units for a max distance. It does go lower, though. The number 1024 seems to be equal to 256 map units. If I do 512, he can see about 128 map units.

I've also tried MaxTargetDistance and MinMissileChance to no avail.

Last edited by MALON on 12-15-13 at 04:14

Old Post 12-15-13 04:09 #
MALON is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:06. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > [Unsolved] Trying to increase maxseedist (A_LookEx) on a friendly marine, not working

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.