Hit a player - White cross

Discuss all aspects related to modding Zandronum here.
Post Reply
HellVenge
New User
Posts: 8
Joined: Fri Nov 15, 2013 10:02 pm

Hit a player - White cross

#1

Post by HellVenge » Sat Dec 07, 2013 10:42 am

Hey there, well, first I'm sorry if a thread about this is already up but I don't really know from where I would start searching since I don't really know the name of this action.

Alright so I've been working hard on HvR lately and I would like to add the White Cross when you hit a player: Image http://prntscr.com/29bn6v

I'd be very very thankful if someone can help me ^^

Thanks :3

[EDIT]

Contact me on IRC "HellVenge" or add my skype: xxacid_snakexx
Last edited by HellVenge on Sat Dec 07, 2013 10:58 am, edited 1 time in total.

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Hit a player - White cross

#2

Post by -Jes- » Sat Dec 07, 2013 10:53 am

Well, RGA does it by making the bullet puff/projectile give the shooter a 'hit' custominventory when hitting an actor (puff: spawn/hit crash/nonhit, projectile: XDeath/hit, Death/nonhit), which in turn calls a script that displays the Cross as a font via hudmessage.
Last edited by -Jes- on Sat Dec 07, 2013 10:56 am, edited 1 time in total.

HellVenge
New User
Posts: 8
Joined: Fri Nov 15, 2013 10:02 pm

RE: Hit a player - White cross

#3

Post by HellVenge » Sat Dec 07, 2013 11:01 am

So its an executable script from the bulletpoof? Then what about the railgun? it hasn't got really a bulletpoof

- ADDED Contact on prev message -
Last edited by HellVenge on Sat Dec 07, 2013 11:01 am, edited 1 time in total.

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Hit a player - White cross

#4

Post by -Jes- » Sat Dec 07, 2013 11:07 am

HellVenge wrote: So its an executable script from the bulletpoof?
No, it's an executable script from an item given to the firing person BY the bulletpuff (it's spelled puff, get used to it.)
HellVenge wrote:Then what about the railgun? it hasn't got really a bulletpoof
ZDooM Wiki, anno 2009 wrote:A_RailAttack (int damage [, int spawnofs_horz [, bool useammo [, color ringcolor [, color corecolor [, bool silent [, int maxdiff [, str pufftype]]]]]]])

HellVenge
New User
Posts: 8
Joined: Fri Nov 15, 2013 10:02 pm

RE: Hit a player - White cross

#5

Post by HellVenge » Sat Dec 07, 2013 11:35 am

Well I'm pretty stupid at this kind of coding / scripting so i don't even know from where to start xD

Mr.Man
Forum Regular
Posts: 657
Joined: Thu May 09, 2013 7:25 pm

RE: Hit a player - White cross

#6

Post by Mr.Man » Sat Dec 07, 2013 11:52 am

Chubzdoomer uses it in his call of dooty part 3. He doesnt use sideway lines, but vertica and horizontal ones. You could look that up.

Post Reply