Spontaneous renewed creation of Projectile System

You can submit your maps here. Both finished and unfinished submissions are welcome.
Finished maps:
• Submitting your own map(s):
One map per topic please! (Or we will have a hard time finding out which comment is for which map)
You can leave your Username@Realm so people can contact you in game. (eg.: 3ICE@USEast, 3ICE@Northrend)
Write a description and don't forget to post some screenshots. (Images and videos are worth a thousand words)
• Submitting a map not made by you:
Do not claim it as yours. We'll find it out (sooner or later) anyway.
Ask the maker to submit it himself is possible.
Or at least let the maker know that his map has a topic here, so he can benefit from your comments and bug reports. (Or request the thread be deleted for whatever reason*.)

Unfinished maps:
You are welcome to post your unfinished maps here and ask for help.
We will look at the map and tell you whats wrong with it or how to continue editing it.

Projects:
Important/cool maps and big projects will have their own forum category inside. (Like the 3ICE's Maze Designer category)

Spontaneous renewed creation of Projectile System

New postby samtre on Sat Mar 05, 2011 9:45 am

Ok, I guess i was long gone from this place for a long time.... suddenly I got bored and started working on maps again.
When I ran through a couple of them and the best maps used the suckish projectile system i invented. I went for a nap and woke up having a strange weird thing going on my head about collisions and stuff.... So i went on created a better projectile system, with the following included:
- projectile collision (projectiles will collide with each other)
- much more compact (i guess)
- moving/non-moving projectiles collision
- all made in GUI (as usual i still suck at JASS)

all this took me 4 hours....
here's a demo map, I don't feel like posting the original here yet cause i need to fix more stuff but I could give if you'd ask.

p.s. my old projectile system map crashed along with my latest Slide&Die (October 2010) map for still unknown reasons

[A] hotkey for casting projectiles, [Z] for creating a shield barrier, [X] for placing walls.

damage was not implemented as im kinda feeling lazy.....

Changelog:
Spoiler:
v1.0
- added 3 new elements (frost, lightning, earth)


non protected version is v1.01, you can take a look at it and tell me whatever I can improve on.
Attachments
ertmasPSv1.01.w3x
not protected, you can take a look at the system
(34.47 KiB) Downloaded 320 times
Projectile_System_v1.0_ertmas.w3x
demo protected version, im sure 3ICE you can still find a way to open it.
(20.08 KiB) Downloaded 310 times
Last edited by samtre on Sun Mar 06, 2011 1:43 am, edited 3 times in total.
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Spontaneous renewed creation of Projectile System

New postby 3ICE on Sat Mar 05, 2011 10:01 am

Yep, you could protect it better. Tutorial: http://3ice.hu/blog/protect-warcraft-maps/

All your trigger names and variables are exposed in the map script:
Code: Select all
integer array projectile_ability
integer array projectile_ability_nomove
integer array projectile_type
integer array projectile_type_nomove
integer temp_ability_cast
point array ppoint
point temppoint_groupcreate
point temppoint_target
point temppoint_unit
real array projectile_damage
real array projectile_modifier_damage
real array projectile_modifier_speed
real expirationtimer_standard
real projectile_maxreach
real projectile_range_hit
real temp_angle
region array temp_Region
unit array projectile_temp
unit array P_Hero
unitgroup array projectile_group

triggers:
Melee_Initialization
projectile
projectile_group_kickunit
projectile_target_check
projectile_targetGroup_check
projectile_create_STANDARD
projectile_movement_with_move_collision
projectile_create_STANDARD_nomove
projectile_move_with_nomove_collision

The reason why some maps stopped working is patch 1.24, where Blizzard removed some trigger functions.

EDIT: Another person had this problem, he claimed that the optimizer broke their warcraft. I have no idea how that is possible and he didn't share any details beyond "Help I can't open warcraft!"...

EDIT2: The map refuses to open...

EDIT3: Never mind, it was just the long name. Works fine after I renamed it to "ps.w3x".
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: Spontaneous renewed creation of Projectile System

New postby samtre on Sat Mar 05, 2011 10:03 am

i used VexOp 4.9 to protect it then suddenly after posting this I can't find the map in WC3

i think this happened to most of my maps

EDIT:
COOL!!!! renaming it short actually does work...... (wth-ing inside)
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Spontaneous renewed creation of Projectile System

New postby 3ICE on Sat Mar 05, 2011 10:09 am

Maybe you had the same issue as me? (Too long name) EDIT: This is a well-known issue I have documented many times over the years.

The fire projectiles don't seem to be colliding properly when fired at an angle to each other.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: Spontaneous renewed creation of Projectile System

New postby samtre on Sat Mar 05, 2011 10:11 am

I placed the radius for collision to 75 (real), maybe I should set it to 50?
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Spontaneous renewed creation of Projectile System

New postby 3ICE on Sat Mar 05, 2011 10:12 am

If you lower that radius it will be even less likely that projectiles collide.

EDIT: Fire projectile collides with fire shield, but not with electricity barrier. (Tooltip says it blocks "all" projectiles.)
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: Spontaneous renewed creation of Projectile System

New postby samtre on Sat Mar 05, 2011 10:14 am

it actually collides with each other, the player color just have to be different.
friendly fire is bad..... use red to shoot a projectile at a blue and the blue to shoot the red, let the projectiles collide with each other.
shields do not collide with each other.... sadly im having a headache

EDIT: testsubject actually meant testsubject, I don't expect the shield to have a different model, the shield is based on the projectile system, just with the projectiles not moving. so the shield isn't a projectile, just based as one.
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Spontaneous renewed creation of Projectile System

New postby 3ICE on Sat Mar 05, 2011 10:17 am

Oh. Didn't think about that. I do like my friendly fire. Or at least eating friendly bullets.

And the fire colliding works fine now, I probably timed it wrong the first time.
TheyCollideNow.jpg
TheyCollideNow.jpg (90.35 KiB) Viewed 4115 times
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: Spontaneous renewed creation of Projectile System

New postby samtre on Sat Mar 05, 2011 10:19 am

you edited that pic? oO
and is that half of a chicken being killed?
samtre
 
Posts: 82
Joined: Thu Nov 27, 2008 6:43 am

Re: Spontaneous renewed creation of Projectile System

New postby 3ICE on Sat Mar 05, 2011 10:22 am

No, I just took a screenshot and removed the UI.
I have 300 APM, like the pros. Thats how I can shoot projectiles so fast.

And those are just flags. No chicken was harmed during the making of that picture. :)

EDIT: Added "I do like my friendly fire. Or at least eating friendly bullets." to a post above.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE


Return to Map Vault



Who is online

Users browsing this forum: No registered users and 3 guests

cron