Author Topic: Help with Ported weapon, does not load Datablocks  (Read 2068 times)

 Spiderobot, Darkomni and I have started at an excellent Portal recreation on blockland, but what do you think is missing?

 You guessed it, the Portal Gun.

 I have collected the files needed and made an attempt at porting it (FOR MY SERVER ONLY).
 But, as I spawned, the Portal Gun did not show up in the DropDown menu, so I checked the Console.Log and found this:

 
Code: [Select]
Loading Add-On: Weapon_PortalGun
Executing Add-Ons/Weapon_PortalGun/server.cs.
  Loading Add-On "Weapon_Gun"
Executing Add-Ons/Weapon_Gun/server.cs.
Executing Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs.
Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs (240): Unable to find parent object printGunExplosionEmitter for ParticleEmitterData.
Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs (240): Unable to find parent object printGunExplosion for ExplosionData.
Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs (240): preload failed for PGunItem: ShapeBaseData: Couldn't load shape "portalgun.dts".
Activating package: Portals
Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs (901): Unable to find parent object printgunprojectile for ProjectileData.
41 datablocks added.   

I was wondering if anyone could help me with this. I will post the .cs of the file soon.

« Last Edit: August 31, 2008, 09:21:17 PM by I'm The Hunter »

Post the god damm .cs allready

 Here is the .CS.

EDIT: Whoops, sorry for two.

Change

Code: [Select]
shapeFile = "portalgun.dts";
Into

Code: [Select]
shapeFile = "./portalgun.dts";

Change

Code: [Select]
shapeFile = "portalgun.dts";
Into

Code: [Select]
shapeFile = "./portalgun.dts";

Oh thank you. will try.

 Tried, Does not show up still. now it just says this:

Code: [Select]
Loading Add-On: Weapon_PortalGun
Executing Add-Ons/Weapon_PortalGun/server.cs.
Executing Add-Ons/Weapon_PortalGun/Weapon_Portgun.cs.
0 datablocks added.

... 0 Datablocks Added?
« Last Edit: August 27, 2008, 10:02:48 AM by imthehunter »

Do you have the colors the origbrown town model used?

Sent the whole thing.

Also, the weapons do not use projectiles, they use raycasts now.

Sent the whole thing.

 Sent what?

   
Also, the weapons do not use projectiles, they use raycasts now.

Tell me how to do this, please.


Anybody just wants the port or some stuff.

.rar file... I want to take a look...

 I'll send a .zip over so you can take a look.

Here you go. http://www.mediafire.com/?wpjrted1otm

 (Don't worry, newbs can't try to download it as it is un-ported.)
« Last Edit: August 27, 2008, 07:43:05 PM by imthehunter »

K, im gona take a look but i cant untill i get home so hold on...

The way the default tools work has been changed to use, so the printGunExplosionEmitter and printGunExplosion do not exist any more.

The way the default tools work has been changed to use, so the printGunExplosionEmitter and printGunExplosion do not exist any more.

 THATS what it is, right?

 hmm......

 But do we still at least have that thing, but renamed or something?