Home : Downloads : Forums : Contact Us Copyright

AMC Web Forums

  • November 18, 2019, 11:28:54 AM *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 9 10 [11]

Author Topic: IS IT POSSIBLE?  (Read 77752 times)

M210

  • Member
  • Offline Offline
  • Posts: 35
    • ICQ Messenger - 488444216
    • View Profile
    • WWW
Re: IS IT POSSIBLE?
« Reply #150 on: May 16, 2009, 05:16:20 PM »
How to get ID of enemy which was hit by a specific projectile?
Logged

Eddy Zykov

  • Member
  • Offline Offline
  • Posts: 783
  • Too much vodka.
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #151 on: May 31, 2009, 01:45:34 AM »
Hello guys. Just wondering, it is possible to make Stayput code for Useractor Notenemy? I tryed one from eduke 32 wiki, but this code works only for Useractor enemys.
Logged

James

  • Administrator
  • Member
  • Offline Offline
  • Posts: 13880
    • MSN Messenger - Jstanf36@ntlworld.com
    • View Profile
    • WWW
    • Email
Re: IS IT POSSIBLE?
« Reply #152 on: May 31, 2009, 03:58:49 PM »
Hello guys. Just wondering, it is possible to make Stayput code for Useractor Notenemy? I tryed one from eduke 32 wiki, but this code works only for Useractor enemys.
Get the actor's sector and position into variables when it activates, then keep checking them - if the sector number's different then stop the actor from moving or change it's direction so it goes another way.
Logged

Gambini

  • Member
  • Offline Offline
  • Posts: 3320
  • The madness never had a mentor
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #153 on: September 21, 2009, 06:53:10 AM »
How i could be sure that after being shrinked the player dies? I want to make the player impossible to advance through the level if he is hit by a shrinker blast, i can put steps, yeah, but i would prefer to make him die if itīs possible.
Logged

Fox

  • Member
  • Offline Offline
  • Posts: 664
  • Pig-in-a-Dress
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #154 on: September 21, 2009, 07:52:39 AM »
I am not sure if I understand, you mean the player being killed instantly, just like a normal weapon? Setting SHRINKER_WEAPON_STRENGTH to 1000 can to that (doesn't works for all enemies, they may be shrunk before, and die after).
Logged

Gambini

  • Member
  • Offline Offline
  • Posts: 3320
  • The madness never had a mentor
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #155 on: September 21, 2009, 08:57:18 AM »
No, i was asking for some map trick, putting something capable to kill the player when he is shrunk.

DT also suggested me to use lasers instead shrinker rays but i want it to be shrinkers.

Thanks anyway  -_-
Logged

Forge

  • AMC TC beta testers
  • Member
  • Offline Offline
  • Posts: 795
    • View Profile
Re: IS IT POSSIBLE?
« Reply #156 on: September 21, 2009, 09:14:06 AM »
No, i was asking for some map trick, putting something capable to kill the player when he is shrunk.

DT also suggested me to use lasers instead shrinker rays but i want it to be shrinkers.

Thanks anyway  -_-

If it's a specific indoor area of the map try layering the ceiling with sprites. The player get killed when resizing back to normal under a sprite.
Logged

Gambini

  • Member
  • Offline Offline
  • Posts: 3320
  • The madness never had a mentor
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #157 on: September 22, 2009, 06:02:39 AM »
Doesnt seem to work
Logged

Forge

  • AMC TC beta testers
  • Member
  • Offline Offline
  • Posts: 795
    • View Profile
Re: IS IT POSSIBLE?
« Reply #158 on: September 22, 2009, 06:58:08 PM »
Doesnt seem to work

Worked for me, and not intentionally. Sprite #123 kept killing me every time I un-shrunk under it while testing out my map. (floor at -2048, ceiling at -22528)
Logged

Trooper Dan

  • Mario Nukem Team
  • Member
  • Offline Offline
  • Posts: 4243
  • EDuke32 Special Forces -- Code Ops
    • MSN Messenger - deeper-thought@hotmail.com
    • View Profile
    • Email
Re: IS IT POSSIBLE?
« Reply #159 on: September 22, 2009, 10:34:37 PM »
If you think your solution can work for him, how about posting a little sample map to demonstrate?
Logged
"Democracy never lasts long. It soon wastes, exhausts and murders itself. There was never a democracy that did not commit suicide." John Adams


Fissile Materials

Forge

  • AMC TC beta testers
  • Member
  • Offline Offline
  • Posts: 795
    • View Profile
Re: IS IT POSSIBLE?
« Reply #160 on: September 23, 2009, 07:35:05 AM »
I think a more effective and efficient way to do it is to check out Frode's Nostromo map http://dukerepository.com/maps/Nostromo. Specifically the floor.
When a protector drone shrinks Duke, Duke falls through the floor's grating and then can't get back up through it. Just make the floor in a similar fashion and make the gap between the grating and the under passage too small for Duke to regain normal size after unshrinking.
Logged
Pages: 1 ... 9 10 [11]
 

(C) 2009, Alejandro Glavic. http://www.amcwebforums.com Go top