Realm Wars Question
by Alexander Porter · in General Discussion · 03/20/2002 (10:05 pm) · 9 replies
A) What does one need to do to run a server with a new map for other peeps to play on?
B) Are maps still server side if you dont edit the terrain?
B) Are maps still server side if you dont edit the terrain?
#2
03/20/2002 (11:34 pm)
yeah i modified my game today. bouncy as heck projectiles w/ blue explosions. more to be done later. whats w/ the blue shield on the players btw?
#3
Ive completely forgotten how I used to do it, so I did it the old fashioned halflife way (created it in theplayer) but it gives an error due to the way these things are initialised.
I'll be putting up a version of RW tonight thats got team based gameplay called "Capture the Tower". It allows you to join a team and fight for control of 5 towers. Its got a few other little surprises, but you'll have to wait and see.
Phil.
03/21/2002 (12:55 am)
Gary, what code did you use to spawn the weapon in hand?Ive completely forgotten how I used to do it, so I did it the old fashioned halflife way (created it in theplayer) but it gives an error due to the way these things are initialised.
I'll be putting up a version of RW tonight thats got team based gameplay called "Capture the Tower". It allows you to join a team and fight for control of 5 towers. Its got a few other little surprises, but you'll have to wait and see.
Phil.
#4
function GameConnection::createPlayer(%this, %spawnPoint)
It should be around line 275.
Add the following at the end of the function:
%player.setInventory(Crossbow,1);
%player.setInventory(CrossbowAmmo,20);
%player.use(Crossbow);
And that should do it.
03/21/2002 (2:16 am)
Look in game.cs, find:function GameConnection::createPlayer(%this, %spawnPoint)
It should be around line 275.
Add the following at the end of the function:
%player.setInventory(Crossbow,1);
%player.setInventory(CrossbowAmmo,20);
%player.use(Crossbow);
And that should do it.
#5
03/21/2002 (6:31 am)
Told ya, Phil. ;-)
#6
%this.setControlObject(%player);
//ace
%weapon = new Item()
{
// Let this point to the type of weapon
// (Rifle and Crossbow being the defalt)
dataBlock = Crossbow;
};
%ammo = new Item()
{
dataBlock = CrossbowAmmo;
};
MissionCleanup.add(%weapon);
MissionCleanup.add(%ammo);
%player.pickup(%weapon, 1);
%player.pickup(%ammo, 1);
//endace
}
[edit]
heres what i use in my shortcut for running it dedicated:
F:\torque\example\torqueDemo.exe -dedicated -mission rw/data/missions/stronghold.mis
(course i moved the whole shabang to my torque directory)[/edit]
03/21/2002 (7:16 am)
i used what i found on the forums ,,,in game.cs about line 301%this.setControlObject(%player);
//ace
%weapon = new Item()
{
// Let this point to the type of weapon
// (Rifle and Crossbow being the defalt)
dataBlock = Crossbow;
};
%ammo = new Item()
{
dataBlock = CrossbowAmmo;
};
MissionCleanup.add(%weapon);
MissionCleanup.add(%ammo);
%player.pickup(%weapon, 1);
%player.pickup(%ammo, 1);
//endace
}
[edit]
heres what i use in my shortcut for running it dedicated:
F:\torque\example\torqueDemo.exe -dedicated -mission rw/data/missions/stronghold.mis
(course i moved the whole shabang to my torque directory)[/edit]
#7
hahaha.. I like the first one better.
I'm sure I tried pickup. Maybe it was onPickup i tried. stupid scripts.
Phil.
03/21/2002 (11:13 am)
Bugger, well, my method was COMPLETLY different to those :))hahaha.. I like the first one better.
I'm sure I tried pickup. Maybe it was onPickup i tried. stupid scripts.
Phil.
#8
it needs to be simpler cuz im like still a kid
09/23/2003 (5:57 pm)
Yeah, that's kinda like what i have as a question but simplerit needs to be simpler cuz im like still a kid
#9
09/23/2003 (6:53 pm)
Sorry. Some things are complicated. :)
Torque Owner Ace
you can add anything you want thats already in rw (more weapons/ammo/bridges) and everyone will still beable to play cuz its your map they are playng on and they have all the stuff in there directory already.
you would have to add any new missions to the map cycle (i would guess)
im running a server till midnight with more weapons/ammo/bridges/ no jump delay and faster fire rates and projectil velocity,,,and you start with the crossbow in your hands