Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now! targetname | veh_projectile
vehicletype | rubber_raft
model | <any_xmodel>
spawnflags | 1
speed | 80
lookahead | .5
#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_vehicle;
#include maps\_anim;
#using_animtree("generic_human");
setupvehicles_preload()
{
build_acustom_vehicle( "rubber_raft" );
}
build_acustom_vehicle( type )
{
model = undefined;
death_model = undefined;
death_fx = "explosions/large_vehicle_explosion";
death_sound = "explo_metal_rand";
health = 1234;
min_health = 1233;
max_health = 1235;
team = "axis";
turretType = undefined;
turretModel = undefined;
func = ::blankpointerfunction; //vehicle.gsc needs this for nothing
if( type == "rubber_raft" )
{
model = "makin_raft_rubber"; //boat steers different than jeep
death_fx = undefined;
death_model = "makin_raft_rubber";
health = 1234;
min_health = 1233;
max_health = 1235;
team = "allies";
func = ::blankpointerfunction; //vehicle.gsc needs this for nothing
}
maps\_vehicle::build_template( type, model );
maps\_vehicle::build_life( health, min_health, max_health );
maps\_vehicle::build_treadfx();
maps\_vehicle::build_team( team );
maps\_vehicle::build_localinit( func );
}
blankpointerfunction()
{
}
maps\setupvehicles::setupvehicles_preload();
launch_boat()
{
veh = getent("veh_projectile", "targetname");
if(!isDefined(veh))
return;
start_vehnode = getvehiclenode( veh.target, "targetname" ); //first nodes in path
while(1)
{
veh attachPath( start_vehnode );
veh StartPath();
veh waittill("reached_end_node");
}
}
rawfile,vehicles/rubber_raft
![]() | ![]() |
#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_vehicle;
#include maps\_anim;
#using_animtree("generic_human");
setupvehicles_preload()
{
build_acustom_vehicle( "rubber_raft" );
}
build_acustom_vehicle( type )
{
model = undefined;
death_model = undefined;
death_fx = "explosions/large_vehicle_explosion";
death_sound = "explo_metal_rand";
health = 1234;
min_health = 1233;
max_health = 1235;
team = "axis";
turretType = undefined;
turretModel = undefined;
func = ::blankpointerfunction; //vehicle.gsc needs this for nothing
if( type == "rubber_raft" )
{
model = "makin_raft_rubber"; //boat steers different than jeep
death_fx = undefined;
death_model = "makin_raft_rubber";
health = 1234;
min_health = 1233;
max_health = 1235;
team = "allies";
func = ::blankpointerfunction; //vehicle.gsc needs this for nothing
}
maps\_vehicle::build_template( type, model );
maps\_vehicle::build_life( health, min_health, max_health );
maps\_vehicle::build_treadfx();
maps\_vehicle::build_team( team );
maps\_vehicle::build_localinit( func );
}
blankpointerfunction()
{
}
// Base script (boat loops around)
// For building on in future
main()
{
veh = getent("launch_test", "targetname");
start_vehnode = getvehiclenode( veh.target, "targetname" );
while (1)
{
veh attachPath( start_vehnode );
veh StartPath();
veh waittill("reached_end_node");
}
wait 5;
veh setmodel( "woodthrone" ); // PLACEHOLDER MODEL
}
![]() | ![]() |
Credits so far: | |
johndoe | Tools for porting maps from Source Engine |
Octoshark Studios | Original level design, models, textures, etc. |
Scobalula, ProRevenge, ricko0z | Weapon ports |
Harry Bo21 | Perks |
DidUknowiPwn | Script help |
codmoddd1234 | Script help |