![]() |
Custom bombs / images?
Hi i'm trying to create a custom bomb system on Esteria and I was wondering how I could customize putbomb? I tried Putbomb2 and it seems to only place a shadow. Any ideas? thanks!
Edit: Script help for 'putbomb2': TServerLevel.putbomb2(int, float, float, str) - adds a classic bomb with the specified power, x, y and image (default bomb1.png) When trying that, when I try making it our bomb image, it defaults to a shadow. |
Are you calling it on the server-side?
Please post your actual code so we can help debug it for you. |
Well for now, i'm just trying a normal bomb onCreated,
PHP Code:
PHP Code:
|
I believe putbomb2 version you're trying to use is server-side only.
Try: PHP Code:
|
Quote:
|
Quote:
Please post the final working script for others who may have the issue in the future. |
Quote:
PHP Code:
|
Or for even more customization you can make a class for each bomb and lay a class in the level and have it wait a few seconds and the bomb explodes :D
|
Quote:
|
Quote:
Ugliest bomb system known to man, and they don't even predict the bomb placement clientside. Even my custom bomb system did that on Graal 2.17. gg, iPhone scripters. |
All times are GMT +2. The time now is 09:56 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.