Powerball mod & custom maps


(Ramm) #1

It’s pretty much in the title. Does anyone know how you can make custom maps for the powerball mod? What triggers / entities / scripts do I have to make?


(carnage) #2

they are not much more complex than standard ET ones. i think that there is a source map included with the mod, if not then god knows how i got it

if not then you probably want to try contact the forum user LANZ


(Lanz) #3

Yes, if I remember right, the .map files are included in one of the pk3’s. If not download one of the older version of the mod they should be in one of those versions at least. There’s nothing to it to make a map for the mod anyway you need a special trigger for the goals and the powerball entity. No additional scripts needed if you want a simple standard map.

I’m not sitting at my home pc at the moment so I can’t help you any further at the moment.


(carnage) #4

the only other difference in can think of that you also have an additional clip that clips only the ball this is quite useful for stopping the ball getting to unreachable places


(Ramm) #5

Thanks for the replies. I managed to get the ball into the game, but when I ‘score’, he doesn’t do anything. This is what I did

I made a trigger ‘trigger_objective_info’ around the goal (model included with powerball)
> target: goal_allied_marker
> targetname: allied_goal
> spwawnflags: 19

Then I made a ‘misc_commandmap_marker’
> targetname: goal_allied_marker

nothing happens when I pass the ball through… any thoughts anyone?


(.Chris.) #6

Ramm for the ball to be ‘captured’ you need to use trigger_ballonly_multiple in same way you would use a trigger_flagonly_multiple for documents and gold objectives on your goal model where the see through effect is, there should be a .def file that came with the mod put this in your etmain/scripts forlder or set up radiant to work for the mod powerball/domination (depends what version) I cant remember how to set it up for mods but it’s on forums somewhere.

Also you need to do short script for the map, examples in the mod’s .pk3s


(eiM) #7

ehm is this mod still alive? can’t find a homepage or sth similar^^


(Ramm) #8

I allready had a look at that .def, and this is what’s in it:


/*QUAKED team_powerball (1 0 0) (-8 -8 -8) (8 8 8)
-------- KEYS --------
"scriptname"	name used for scripting purposes
-------- SPAWNFLAGS --------
(none)
-------- NOTES --------
Used in the Power Ball mod
*/

/*QUAKED trigger_ballonly_multiple (.5 .5 .5) ? AXIS_GOAL ALLIED_GOAL
-------- KEYS --------
"scriptName"	The object name in the script file
-------- SPAWNFLAGS --------
AXIS_GOAL only trigger if allied player is trying to make a goal
ALLIED_GOAL only trigger if axis player is trying to make a goal
-------- NOTES --------
Player must be on the right team and have the powerball it to trigger.
It will call the "death" function in the object's script.
*/

And this is what’s in a .script file of a map:


game_manager
{
	spawn
	{
		// Set scenario information

		wm_axis_respawntime		10
		wm_allied_respawntime		10
		wm_set_round_timelimit		15
		wm_number_of_objectives		3

		wm_setwinner -1
	}
}

So there’s no special scripting (unless I’m missing something)


(Lanz) #9

Correct, no special scripts needed. But you can still use a script with the same trigger events like an et red/blue flag for the powerball if you want to do something extra.


(Ramm) #10

Correct, no special scripts needed. But you can still use a script with the same trigger events like an et red/blue flag for the powerball if you want to do something extra.[/quote]
Hey Lanz,

First of all: nice mod, I really like it. I’ve build a stadium and it’s just what I needed.

However, I just can’t get it to work. He shows the ball, I can pick it up etc… but I can’t score. What do I have to do to the goals so that I can score?

How do I have to create the “trigger_ballonly_multiple”?

/edit
Never mind, I figured it out. Thanks everyone for the help!


(eiM) #11

i still would appreciate if someone could give me a link to the homepage of the mod :slight_smile:


(Lanz) #12

It’s been gone for quite a while. A friend of mine who hosted the site decided one day to delete everything without backing upp the files.


(Ramm) #13

It’s been gone for quite a while. A friend of mine who hosted the site decided one day to delete everything without backing upp the files.[/quote]
If you would somehow still have the files on your hard drive, I can host it for you if you want… No problem (ASP-host, no PHP)


(g-ram) #14

hey ramm, nice name (lol). would you mind telling me how you created the trigger_ballonly_multiple?


(macbeth) #15

will try to reinstall this mod on one of our other servers
if it is fine will give you the ip if u need to use it